On Wed, Sep 24, 2008 at 4:34 AM, Jakub Klawiter <[EMAIL PROTECTED]> wrote:
> Hello! > > On Fri, Aug 8, 2008 at 3:03 PM, Brett Henderson <[EMAIL PROTECTED]> wrote: > > It's possibly too late now, but the command line to merge two files > > would look something like this: > > osmosis --rx file2.osm --rx file1.osm --m --wx merged.osm > hmm and what if it is not working? > I was sure that now i know how to and didn't try because poland.osm > from geofabric was in fact what i want. Untill last holidays, > poland.osm file from geofabric is not 100% of poland, and i was going > to place which is NOT on map. So the idea was to add a piece. > > At the end i did upload several maps into GPS but now i like to know > why is it not working. > > Here is the log from osmosis: http://www.nopaste.pl/6h9 can anyone > tell me what i'm doing wrong? This error message indicates that the second file contains nodes out of order. The --merge (--m) task requires all input to be sorted first by type, then by id. SEVERE: Thread for task 2-rx failed com.bretth.osmosis.core.OsmosisRuntimeException: Pipeline entities are not sorted, previous entity type=Node, id=250465301 current entity type=Node, id=250465296.It is Instead of: osmosis --rx 52N17E-52.5N17.5E.osm --rx 52N16.5E-52.5N17E.osm --m --wx out.osm Try: osmosis --rx 52N17E-52.5N17.5E.osm --sort --rx 52N16.5E-52.5N17E.osm --sort --m --wx out.osm That will sort the contents of both files prior to attempting the merge.
_______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

