Generate Basemap z0-z14 #531
Replies: 3 comments 4 replies
-
I think what you want to do is make sure your area.mbtiles doesn't include any coastline/ocean or country border data. Then make sure your simplify settings result in sufficiently detailed coastline at z13/14 but significantly simplified at lower zooms. Here's mine:
|
Beta Was this translation helpful? Give feedback.
-
So basically, your basemap only contains the layer "ocean" (with the above config file) which, based on the Hence any area generated on top should not include this .shp, nor any border data. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if the bbox should be adjusted ? |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a similar question as #480 but in my case I'd like to generate:
In a way, that would be a similar request to what openmaptiles is proposing (I've noticed that in their process they seem to import a lot of shapefiles from Natural Earth Data).
I'd like to stick to Tilemaker since I find it way easier to customize than openmaptiles.
Part 1 : Generation
I kind of manage to generate a similar basemap with tilemaker, but i can't make it fit in a small mbtiles (openmaptiles for Basemap+Berlin fits in less than 13mb while my Basemap is already over 30mb for only zo-z7...).
I've been generating this basemap with --bbox -180,-90,180,90 (and without providing any .pbf file)
As anyone ever tried to generate such a basemap ? and if so, if you could share your config file
At the moment, I'm using the following one:
There might be something smart to do with the
simplify_level
orsimplify_ratio
?Also, according to the process run by openmaptiles, I'm pretty sure I'm missing a bunch of .shp in my process.
Part 2 : Rendering
Once generated, it will need to be "appended" to any specific area generated with the traditional process of tilemaker. The second issue I'm facing at the moment, is that since this basemap (basemap.mbtiles) will logically be less detailed than the specific area (area.mbtiles), when both are rendered and served, I can still "see" the basemap layer under the more detailed area (for instance the border at higher zoom will not match anymore between both mbtiles). Is there any way to avoid this behavior ? My workaround at the moment is to render the basemap up to z6 (the highest zoom used to generate details) but that doesn't work if I'm zooming on an area that is not covered within the area.mbtiles, since in that case the server does not have any other tiles to display (hope that makes sense) ?
I'm using maplibre-gl and tileserver-gl
Really appreciate any feedback!
Beta Was this translation helpful? Give feedback.
All reactions