logo separator

[mkgmap-dev] Converting mkgmap generated maps to Mac format (was Index branch - success!)

From Clinton Gladstone clinton.gladstone at googlemail.com on Tue Feb 15 18:31:21 GMT 2011

The mdr file is missing.

Here is the line from the script which I use:

gmapi-builder.py -t /$OVERVIEW_MAPNAME.tdb -b $OVERVIEW_MAPNAME.img -s $TYP_LOCAL -i ${OVERVIEW_MAPNAME}.mdx -m ${OVERVIEW_MAPNAME}_mdr.img *.img

Note at the end, I have a "*.img" statement, which includes ALL .img files in the builder.

Your command would likely work with the following:

python gmapi-builder.py -t osmmap.tdb -b osmmap.img -s dermot3.TYP -i
osmmap.mdx -m osmmap_mdr.img osmmap.img 55555555.img osmmap_mdr.img

- See that osmmap_mdr.img is listed twice on the command line: once after the -m switch, and once in the list of all .img files.

Yes, this is somewhat redundant. ;-)

Cheers


On Feb 15, 2011, at 18:37, Dermot McNally wrote:

> 2011/2/15 Carlos Dávila <cdavilam at orangecorreo.es>:
> 
>> Using latest script from Clinton Gladstone with a similar command line
>> as yours I've seen osmmap_mdr.img is not included in the resulting files
>> tree. Maybe this is the reason for the address information complain.
> 
> Interesting - I'm not very clued into what files should be in there
> and where, but here's what's  being created:
> 
> total 40
> drwxr-xr-x  6 dermot  staff    204 15 Feb 16:36 .
> drwxr-xr-x  3 dermot  staff    102 15 Feb 16:36 ..
> -rw-r--r--  1 dermot  staff    535 15 Feb 16:36 Info.xml
> drwxr-xr-x  5 dermot  staff    170 15 Feb 16:36 OSMTiles
> -rw-r--r--  1 dermot  staff  11982 15 Feb 16:36 dermot3.TYP
> -rw-r--r--  1 dermot  staff     26 15 Feb 16:36 osmmap.mdx
> 
> ./OSMTiles:
> total 8
> drwxr-xr-x  5 dermot  staff  170 15 Feb 16:36 .
> drwxr-xr-x  6 dermot  staff  204 15 Feb 16:36 ..
> drwxr-xr-x  7 dermot  staff  238 15 Feb 16:36 55555555
> drwxr-xr-x  5 dermot  staff  170 15 Feb 16:36 osmmap
> -rw-r--r--  1 dermot  staff  560 15 Feb 16:36 osmmap.tdb
> 
> ./OSMTiles/55555555:
> total 48624
> drwxr-xr-x  7 dermot  staff       238 15 Feb 16:36 .
> drwxr-xr-x  5 dermot  staff       170 15 Feb 16:36 ..
> -rw-r--r--  1 dermot  staff    973088 15 Feb 16:36 55555555.LBL
> -rw-r--r--  1 dermot  staff   3506553 15 Feb 16:36 55555555.NET
> -rw-r--r--  1 dermot  staff   7943265 15 Feb 16:36 55555555.NOD
> -rw-r--r--  1 dermot  staff  12422575 15 Feb 16:36 55555555.RGN
> -rw-r--r--  1 dermot  staff     40062 15 Feb 16:36 55555555.TRE
> 
> ./OSMTiles/osmmap:
> total 24
> drwxr-xr-x  5 dermot  staff  170 15 Feb 16:36 .
> drwxr-xr-x  5 dermot  staff  170 15 Feb 16:36 ..
> -rw-r--r--  1 dermot  staff  275 15 Feb 16:36 63240000.LBL
> -rw-r--r--  1 dermot  staff  145 15 Feb 16:36 63240000.RGN
> -rw-r--r--  1 dermot  staff  462 15 Feb 16:36 63240000.TRE
> 
> 
> Are there any obvious omissions? If so, can I just copy stuff into place?
> 
> Thanks,
> Dermot
> 
> 
> -- 
> --------------------------------------
> Igaühel on siin oma laul
> ja ma oma ei leiagi üles
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list