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

The CLI's generate-standard-outputs command should support a choice of output formats #242

Open
mfitz opened this issue Aug 29, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mfitz
Copy link
Contributor

mfitz commented Aug 29, 2024

I recently needed to generate GeoJSON outputs from some MATSim inputs. I expected to be able to do this via the genet generate-standard-outputs CLI command, but that command can only generate parquet output. I had to resort to writing a small Python script that bypassed the CLI and used the API directly to call Network.generate_standard_outputs(), passing the filetype="geojson" parameter.

Although genet generate-standard-outputs ultimately calls the same generate_standard_outputs() method, it does not accept a file type parameter and so can only generate outputs in parquet. The CLI command should accept an optional filetype or format parameter with the same supported values (geojson, geoparquet and shp).

@mfitz mfitz added enhancement New feature or request good first issue Good for newcomers labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant