Talk:High-resolution tiles

From OpenStreetMap Wiki
Jump to navigation Jump to search

I don't think this page hits the nail right on the head. A higher resolution is not about being "bigger", it's about being *sharper*.

This animated GIF makes it obvious.

HighResolution.gif


(the above bit was added by Johsin18 on 29 December 2017‎)

Yes, it's not a great explanation of why people create high res tiles - it just shows what happen if you increase the scale factor in Mapnik without changing the style, I think.

A few examples:

https://osm.rrze.fau.de/testhd.html

https://a.osm.rrze.fau.de/osmhd/13/4064/2662.png (that's a style that has been optimised for HD)

http://osmz.ru/vretina.html#6/57.900/34.000

See also: https://github.com/openstreetmap/mod_tile/issues/110#issuecomment-359694060

https://github.com/openstreetmap/mod_tile/pull/82

https://github.com/openstreetmap/mod_tile/issues/110

http://dev.openstreetmap.narkive.com/hPhkHIkO/osm-dev-retina-tiles-best-way-to-support-them

https://github.com/gravitystorm/openstreetmap-carto/issues/2038

https://lists.openstreetmap.org/pipermail/dev/2015-January/028254.html

Some of the comments above are out of date with regard to OSM Carto because that uses SVG graphics throughout, which should scale OK.

It'd be great if someone could update the main page, but that'd need to be someone who knows what they're talking about :) --SomeoneElse (talk) 20:00, 7 February 2018 (UTC)

@Johsin18: it all depends on what you do with the tiles. If you show both, high-res and standard-res tiles in 100% zoom (pixel by pixel), then high-res tiles are bigger. But if you show the standard-res tiles in 200% zoom, but the high-res tiles in 100 % zoom, then the size is the same, but the high-res tiles are 'sharper.
However, you are right that the usual usecase is not described pretty good. Feel free to try to improve the text. --Aseerel4c26 (talk) 20:36, 7 February 2018 (UTC)