logo separator

[mkgmap-dev] Combine ovm files?

From Ralf Kleineisel ralf at kleineisel.de on Tue Feb 17 22:05:54 GMT 2015

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)



More information about the mkgmap-dev mailing list