make a picture with pmtiles-show, any idea ? #110
-
Hi, after several tries, my friend ChatGPT and I are unable to generate an image from a pmtiles file. shp -> geojson -> mbtiles -> pmtiles, no problem pmtiles-show found datas, but I don't know how to use them to generate a picture from that. the ideal would be to be able to find the 8172 and 5863 values from x y coordinates, but by digging in the python files I can't find how to do it if you can help, I offer coffee (or beer), i love pmtiles, so close to the point edit : in pmtiles file, is pbf, not png |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
you need to redirect the output of pmtiles-show: after you gunzip that file you have a vector tile on disk. but creating an "image" from that needs a tile renderer, which is a separate concern. |
Beta Was this translation helpful? Give feedback.
you need to redirect the output of pmtiles-show:
pmtiles-show 17339.pmtiles 14 8172 5863 > tile.mvt.gz
after you gunzip that file you have a vector tile on disk. but creating an "image" from that needs a tile renderer, which is a separate concern.