[OSM-talk] Relations not always brilliant

Richard Fairhurst richard at systemeD.net
Mon Apr 7 00:43:30 BST 2008


Frederik Ramm wrote:

>> In the UK, road numbers are unique (apart from about three cases
>> where local councils have cocked up, e.g. the B4027) and no road can
>> have more than one ref. The relation doesn't give any info over and
>> above that in the standard 'ref' tags - it just increases complexity
>> for both editing and processing.
>
> If you simply use the "ref" tag to specify the road number, how would
> you then use the API to access all ways making up B4027?

By using OSMXAPI: http://www.informationfreeway.org/api/0.5/way 
[ref=B4027]

That the mainstream API doesn't do it is (if it's deemed useful) a  
deficiency in the API, not a reason to add duplicate data.

cheers
Richard




More information about the talk mailing list