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

Incorporate simplified polygons #73

Open
brucecrevensten opened this issue May 10, 2023 · 1 comment
Open

Incorporate simplified polygons #73

brucecrevensten opened this issue May 10, 2023 · 1 comment

Comments

@brucecrevensten
Copy link
Member

We can probably simplify the polygons to reduce data volume + parse time on page load. Incorporate these simplified polygons into the app.

@cstephen
Copy link
Contributor

Here's how we have done this in the past (thanks @charparr):

Load the shapefile or GeoJSON in Python as a GeoDataFrame, then:

geodataframe.simplify()
geodataframe.to_file(“simple.shp”)

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