[OSM-dev] API 0.7+: Split node concept?
Andreas Kalsch
andreaskalsch at gmx.de
Wed Oct 13 08:30:22 BST 2010
Please don't make end users change too much on the next update!
I think the current data model is pretty OK, it is more a data data model than a sematical one. And
I think we should keep it like that ;)
Andi
Am 12.10.10 21:45, schrieb Chris Browet:
> I am wondering (I wonder a lot lately ;-)) if some have already given a thought to the fact that
> nodes actually represent 2 different concepts in the current api:
> - a node in the geometrical sense, i.e. used to define a linestring/way
> - a POI
>
> Wouldn't keep the "node" element only for POI (i.e. with tags) a better idea? E.g something like this:
>
> <node version="0" lon="3.5348711" lat="54.1945783" timestamp="2010-10-12T12:35:18Z" user=""
> id="-9" >
> <tag k="highway" v="traffic_light"/>
> </node>
> <way version="0" timestamp="2010-10-12T12:35:02Z" user="" id="-2">
> <point lon="3.5317073" lat="54.1929773"/>
> <nd ref="-9"/>
> <point lon="3.5377391" lat="54.1960297"/>
> </way>
>
>
> Seems to me that it would:
> - be less confusing, both for consumers and editors
> - save db space
> - save memory/CPU cycle on the consumer side
>
> What do you think?
>
> - Chris -
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20101013/cef5dd3a/attachment.html>
More information about the dev
mailing list