[Talk-us] Network tag Re: Highway Shield Rendering
phil_g at pobox.com
Thu Apr 5 13:38:59 BST 2012
* Paul Johnson <baloo at ursamundi.org> [2012-04-04 14:01 -0700]:
> OK, I'll bite. How is putting banners in the network tag
> preferential? why not something like...
Each of the potential tagging schemes had drawbacks. One of the chief
drawbacks of this one is that a naive data consumer that looks at the
network and ref tags but not the modifier tag will get drastically
incorrect results. (If it looks only at the network tag, then that's
useful information on its own. If it looks only at the ref tag, it's not
that useful, but it's also not likely to come to incorrect conclusions
about the data.)
For the record, the drawbacks of the other approaches are:
* network=US:US, ref=50 Business
Mingles base reference numbers and route modifiers together in a way
that's difficult or at least annoying for data consumers to process.
Addressing this problem was one reason for separating the network and
ref tags on route relations in the first place.
* network=US:US:Business, ref=50
Separates mainline routes from their alternates and variants, even
though all of them are, outside of OSM, in the same road network.
Complicates things for data consumers who care about the main network
but not whether a route is a mainline or variant (not that there are
any such consumers that I know of, but it would be a problem for
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2 print: D200 5BDB FC4B B24A 9248 9F7A 4322 2D22 026A 27F2
<Signal_11> I'm trying to grow sentient molds to karma whore on slashdot.
-- seen on #kuro5hin
---- --- --
More information about the Talk-us