[OSM-dev] How did Mapquest do the localized rendering schemes?

Toby Murray toby.murray at gmail.com
Wed Dec 28 06:48:32 GMT 2011


On Tue, Dec 27, 2011 at 12:38 PM, Stephan Knauss <osm at stephans-server.de>
> Thanks for the pointer to the styles. Any Idea how they determine which
> style to use for which geometry?
> I did not see anything that looks like a way to select the one style or the
> other based on the geographic location.
>
> Can you do the location check while rendering or would it be a preprocessing
> step during import? I did not see an additional "region" column so no idea
> how the selection was done.

I thought this was the case but after a little searching, I came up
with proof. MapQuest added this feature to Mapnik:
http://lists.openstreetmap.org/pipermail/talk-us/2010-November/004820.html

So it is apparently determined at render time. No clue how though :)

Toby



More information about the dev mailing list