Openmaptiles: Zoom level

Created on 16 Oct 2019  路  4Comments  路  Source: openmaptiles/openmaptiles

How can I generate a file with better zoom?
I am trying to generate the updated MBTiles of Colombia for a community project where we need to have an offline version of the map because the community does not have access to the internet.

I already modified the .env file
And define the variable like that: QUICKSTART_MAX_ZOOM=19
also the variable: MAX_ZOOM=19

But when I run ./quickstart.sh Colombia the resulting mbtiles file weighs only 1mb and is because it only has up to 7 zoom level.

Which other configuration do I need to improve the zoom level?
Thank you.

All 4 comments

These are vector tiles - they are usually over zoomed on client-side and are stil sharp.

The default zoom 14 in vectors means you can comfortably display a map with zoom 19 in an offline environment.

You don't want to generate zoom 19 vector tiles very probably. There is no point in increasing the maxzoom, unless you require higher geometrical precision in the features drawn on the map.

BTW the pre-generated data can be downloaded for free at https://openmaptiles.com/downloads/south-america/colombia/

Thanks for the answer.
I know you can download but the version of the free TILES is quite old and unfortunately for us the project we are working on does not have the resources to pay for the updated TILES.

@kleper If you made the changes to .env AFTER you ran the quickstart scirpt you might need to make a manual change. Look in data/docker-compose-config.yml and see if the MAX_ZOOM property there needs to be changed also to 14.

To generate the tiles yourself review this documentation:
https://github.com/openmaptiles/openmaptiles/blob/master/QUICKSTART.md#change-min_zoom-and-max_zoom

Was this page helpful?
0 / 5 - 0 ratings