[OSM-dev] Waypoint-Upload
Frederik Ramm
frederik at remote.org
Wed Jul 16 16:01:37 BST 2008
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 frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev
mailing list