This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Meta tile data for mod_tile

0

Do the meta files that are stored on disk, contain the XML style sheet applied too? Or is it just the OSM data from the postgis database? I am looking at adding an additional path for retina support to my tile servers and was hoping that the same cache could be used. If so what commands do I need to add to rendered.conf to make sure they share the default style?

Thanks

asked 05 Feb '17, 23:34

bhawkins's gravatar image

bhawkins
26112
accept rate: 0%


One Answer:

3

You cannot use the same cache. The meta tiles contain ready-made PNG images (64 of them per meta tile) and if you want double-resolution images you need a second cache directory. You can use the same database and the same style file for both normal and retina tiles, but not the same cache directory.

answered 05 Feb '17, 23:54

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Thanks, I was confused by reading the docs if it was PNG data or raw OSM data.

(06 Feb '17, 00:20) bhawkins

Source code available on GitHub .