[mkgmap-dev] --index crashes on an otherwise successfully rendered image
From Clinton Gladstone clinton.gladstone at googlemail.com on Sat Nov 28 19:59:48 GMT 2009
On Nov 28, 2009, at 18:15, Lambertus wrote: > If you catch the error can you print an warning/error? I don't > understand why the map would potentially be broken? Is it possibile to > leave the POI out entirely and would that prevent a broken map? Try the attached patch. It catches the index out of bounds error, and prints an error message: the (incorrect) index which was encoded in the POI, the last index of the array, and the POI label, if it has one. The city information will then not be written. This will at least prevent the crash. Cheers. -------------- next part -------------- A non-text attachment was scrubbed... Name: cg-skip-bad-city-index.patch Type: application/octet-stream Size: 696 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091128/471792f1/attachment.obj
- Previous message: [mkgmap-dev] --index crashes on an otherwise successfully rendered image
- Next message: [mkgmap-dev] --index crashes on an otherwise successfully rendered image
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list