[OSM-talk] Deleted way belonging to relations

Shaun McDonald shaun at shaunmcdonald.me.uk
Thu Dec 11 15:52:15 GMT 2008


Hi Ben,

On 11 Dec 2008, at 15:27, Ben Laenen wrote:

> Hi all,
>
> can someone please fix this up:
> http://www.openstreetmap.org/browse/way/28575357
>
> it's a deleted way which is still belonging to two relations
>
> The theory on how it happened is this: We were fixing up a relation  
> with
> two people at the same time in Potlatch, and when moyogo deleted a  
> way,
> I edited the relation myself and uploaded the new version with that
> deleted way still included. So, we now end up with this.

It is a limitation of the 0.5 API.
This problem is highly less likely to happen with 0.6 API, with the  
introduction of node/way/relation versioning and transactions.


>
>
> This reminds me of my comment here:
> http://wiki.openstreetmap.org/wiki/Talk:OSM_Protocol_Version_0.6#Downloading_properties_of_relations_without_members
>
> Why isn't it possible for the API to have functions like "add way X to
> relation Y", or "remove X from relation Y"? This method where you just
> upload entire new versions of the full relation with all its members  
> is
> just asking for troubles like the one that happened here.

This would mean that we no longer have a restful api.

Shaun

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2433 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081211/7cf8cecd/attachment.bin>


More information about the talk mailing list