OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

The forum software has recently been upgraded. Not all previous modifications have been re-applied yet, see here for more info and problem reporting.

#1 2012-10-25 09:41:38

Allroads
Member
Registered: 2011-03-05
Posts: 1,681

MKGmap/splitter and more files

I would like to render a Garmin map.

Base is osm data, say a country NL as *.bz2 *.pbf http://download.geofabrik.de/openstreetmap/europe/

Then I have also a map: personal.osm with own OSM codes, needed for the style MKGmap. not for use in openstreetmap, personal and no good for common use, it would only pollute OSM.

Can i merge these two files together?

And then work with splitter and MKGmap.

Offline

#2 2012-10-25 10:01:23

chris66
Member
From: Germany
Registered: 2009-05-24
Posts: 6,828

Re: MKGmap/splitter and more files

Yes, you can merge OSM files with Osmosis.
Make shure, that the IDs don't overlap.


Qualitätsmapper aus dem Münsterland.

Offline

#3 2012-10-25 10:18:21

Allroads
Member
Registered: 2011-03-05
Posts: 1,681

Re: MKGmap/splitter and more files

Thanks, then i have to read in: Osmosis.

Offline

#4 2012-10-25 12:18:31

Allroads
Member
Registered: 2011-03-05
Posts: 1,681

Re: MKGmap/splitter and more files

Osmosis and jre7, is that working?

I do not have jre6.

Offline

#5 2012-10-25 12:44:55

chris66
Member
From: Germany
Registered: 2009-05-24
Posts: 6,828

Re: MKGmap/splitter and more files

Normaly it should because jre7 is more or less downwards compatible with jre6.


Qualitätsmapper aus dem Münsterland.

Offline

#6 2012-11-07 13:44:08

Allroads
Member
Registered: 2011-03-05
Posts: 1,681

Re: MKGmap/splitter and more files

I do not get it, why..........

osmosis version 0.41
jre7

to test made it simple

I make in JOSM two files:
file: 1.osm with 1 node    tag: point=closed
file: 2.osm with 1 node    tag: point=open

then copy two files in osmosis\bin

with a shortcut i go to the osmosis.bat file    even open window cmd to the “C:\Program Files (x86)\Osmosis\bin”
osmosis run run run

then
C:\Program Files (x86)\Osmosis\bin>

osmosis --rx 1.osm --rx 2.osm --merge --wx merged.osm

enter

no merged.osm file


edit:

just get this:

SEVERE: Thread for task 1-rx failed

etc.

Last edited by Allroads (2012-11-07 15:13:36)

Offline

Board footer

Powered by FluxBB