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

Simpler geojson minified printing #54

Open
kylebarron opened this issue Feb 12, 2020 · 0 comments
Open

Simpler geojson minified printing #54

kylebarron opened this issue Feb 12, 2020 · 0 comments

Comments

@kylebarron
Copy link
Member

geojson.dumps(feature, separators=(',', ':'))

Instead of

minified = json.dumps(json.loads(str(gj)), separators=(',', ':'))

I.e. here and probably other places too:

minified = json.dumps(json.loads(str(gj)), separators=(',', ':'))

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

1 participant