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

Output's prettiness leads to huge filesize #36

Open
fnorf opened this issue Oct 20, 2017 · 1 comment
Open

Output's prettiness leads to huge filesize #36

fnorf opened this issue Oct 20, 2017 · 1 comment

Comments

@fnorf
Copy link
Contributor

fnorf commented Oct 20, 2017

The resulting geojson is "pretty" formatted which leads to a vastly increased filesize.
Removing all occurances of " " from a 11MB file shrank it to just 3MB.

@tobwen
Copy link

tobwen commented Sep 21, 2019

Just run jq afterwards.

cogran -o pretty.json && jq --compact-output . pretty.json > compact.json

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

No branches or pull requests

2 participants