logo separator

[mkgmap-dev] Mapsource crashes while calculating a route

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Jan 19 08:20:07 GMT 2014

Hi Andrzej,

with r2977 this problem seems to be fixed

@Steve: The display tool netCheck sometimes complains about 
wrong node-flag settings even when it displays true.
It also seems to explect a different logic compared to that used in mkgmap.
To me it seems plausible that the logic in mkgmap r2977 is correct.

Sample for my Garmin basemap:

  - 1044224/-3726080(22,40662,-79,95300) true
   - 1044224/-3726336(22,40662,-79,95850) true
   - 1044736/-3728256(22,41760,-79,99969) false
ERROR: Last point of a joined line without node-flag
 - 0/4868/66 Type=2 part=2
   - 1044736/-3728256(22,41760,-79,99969) false
   - 1044608/-3728768(22,41486,-80,01068) true
   - 1044608/-3730304(22,41486,-80,04364) false
   - 1045376/-3730816(22,43134,-80,05463) false
   - 1045504/-3731840(22,43408,-80,07660) false
   - 1046144/-3732864(22,44781,-80,09857) true
ERROR: Last point of a joined line without node-flag
 - 0/4867/31 Type=2 part=3 

Gerd

Date: Sat, 18 Jan 2014 21:59:33 +0100
From: popej at poczta.onet.pl
To: mkgmap-dev at lists.mkgmap.org.uk
Subject: [mkgmap-dev] Mapsource crashes while calculating a route

Hi,
 
I have observed crashes for some time. Mapsource 6.16.3 indicates a bug 
in module MPL_MAP.CPP. Basecamp reports an error or goes into infinite loop.
 
Now I have extracted minimal source data, which creates faulty map. 
Removing any road or even a crossing point restore routing.
 
Bug exist in mkgmap r2815, r2857, r2889, r2975 and r2976. Map created by 
mkgmap r2795 works correctly.
 
I'm attaching here files to reproduce problem:
mkgmap.bat - batch, which I have used to create the map,
test-a.pbf - very simple OSM source data,
route.gpx - short route, which causes a crash in Mapsource.
 
-- 
Best regards,
Andrzej
 

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140119/ec2166ef/attachment.html>


More information about the mkgmap-dev mailing list