[mkgmap-dev] problems with gmapi-builder
From Clinton Gladstone clinton.gladstone at googlemail.com on Thu Jun 2 17:04:13 BST 2011
Hi maning, I'm pretty sure that there is an error in your command line. I was able to compile the map properly with the following: python gmapi-builder.py -v -t for_mapsource/40000001.tdb -b for_mapsource/40000001.img -s for_mapsource/MINIMAL.TYP -i for_mapsource/40000001.mdx -m for_mapsource/40000001_mdr.img for_mapsource/*.img -> Note that I changed the last line of your command from "for_mapsource/40000001.img for_mapsource/*.img" to just "for_mapsource/*.img". The extra "for_mapsource/40000001.img" was causing the program to attempt to add that file twice, which caused the failure. Cheers. P.S.: Your map looks really nice, by the way. :-) On May 31, 2011, at 5:44, maning sambale wrote: > Dear Clinton, > > I tried splitting the map and I get this error: > python gmapi-builder.py -v -t for_mapsource/40000001.tdb -b > for_mapsource/40000001.img -s for_mapsource/MINIMAL.TYP -i > for_mapsource/40000001.mdx -m for_mapsource/40000001_mdr.img > for_mapsource/40000001.img for_mapsource/*.img > Unknown Block: 54, length: 20, > '\x00\x00\xe4\x00\x00\x00\x00\x00\x00V\x00\x00\xa9\x00\x00\x00\x00\xd5\x00\x00' > TDB Version: 4.07 > Product ID: 1 > Family ID: 639 > Map Series: OSM_PHIL > Map Family: OSM_PHIL > Product Version: 1.00 > > Copyright: OSM Street map > Copyright: http://www.openstreetmap.org/ > Copyright: Map data licenced under Creative Commons > Attribution ShareAlike 2.0 > Copyright: http://creativecommons.org/licenses/by-sa/2.0/ > Copyright: Map created with mkgmap-r1867 > Copyright: Program released under the GPL > > Trademark: Test preview map > > Overview map: > Map Number: 63240000 > Parent Map: 0 > Latitude North: 21.4893 > Longitude East: 127.3535 > Latitude South: 4.5264 > Longitude West: 116.3672 > Description: Overview Map > > Processing for_mapsource/40000001.img > Processing for_mapsource/40000001.img > Traceback (most recent call last): > File "gmapi-builder.py", line 576, in <module> > imgfile.dump(imgoutput) > File "gmapi-builder.py", line 409, in dump > os.mkdir(output_dir) > OSError: [Errno 17] File exists: > './OSM_PHIL.gmapi/OSM_PHIL.gmap/OSMTiles/40000001' > > > The imgs are available for testing here: > http://dl.dropbox.com/u/607635/osm-ph_gps_maps/dev/for_gmapi_test.zip > > The largest img is ~20MB. >
- Previous message: [mkgmap-dev] problems with gmapi-builder
- Next message: [mkgmap-dev] problems with gmapi-builder
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list