[OSM-dev] deleting nodes/ways that are members of relations
tom at compton.nu
Mon May 12 12:33:46 BST 2008
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?
Tom Hughes (tom at compton.nu)
More information about the dev