[OSM-dev] API 0.3 - Map call

Andy Robinson Andy_J_Robinson at blueyonder.co.uk
Tue Mar 14 11:11:51 GMT 2006


Ok, I finally see what's going on, and it's probably me doing it wrong in
JOSM :(

I deleted ways 43 and 44 and created a new way properly. Now I see this in
the API call:

<way id="43" timestamp="2006-03-14 11:06:36"/>
  <way id="44" timestamp="2006-03-14 11:06:37"/>
  <way id="45" timestamp="2006-03-14 11:04:21">
    <seg id="156862"/>
    <tag k="created_by" v="JOSM"/>
    <tag k="id" v="AJR000007"/>
    <tag k="type" v="highway"/>
    <tag k="construction" v="paved"/>
    <tag k="name" v="Douglas Road"/>
    <tag k="postal_code" v="B72"/>
  </way>

Not sure why the two empty lines for 43 and 44 are there?

Andy Robinson
Andy_J_Robinson at blueyonder.co.uk 

>-----Original Message-----
>From: dev-bounces at openstreetmap.org [mailto:dev-bounces at openstreetmap.org]
>On Behalf Of Andy Robinson
>Sent: 14 March 2006 11:02
>To: dev at openstreetmap.org
>Subject: RE: [OSM-dev] API 0.3 - Map call
>
>To follow up, I think the problem might currently be with JOSM? Way id's 43
>and 44 for example. In JOSM I selected a single line segment <seg
>id="156861"/> and then clicked the "way" button. I then reselected this new
>way (to turn it white) and edited the keys and values for it. What was then
>created on upload was:
>
><way id="43" timestamp="2006-03-14 10:55:07">
>    <seg id="156861"/>
>    <tag k="created_by" v="JOSM"/>
>    <tag k="id" v="AJR000006"/>
>    <tag k="type" v="highway"/>
>    <tag k="construction" v="paved"/>
>    <tag k="name" v="Maple Road"/>
>    <tag k="postal_code" v="B72"/>
>  </way>
>  <way id="44" timestamp="2006-03-14 10:55:07">
>    <seg id="156861"/>
>    <tag k="created_by" v="JOSM"/>
>  </way>
>
>Andy Robinson
>Andy_J_Robinson at blueyonder.co.uk
>
>>-----Original Message-----
>>From: dev-bounces at openstreetmap.org [mailto:dev-bounces at openstreetmap.org]
>>On Behalf Of Andy Robinson
>>Sent: 14 March 2006 10:37
>>To: dev at openstreetmap.org
>>Subject: [OSM-dev] API 0.3 - Map call
>>
>>Is the API call for the "Map" meant to return deleted items, or is it that
>>perhaps imi's current version of JOSM (59) is not properly deleting ways?
>>If
>>I add a way to the database and then delete it, both are returned by the
>>map
>>call. For example look at way id's 38, 39 and 40.
>>
>>I'll try a reload of the same area into JOSM and see what elements turn
>up.
>>
>>Andy
>>
>>Andy Robinson
>>Andy_J_Robinson at blueyonder.co.uk
>>
>>
>>
>>_______________________________________________
>>dev mailing list
>>dev at openstreetmap.org
>>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
>
>
>_______________________________________________
>dev mailing list
>dev at openstreetmap.org
>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev






More information about the dev mailing list