-
-
Notifications
You must be signed in to change notification settings - Fork 66
fix: switch from addNaturalEarthSource to addGeoPackageSource #474
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
base: main
Are you sure you want to change the base?
fix: switch from addNaturalEarthSource to addGeoPackageSource #474
Conversation
addNaturalEarthSource() is deprecated by planetiler and its now recommended to use addGeoPackageSource(). To make this work we need to adjust of this source to the natural_earth_vector.gpkg.zip file from natural earth.
Not 100% sure if its related, but it seams like I get this error after the change for some regions:
It seems like there is data inside the geo-package which cannot be parsed correctly. Maybe also an issue related to planetiler directly? |
Thanks for opening this pull request. The geo package source had some recent pull requests in Planetiler. Maybe that is related? |
|
When running on Monaco this does not seem to include the boundaries below zoom 6. Can you check please? |
Is there a practical advantage to switching to geopackage other than avoiding the use of a deprecated function in planetiler? |
addNaturalEarthSource() is deprecated by planetiler and its now recommended to use addGeoPackageSource(). To make this work we need to adjust of this source to the natural_earth_vector.gpkg.zip file from natural earth.
Fixing #470 - @wipfli