
Hi, is there a way to combine several overview map work files (ovm_*.img) into a new overview map? I have a set of about 200 compiled map tiles and the corresponding ovm files. I can combine subsets of these map tiles into new gmapsupp files, but how do I make the new overview maps? Best regards Ralf

Hi Ralf, this should work: copy all *.img and ovm*.img into one directory and use java -jar mkgmap.jar *.img maybe with additional options for codepage etc. Gerd Ralf Kleineisel wrote
Hi,
is there a way to combine several overview map work files (ovm_*.img) into a new overview map?
I have a set of about 200 compiled map tiles and the corresponding ovm files.
I can combine subsets of these map tiles into new gmapsupp files, but how do I make the new overview maps?
Best regards
Ralf _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Combine-ovm-files-tp5833977p5833985.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi, On 02/17/2015 10:48 PM, GerdP wrote:
this should work: copy all *.img and ovm*.img into one directory and use java -jar mkgmap.jar *.img maybe with additional options for codepage etc.
that's what I thought, too, but it doesn't: Starting with 3 tiles + 3 overview tiles: $ ls -l total 52152 -rw-r--r-- 1 ralf users 13522944 Feb 17 22:55 10000001.img -rw-r--r-- 1 ralf users 16841216 Feb 17 22:55 10000002.img -rw-r--r-- 1 ralf users 19913728 Feb 17 22:55 10000003.img -rw-r--r-- 1 ralf users 768512 Feb 17 22:55 ovm_10000001.img -rw-r--r-- 1 ralf users 1009152 Feb 17 22:55 ovm_10000002.img -rw-r--r-- 1 ralf users 1336320 Feb 17 22:55 ovm_10000003.img $ java -enableassertions -Xmx8192m -jar mkgmap.jar --overview-mapname=ov --overview-mapnumber=99999999 *img produces this: -rw-r--r-- 1 ralf users 24064 Feb 17 22:56 ov.img which is obviously much smaller than the three ovm files. If I make a gmapsupp it's the same problem: $ java -enableassertions -Xmx8192m -jar mkgmap.jar --overview-mapname=ov --overview-mapnumber=99999999 --gmapsupp *img $ gmt -i gmapsupp.img gmt v0.8.186.801b CC BY-SA (C) 2011-2014 AP www.gmaptool.eu File: gmapsupp.img, length 50199552 Header: 17.02.2015 23:00:09, DSKIMG, XOR 00, V 0.00, Ms 0 Mapset: OSM street map Map length s-f CP prio PID FID name MAKEGMAP MPS 258 1 10000001 MPC 13462832 5 1252 25 1 6324 Description 10000002 MPC 16766155 5 1252 25 1 6324 Description 10000003 MPC 19826659 5 1252 25 1 6324 Description 99999999 MPC 20371 3 1252 25 1 6324 Overview Map 00006324 SRT 932 1 Data MPS F: PID 1, FID 6324, family name V: OSM map set (0)

Hi Ralf, it is okay when the size of the overview map is much smaller than the sum of the ovm* sizes. This is expected. I think the reason is that the ovm* files contain many labels which don't appear in the final overview map. Gerd Ralf Kleineisel wrote
Hi,
On 02/17/2015 10:48 PM, GerdP wrote:
this should work: copy all *.img and ovm*.img into one directory and use java -jar mkgmap.jar *.img maybe with additional options for codepage etc.
that's what I thought, too, but it doesn't:
Starting with 3 tiles + 3 overview tiles:
$ ls -l total 52152 -rw-r--r-- 1 ralf users 13522944 Feb 17 22:55 10000001.img -rw-r--r-- 1 ralf users 16841216 Feb 17 22:55 10000002.img -rw-r--r-- 1 ralf users 19913728 Feb 17 22:55 10000003.img -rw-r--r-- 1 ralf users 768512 Feb 17 22:55 ovm_10000001.img -rw-r--r-- 1 ralf users 1009152 Feb 17 22:55 ovm_10000002.img -rw-r--r-- 1 ralf users 1336320 Feb 17 22:55 ovm_10000003.img
$ java -enableassertions -Xmx8192m -jar mkgmap.jar --overview-mapname=ov --overview-mapnumber=99999999 *img
produces this:
-rw-r--r-- 1 ralf users 24064 Feb 17 22:56 ov.img
which is obviously much smaller than the three ovm files.
If I make a gmapsupp it's the same problem:
$ java -enableassertions -Xmx8192m -jar mkgmap.jar --overview-mapname=ov --overview-mapnumber=99999999 --gmapsupp *img
$ gmt -i gmapsupp.img gmt v0.8.186.801b CC BY-SA (C) 2011-2014 AP www.gmaptool.eu
File: gmapsupp.img, length 50199552 Header: 17.02.2015 23:00:09, DSKIMG, XOR 00, V 0.00, Ms 0 Mapset: OSM street map
Map length s-f CP prio PID FID name MAKEGMAP MPS 258 1 10000001 MPC 13462832 5 1252 25 1 6324 Description 10000002 MPC 16766155 5 1252 25 1 6324 Description 10000003 MPC 19826659 5 1252 25 1 6324 Description 99999999 MPC 20371 3 1252 25 1 6324 Overview Map 00006324 SRT 932 1
Data MPS F: PID 1, FID 6324, family name V: OSM map set (0)
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Combine-ovm-files-tp5833977p5834027.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (2)
-
GerdP
-
Ralf Kleineisel