[Openstreetmap-dev] new XML schema discussion moved
SteveC
steve at asklater.com
Tue Oct 4 09:33:59 BST 2005
* @ 04/10/05 08:34:02 AM immanuel.scholz at gmx.de wrote:
> > * @ 03/10/05 01:12:36 PM Nick.Whitelegg at solent.ac.uk wrote:
> >> >Before I think of implementing it, does anyone have severe objections
> >> >to this?
> >>
> >> No real objections from me. Would you still implement the basic GPX
> >> key/value extensions?
> >
> > Will have to see how exactly they're represented. I must say I lean
> > toward a simple string.
>
> Do it as string. You can change it if you run into problems later.
>
> My suggestion:
> - String is key=value;key2=value2;key3=value3 and so on.
that can be the convention, sure
> - Semicolons in keys or value are replaced by '%3B' before storing and
> replaced back when reading. (from URL-encoding)
or just put things in quotes, makes the parser slightly more difficult
but hey
> - ID's are NOT stored in the properties, since you want a fast access to
> them. However, in GPX, they have to be transferred in <extensions>
> sometimes.
> - before sending in GPX, the string is translated into key/value pairs
> within the <extension>. Example: <osm:property key="key" value="value" />
but but but we're finding GPX a bit of a kludge and there is this nice
XML Schema page on the wiki...
> - Make it bigger than 256 chars! ;-)
sure
>
>
> Ciao, Imi.
>
>
>
> _______________________________________________
> Openstreetmap-dev mailing list
> Openstreetmap-dev at vr.ucl.ac.uk
> http://bat.vr.ucl.ac.uk/cgi-bin/mailman/listinfo/openstreetmap-dev
have fun,
SteveC steve at asklater.com http://www.asklater.com/steve/
More information about the dev
mailing list