[Openstreetmap-dev] Proposal for an own xml format

Immanuel Scholz immanuel.scholz at gmx.de
Mon Sep 26 16:28:25 BST 2005


Hi,

>>     <node id="12345" lat="42.0" lon="23.0" />
>>     <node id="15" lat="17.01234" lon="33.6" />
>
> I suggest to include 4d from the beginning: little effort, but
> great advantage.
>
> Any suggestion on uploading my data to OSM will be apreciated.

I suggest using properties for the height and time. This is because I
won't force anyone to provide height (or time) and when we make the
attributes/tags for that optional, it is just another way of expressing it
(you could express ALL properties as attributes, as Frank suggested).

In property way, it would probably look something like

if you use my suggestion:

<node id="12345" lat="42.0" lon="23.0" />
<property id="666" object="12345" key="height" value="123" />
<property id="667" object="12345" key="time" value="25" />


or extensions on GPX:

<wpt lat="42.0" lon="23.0">
  <extensions>
    <osm:property key="height" value="123" />
    <osm:property key="time" value="25" />
  </extensions>
</wpt>


or the "all in one namespace" thingie:

<wpt lat="42.0" lon="23.0">
  <extensions>
    <osm:height>123<osm:height />
    <osm:time>25<osm:time />
  </extensions>
</wpt>


Remember, that currently nothing of this is implemented (Is this right,
Steve?)

Ciao, Imi.






More information about the dev mailing list