[Openstreetmap-dev] REST
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Tue Jul 19 13:04:55 BST 2005
I would concur with using GPX as the interchange format, as a typical
client (well certainly Freemap and osm-editor anyway :-) ) can already
parse at least some of the GPX spec.
It would need extensions for the key/value system, so that the "type" of a
<trkseg> is known.
What I do in osm-editor and Freemap's "extended" gpx is to use the
<extensions> tag:
<trkseg>
<trkpt....>
track points...
</trkpt>
<extensions>
<type>road</type>
<name>Church Road</name>
</extensions>
</trkseg>
but this could be revised in a way appropriate to the key value system e.g.
something like the following to indicate that a segment has a name of
Church Road and is accessible to car, horse, foot, bike:
<extensions>
<permissions car="1" horse="1" foot="1" bike="1"/>
<name>Chuch Road</name>
</extensions>
Nick
More information about the dev
mailing list