protomaps / basemaps

Basemap PMTiles generation and cartographic styles for OpenStreetMap data and more
https://maps.protomaps.com/
Other
378 stars 49 forks source link

add osmEarthWaterBounds argument #73

Closed bdon closed 1 year ago

bdon commented 1 year ago

This adds an argument called osm-earth-water-bounds, which is a bbox limiting the pre-processed OSM earth/water tile generation to a specified area.

The existing --bounds argument limits the output tiles to only those within bounds. So by using --bounds in combination with --osmEarthWaterBounds:

--area=taiwan --osm-earth-water-bounds=118.1036,20.72799,122.9312,26.60305 --bounds=-180,-85,180,85

We generate a planet-scale tileset for all the low zooms (should be 100% Natural Earth), and generate a high-zoom tileset using raw OSM and preprocessed OSM for the passed in bounds, without generating all the millions of tiles for OSM earth/water outside of the bounds. @nvkelso

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

25.7% 25.7% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

github-actions[bot] commented 1 year ago

Comparison: https://protomaps.github.io/basemaps/ci/?left=0855257ec5ba9597a00d839527e089d364857327&right=73