[Openstreetmap-dev] Wiki: XML Schema vs. REST examplesHi,

SteveC steve at asklater.com
Wed Jan 11 12:11:39 GMT 2006


* @ 10/01/06 08:19:39 PM immanuel.scholz at gmx.de wrote:
> Hi,
> 
> > On the OSM wiki, some examples given for the REST api say:
> > <segment tags='name=harrypotter; ; ; ; ; ' from='194797' to='226261'
> > uid='192388'/>
> >
> > While over in the XML Schema page it says:,
> > <property uid="111" object="678" key="name" value="Baker Street" />
> >
> > Which one is correct,
> 
> They are both somewhat correct.
> 
> The example in the REST page is how it is currently implemented. Steve likes 
> it the way where the server only knows about tag-strings and nothing else.

No... it was just the simplest thing to implement that would work. We
can still move to a scheme where the keys and vals are logically
distinct.

BTW: Many thanks to whoever bought me the DVD, I wasn't expecting to be
taken seriously :-)

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the dev mailing list