[Imports] [Talk-us] NHD data skipped by nhd2osm

andrzej zaborowski balrogg at gmail.com
Mon Jun 28 11:44:47 BST 2010

On 28 June 2010 04:36, Nakor <nakor.osm at gmail.com> wrote:
> On 06/23/2010 01:07 PM, James U wrote:
>> 2.  Merge all the files in josm.  Make sure you have allocated a lot of
>> memory
>> to josm as this can take a lot of memory.  It will also take a lot of
>> time.
> Would it be possible to add a parameter to specify the first id for the
> generated file?
> You can then generate the flowline file with id starting at -1, the flowline
> with id starting at -1,000,000 and so on and instead of waiting hours for
> JOSM to merge the files, you just concatenate all the files.

There's a dummy script at
http://repo.or.cz/w/ump2osm.git/blob/HEAD:/osm-merge to do that (would
need to be modified for >2 layers).  The bug mentioned there has been
fixed and I though josm now does something clever on merging, like
merging nodes.

BTW I have always strongly discouraged doing big uploads with josm as
it always dropped them on the floor on network errors in a way that
doesn't let you recover and continue from where it broke, being one of
the main causes of people needing to do reverts and spamming db
history with deleted nodes.  It may have gotten more clever recently,
not sure.


More information about the Imports mailing list