-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy Robinson (blackadder) wrote: | Frederik Ramm wrote: |> Sent: 07 April 2008 1:52 AM |> To: Richard Fairhurst |> Cc: Talk Openstreetmap |> Subject: Re: [OSM-talk] Relations not always brilliant |> |> Hi, |> |>>> 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] |> Which will omit anything tagged "ref=B4027;B4028" or some such. Ok you |> said there shouldn't be any of those in the UK anyway so I guess |> you're fine... |> |>> 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. |> I think it is a good idea to group objects that belong together in a |> relation. Ultimately I'd expect the relation to carry the "ref=B4027" |> tag and to drop that tag from the ways contained therein. Makes a lot |> of sense from a data modelling viewpoint I think. | | I think it’s a leap of faith to think that we will even get to the position | were the relationship alone holds the grouped data, such as ref. I see that | there will always likely be duplication in this regard with the same | information being held on the component parts as well as the relationship. I | don’t see this as a bad thing, the components may have equal applicability | and use as the overall object, especially in different applications.
IMHO Data duplication is a really bad idea. It will get out of sync, and some renderings will show one version, others will show others. Use of relations allows us to reduce duplication. Robert (Jamie) Munro -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH+q7fz+aYVHdncI0RAqUDAJ9FN90vbUPb6z94JN4EfrAgYI/mNgCcCP+F aZVjVTsX3mqEgdm0OeORZhA= =hQce -----END PGP SIGNATURE----- _______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk