
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. On Fri, May 20, 2011 at 4:43 AM, Clinton Gladstone <clinton.gladstone@googlemail.com> wrote:
The other thing we noticed was that individual files which get too large can also fail.
Is it possible to try with smaller map tiles?
Or can I download your img files to reproduce the error?
Cheers
On May 19, 2011, at 4:29, maning sambale wrote:
Clinton,
I used your attached script and the result is the same: python gmapi-builder -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\xa7\x00\x00\x00\x00\x00\x00\xa2\x00\x00\xab\x00\x00\x00\x00\xfc\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.5771 Longitude East: 127.7930 Latitude South: 4.5264 Longitude West: 115.6201 Description: Overview Map
Processing for_mapsource/40000001.img Processing for_mapsource/40000001_mdr.img MDR file Processing for_mapsource/63240001.img Missing part: 0 of S?.ϻ in IMG-file.
On Thu, May 19, 2011 at 3:21 AM, Clinton Gladstone <clinton.gladstone@googlemail.com> wrote:
OK, That Wiki version is missing some things, such as index file support and latin-1 encoding.
Try the attached file: It's a version which I sent to this list a few months ago.
I'll try to update this version in a few days to include the TYP file fix from the Wiki too.
Here's an example command line call, which includes index files:
$ gmapi-builder.py -t 14000000.tdb -b 14000000.img -s 14.TYP -i 14000000.mdx -m 14000000_mdr.img *.img
Cheers.
On May 18, 2011, at 4:57, maning sambale wrote:
Here: http://bitbucket.org/berteun/gmapibuilder/downloads/gmapi-builder.tar.gz as stated here: http://wiki.openstreetmap.org/wiki/Gmapibuilder/New_version
On Wed, May 18, 2011 at 2:01 AM, Clinton Gladstone <clinton.gladstone@googlemail.com> wrote:
On May 17, 2011, at 14:34, maning sambale wrote:
I downloaded the latest gmapi-builder and tried the following:
Where did you download this? I made some corrections, but I'm not sure if they are in the version you downloaded.
Cheers.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------ _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------ _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------