[OSM-dev] Merging Changes with Bounding Boxes
Andrew Ayre
andy at britishideas.com
Fri Jul 15 23:16:13 BST 2011
On 7/15/2011 7:55 PM, marqqs at gmx.eu wrote:
>> Are there any options to getting the old location of a moved node
>> without writing my own Osmosis patch (if that's even possible)?
>
> I think this cannot be solved easily. But I like your Idea of creating a change file "extract". One could implement it like this:
>
> Exclude all <create> and <modify> datasets of nodes which are not within the specified region. Keep everything else.
>
> This should work. Nodes which are to delete will be kept in the change file, regardless of their geographical position. Node-Delete-Datasets should be a minority, and they will be very small if you get rid of their tags, metadata and lon/lat. For to delete a node you only need its id and - for validation purposes - the version number.
>
> Markus
Hi Markus,
I have discovered that planetdiff can generate a change file that
contains the old location and the new location of a moved node, which is
perfect. It can't be passed directly to osmosis but it can be used for
further processing to use changes with a bounding box I think.
Andy
More information about the dev
mailing list