[Talk-us] Mapquest does (or did) use relations
phil_g at pobox.com
Mon Oct 25 03:17:32 BST 2010
* Nathan Edgars II <neroute2 at gmail.com> [2010-10-24 21:12 -0400]:
> The results are a bit different now, so they may have changed their
> rendering rules. Or maybe it was we who broke it when the refs on
> relations were recently mass-changed to remove prefixes (Mapquest
> apparently only rendered them if they had prefixes).
I assume you're referring to my changeset #6030384. I don't think that
broke anything with Mapnik's shield rendering. I updated every route
relation in Maryland, and Mapquest is still putting shields on them. The
main ones I can see without shields are shared routes: a section of I-695
that's also I-83, and the stretch where I-70 is also US 40.
Plus, I just double-checked their rendering rules (from
http://github.com/MapQuest/MapQuest-Mapnik-Style ) and the way they're
pulling data for shield rendering will only get ways, not relations.
(They're only getting records that have highway= tags of motorway, trunk,
primary, or secondary, which, of course, route relations don't have at
all.) So yes, they choose shields based on the route prefixes, but that's
only on the ways themselves. They (still) don't use route relations.
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2 print: D200 5BDB FC4B B24A 9248 9F7A 4322 2D22 026A 27F2
Time is nature's way of making sure that everything doesn't happen at
once. Space is nature's way of making sure that everything doesn't happen
---- --- --
More information about the Talk-us