enabling and applying reading geom from shp#623
Open
remicousin wants to merge 1 commit into
Open
Conversation
xchourio
approved these changes
Jun 30, 2026
xchourio
left a comment
Contributor
There was a problem hiding this comment.
I'm going to approve it............ It reminded me of a similar issue I had with the counties. In that case, using a lighter shapefile solved the problem.
Later I'll try to explore a possible solution using shapefiles from Natural Earth (https://www.naturalearthdata.com/). However, I'd need to check how switching datasets would affect the shapefile's internal definitions (IDs, attributes, etc.).
For example, the Natural Earth states/provinces shapefile is about 14 MB:
https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-1-states-provinces/
whereas the FAO version is around 200 MB.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This works ok as long as the level 1 admin is not involved. If it is, the app just works on it forever. I am creating a PR nonetheless because I am not sure I will have time to get back to it. Simplify didn't help and actually made things worse. So possibly the solution is to find another source that is smaller.