logo separator

R: [mkgmap-dev] (almost) duplicated node issue

From Marco Certelli marco_certelli at yahoo.it on Sun May 24 16:04:17 BST 2009

Well, maybe I've found something strange.

I've attached to this mail a .zip file containing a small .osm DB (downloaded today) and a screenshot (.png)

If I try to compile the attached .osm file, I get a map with broken routing data that crashes MapSource (for example try to get a route from one side to the other of "Piazza Caprera" in the centre of the map, or try routes in the lower left corner). This problem is independent by mkgmap style and mkgmap version (if you download the Italian map from http://www.team-oid.de/cgi-bin/maps_download/showdir.cgi compiled about one month ago, you'll get the same routing problems in this area)

I've discovered an issue that maybe is the cause of the problem. If you open the attached picture you'll see a very short segment (less than 1 meter) that you can identify with the coordinates. It is at the cross between Via Zara and Corso Trieste (you must zoom a lot).

Well, if you delete this short piece of road, the routing Data Base is built correctly by mkgmap. Maybe somthing related to rounding makes this too short segment a problem during map compiling (the two ends collapses in one point...).

I don't think I'll be able to go further: I hope that what I found can help some mkgmap developers to individuate the issue and a possible solution.

I've not corrected the OSM DB, so you can still download this area by yourself.

Ciao, Marco.



      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ShortSegment.zip
Type: application/x-zip-compressed
Size: 81901 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090524/37cf16fb/attachment.bin 


More information about the mkgmap-dev mailing list