[OSM-dev] "Retina" tiles - best way to support them?
Sven Geggus
lists at fuchsschwanzdomain.de
Wed Jun 27 09:18:40 BST 2012
Frederik Ramm <frederik at remote.org> wrote:
> Your thoughts on these options - are there more than these three,
> perhaps? - would be most welcome.
Hm, I consider this to be a renderer rather than a stylefile issue.
On Mapserver (which is unpopular in the OSM world for some reason)
there is are two options for this: RESOLUTION and DEFRESOLUTION.
Imagine you have a Style designed for desktop screens like most styles and
you want to go for a 200 DPI Output resolution you can simply put the
following into a mapfile:
RESOLUTION 200
DEFRESOLUTION 96 (defaults to 72)
http://mapserver.org/mapfile/symbology/construction.html#symbol-units
I think something like this should also be implemented in Mapnik, at least
in the long run.
Regards
Sven
--
"A strategy for rewarding artists that regulates 'copies' makes as much sense
in the digital age as a strategy for controlling greenhouse gases that
regulates breathing." (Lawrence Lessig)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web
More information about the dev
mailing list