[Openstreetmap] Server problem?
Tommy Persson
tpe at ida.liu.se
Mon Nov 28 01:40:56 GMT 2005
> > emil51:~/mycvs/osm/osmpedit> perl test --createnode
> > DATA: <osm version='0.2'>
> > <segment tags='name=TommyPersson' from='58.408306' to='15.558601'/>
> > </osm>
>
> you're trying to create a segment with node data here, or something
> strange.
Yes, a stupid copy-and-paste-error but the "Not found" confused me.
>
> > URL:http://www.openstreetmap.org/api/0.2/newsegment
> > HEADER: HTTP/1.1 100 Continue
> >
> > HTTP/1.1 404 Not Found
>
> Saying 404 is correct as the documentation states:
>
> http://www.openstreetmap.org/wiki/index.php/REST#Line_Segments
>
> '404 NOT_FOUND means the node wasn't there in the first place.'
>
But I was trying to create the segment (newsegment) and the
documentation does not say that "404 NOT_FOUND" is allowed for this.
>
> What are you trying to do with OSM's API anyway?
>
I am writing my own editor using Perl/Tk. It is now functional for
editing the network and I will add support editing tags also. In a
week or so I will probably have testet it with my own data and can
release it for others to try it.
I was also thinking about doing some command line tools for useful
things.
/Tommy
More information about the talk
mailing list