Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add *.shp to strandard files #14

Closed
AlexDo1 opened this issue Jun 5, 2023 · 1 comment
Closed

Add *.shp to strandard files #14

AlexDo1 opened this issue Jun 5, 2023 · 1 comment

Comments

@AlexDo1
Copy link
Contributor

AlexDo1 commented Jun 5, 2023

We could add shapefiles (*.shp) to the standard file types. Shapefiles could then always be transformed to *.geojson or *.geopackage files.
I think it would be a good idea to directly parse shapefiles / geospatial data with the json2args packages. I had to convert a .shp file to .geojson for another tool before and it would be nice to be sure that we always expect out geospatial input data in the same format.

First discussed here:

Shapefile.shp is not a good name, as the parameter is then also called Shapefile. Rather use a parameter name that is more descriptive, like: gauges, which would result in gauges.shp.

In addition: @AlexDo1 maybe we add *.shp to the standard file types, but always transform it to *.geojson. or *.geopackage That makes handling geospatial data easier. We can open a discussion for that in the tool-specs

Originally posted by @mmaelicke in VForWaTer/tool_whiteboxgis#10 (comment)

@mmaelicke
Copy link
Member

This is obsolete, as the data.extension can limit the data input to literally any kind of data file extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants