Closed hanc2006 closed 1 year ago
Hi, looks like it is working correctly, those other sources result in a different organization of layers in the tiles. Please see http://protomaps.com/docs/frontends/basemap-layers for info. You need to change your frontend to a map style compatible with the OpenMapTiles specification to use those sources.
I tried to convert different sources into pmtiles without success. The conversion works fine without any errors but the generated pmtiles are not working.
Step to reproduce
Attempt 1 Download mbtiles from openmaptiles.org Convert into pmtiles
pmtiles convert switzerland.mbtiles switzerland.pmtiles
Attempt 2 Download pbf from download.geofabrik.de Convert into mbtiles
tilemaker --input switzerland-latest.osm.pbf --output switzerland.mbtiles --config ./resources/config-openmaptiles.json --process ./resources/process-openmaptiles.lua
And convert into pmtiles
pmtiles convert switzerland.mbtiles switzerland.pmtiles
The methods just described do not raise any problems in the conversion process, but the pmtiles files don't seem to work. The converted files are available on google cloud:
Online mbtiles
Converted from openmaptiles.org mbtiles -> pmtiles https://storage.googleapis.com/bucket-swiss-map/pmtiles/switzerland.pmtiles
Converted from geofrabrik pbf -> mbtiles -> pmtiles https://storage.googleapis.com/bucket-swiss-map/pmtiles/switzerland-new.pmtiles
Some code attemp using pmtiles and protomaps
Using the online tool https://protomaps.github.io/PMTiles/ I cannot display any map. I also tried with a leaflet client but without success. Note: If I download small area from https://app.protomaps.com/downloads it works!!!
Any suggestions?