osm-by / OpenStreetMap.by

bugtracker for http://openstreetmap.by
http://openstreetmap.by
11 stars 6 forks source link

Add overview tiles for planet #24

Closed tbicr closed 1 year ago

tbicr commented 3 years ago

Description

Now only Belarus dump used to generate openmaptile mbtiles that don't show tiles for all world:

image

NOTE: openmaptile works next way: get osm dump (+ natural planet or other data) -> import it to PostGIS -> generate mbtiles by quering PostGIS

To improve it whole planet dump can be used but it can have next issues:

Approaches to solve this issues

  1. try to avoid mbtile generation solve mbtiles issues but require 500+ GB postgis lunch and can have performance issues to generate tiles on fly (let assume we want to choose this option in case if don't have luck with mbtiles)
  2. try to decrease mbtile zoom levels
  3. try to remove mbtile features (by type or most heavy to generate)
  4. try to filter unused features from OSM dump/PostGIS

Steps

tbicr commented 1 year ago

added owerview tiles with no building and poi, for border tiles used planet tiles

abitrolly commented 1 year ago

I guess this is how it is done https://github.com/osm-by/OpenStreetMap.by/commit/a16601196eaaab8f6f42c6c425b6c12bd512d6f1