Hi,

> As I understand the protocol one sends a new Waypoint to OSM and  
> receives
> the new ID in return.

We call them "nodes", but yes.

> So you can additionally make up a "way" with the new
> ids and upload the way as well.

Correct.

> But doing a send for each single WP takes awfully long (in my
> implementation)  - and JOSM is quite a bit faster.
>
> So my question is: What am I doing wrong?

JOSM does it just like that. Your problem might be authentication -  
do a tcpdump and check whether your HTTP library perhaps sends, for  
every single node, a request without auth first, then receives a  
"forbidden" answer and then re-tries with auth. Some libraries do  
this and it obviously increases processing time quite a bit.

> Is there a way of sending multiple WPs and receiving mutliple node- 
> ids?
> Is there a way of deleting multiple WPs in one command (listing the  
> ids in
> question)? I am getting an error if I send more than one WP at a time.

Doesn't work yet, but is planned for 0.6

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09" E008°23'33"




_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to