protomaps / PMTiles

Cloud-optimized + compressed single-file tile archives for vector and raster maps
https://protomaps.com/docs/pmtiles/
BSD 3-Clause "New" or "Revised" License
2.02k stars 118 forks source link

Roads Missing #40

Closed j closed 2 years ago

j commented 2 years ago

I attempted to build my own tiles using OSM.

My workflow is:

osmium tags-filter socal-full.osm.pbf w/highway w/natural=water w/waterway=river w/water -o socal.osm.pbf
tilemaker --input socal.osm.pbf --output socal.mbtiles
pmtiles-convert socal.mbtiles socal.pmtile

TileMaker also layered in the coastline for me

When I view my map in MBTile format, I see all of the roads:

image

But viewing it in PMTiles after converting, I only see the ocean and lakes, no roads. I used default styling and tried to override them to see if I can force a render somehow.

bdon commented 2 years ago

how are you viewing? the tilemaker default layers are different from the demo viewer for pmtiles. please include the code for your viewer.

j commented 2 years ago

Yes, it was the different tag names.