You are not logged in.

#1 2009-02-09 18:35:34

gamefoundation
Member
Registered: 2009-02-09
Posts: 1

osmosis merge

can someone please tell me or show me the proper syntax for using merge within osmosis?

i have all the docs i need merged in a dir called "sorted", which contains "map-1-sorted.osm.xml" thru "map-9-sorted.osm.xml"...

i need all the maps 1 thru 9 merged together to form one huge megatron-map...

please don't refer me to the 3 lines describing the function in the osmosis help, i have seen it. its not helpful.

Offline

#2 2009-02-09 22:10:39

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: osmosis merge

gamefoundation wrote:

can someone please tell me or show me the proper syntax for using merge within osmosis?

i have all the docs i need merged in a dir called "sorted", which contains "map-1-sorted.osm.xml" thru "map-9-sorted.osm.xml"...

i need all the maps 1 thru 9 merged together to form one huge megatron-map...

java -Xmx512M -jar osmosis.jar --rx file=map-1.xml outPipe.0=map1 --rx file=map-2.xml outPipe.0=map2 .... --rx file=map-9.xml outPipe.0=map9 --m inPipe.0=map1 inPipe.1=map2 outPipe.0=merge1 --m inPipe.0=merge1 inPipe.1=map3 outPipe.0=merge2 --m inPipe.0=merge2 inPipe.1=map4 outPipe.0=merge3 ... --m inPipe.0=merge7 inPipe.1=map9 outPipe.0=merge8 --wx inPipe.0=merge8 file=megatron-map.xml

Not complete and not tested, but should work imho. Can also be simplified when proven to be working.

please don't refer me to the 3 lines describing the function in the osmosis help, i have seen it. its not helpful.

A bit less negative here would be nice. Constructive criticism will help you much better in life.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#3 2009-02-10 13:17:36

emj
Member
From: .se (59.3N17.99E) 0735969076
Registered: 2006-06-18
Posts: 949

Re: osmosis merge

Lambertus wrote:

please don't refer me to the 3 lines describing the function in the osmosis help, i have seen it. its not helpful.

A bit less negative here would be nice. Constructive criticism will help you much better in life.

Quoting them here would be constructive... :-)

Offline

Board footer

Powered by FluxBB