diff --git a/polar_route/__init__.py b/polar_route/__init__.py index a23be521..1a24bd01 100644 --- a/polar_route/__init__.py +++ b/polar_route/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.2.20" +__version__ = "0.2.21" __description__ = "PolarRoute: Long-distance maritime polar route planning taking into account complex changing environmental conditions" __license__ = "MIT" __author__ = "Jonathan Smith, Samuel Hall, George Coombs, Harrison Abbot, Ayat Fekry, James Byrne, Michael Thorne, Maria Fox" diff --git a/polar_route/route_planner.py b/polar_route/route_planner.py index 2583412e..ef844ef6 100644 --- a/polar_route/route_planner.py +++ b/polar_route/route_planner.py @@ -670,7 +670,8 @@ def compute_smoothed_routes(self,blocked_metric='SIC',debugging=False): SmoothedPath['properties']['distance'] = list(DistanceLegs) SmoothedPath['properties']['speed'] = list(SpeedLegs) SmoothedPaths += [SmoothedPath] - + + geojson['type'] = "FeatureCollection" geojson['features'] = SmoothedPaths self.smoothed_paths = geojson self.mesh['paths'] = self.smoothed_paths \ No newline at end of file