[OSM-dev] deleting nodes/ways that are members of relations

Christopher Schmidt crschmidt at metacarta.com
Mon May 12 12:39:02 BST 2008


On Mon, May 12, 2008 at 12:33:46PM +0100, Tom Hughes wrote:
> In message <20080512111501.GD29009 at metacarta.com>
>         Christopher Schmidt <crschmidt at metacarta.com> wrote:
> 
> > On Mon, May 12, 2008 at 08:29:23AM +0100, Tom Hughes wrote:
> >> In message <20080512015522.GA21411 at metacarta.com>
> >>         Christopher Schmidt <crschmidt at metacarta.com> wrote:
> >> 
> >> > It looks like the main API and Potlatch have different ideas of what
> >> > should be done when a node is deleted which is a member of a way or
> >> > relation. Potlatch deletes the node from any way or relation that it is
> >> > a member of: the main API just rejects the edit.
> >> 
> >> It's more complicated than that. The main API expects the client
> >> to do all the work and send individual instructions for each object
> >> while the Potlatch API is sent a complete definition of a way with
> >> all the node locations and is expected to work out which nodes need
> >> to be moved, created and deleted and to do all the work.
> >
> > This is a question about deleting nodes, not ways. I understand that
> > ways are more complex.
> 
> I wasn't aware that Potlatch was able to delete a node that was part
> of a way other than by doing putway and changing the whole way... Are
> you saying that I'm wrong?

Nope. I just made a mistake. I'm thinking about relations-only here, not
ways; SPending a couple hours looking at amf_controller has a tendancy
to turn my brain into mush, apparently :)

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list