Skip to content

Commit

Permalink
Merge pull request #182 from Deltares/fix/181-save-shp
Browse files Browse the repository at this point in the history
fix: save_shp is updated to the output export shapefile
  • Loading branch information
Carsopre authored Sep 14, 2023
2 parents 37f2bb7 + 21dc25d commit 1fd451a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ra2ce/analyses/indirect/analyses_indirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ def _save_shp_analysis(
# Not for all analyses a gdf is created as output.
if analysis["save_shp"]:
gpkg_path = output_path.joinpath(
analysis["name"].replace(" ", "_") + ".gpkg"
analysis["name"].replace(" ", "_") + ".shp"
)
save_gdf(gdf, gpkg_path)
if opt_routes:
Expand Down

0 comments on commit 1fd451a

Please sign in to comment.