mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
When there are no user-provided bounds provided in the writer (as in: min/max_lat/lng_e7 properties) the writer mistakenly defaults to -180,-90,180,90 for these properties.e1228f5df1/python/pmtiles/tile.py (L277-L283)But these properties need to be multiplied by 10000000 as seen e.g. in this examples and as indicated by the "_e7"e1228f5df1/python/examples/create_raster_example.py (L29-L32)Without this fix we were seeing pmtiles with bounds around null island, because the order of magnitude was wrong.