fix: switch from addNaturalEarthSource to addGeoPackageSource#474
fix: switch from addNaturalEarthSource to addGeoPackageSource#474mxzinke wants to merge 3 commits intoprotomaps:mainfrom
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? |
As far as I know, no. Maybe there is some performance advantage because of a different data structure. |



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