You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2014-02-05 08:18:41

gecho111
Member
Registered: 2014-01-30
Posts: 13

JOSM: Merging Duplicate Natural Nodes

I've been working with vector files (canvec) lately and have been getting a lot of duplicate node warnings.

In the original vector file if a lake is surrounded by a wooded area, they share their boundary nodes.  But when copying shapes to a new data layer each shape has its own copy of those nodes in the exact same position.  In an area with spotty terrain this can add up to a few thousand duplicate nodes per NTS grid.  Is there a tool in JOSM to quickly merge these nodes back together?  I'd rather not add hundreds of thousands of unnecessary extra nodes to the database (it also makes my uploads take longer).

Offline

#2 2014-02-06 20:52:50

gecho111
Member
Registered: 2014-01-30
Posts: 13

Re: JOSM: Merging Duplicate Natural Nodes

One thing I experimented with to good success is uploading straight from the vector file after using filters to carefully select and remove any object that are already on the server (highways, waterways, water, places, amenities,...).  Perhaps 25-50% less nodes to upload depending on overlap between different types of objects, particularly when winding rivers are involved.

Offline

#3 2014-02-10 17:51:59

stephan75
Member
Registered: 2008-05-28
Posts: 2,918

Re: JOSM: Merging Duplicate Natural Nodes

Besides the information in the OSM wiki about the CanVec data:

Have you already had a look at the archive of import mailing list? See http://wiki.openstreetmap.org/wiki/Mailing_Lists

Maybe there are some hints about a better dealing with that data ... or ask there directly, maybe someone has already an idea abouit your questions.

Stephan

Offline

Board footer

Powered by FluxBB