logo separator

[mkgmap-dev] Mapsource crashes while calculating a route

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

ahh, just understood it. The message is printed at the end of 
a line segment and it is related to the last point of the previous segment.

I think the test is not useful. At least when mkgmap splits
a road with > 250 it doesn't care whether the split point is
a CoordNode or not and it doesn't change a normal node
to a CoordNode, and that seems to be okay.

Gerd

From: gpetermann_muenchen at hotmail.com
To: mkgmap-dev at lists.mkgmap.org.uk
Date: Sun, 19 Jan 2014 16:20:53 +0100
Subject: Re: [mkgmap-dev] Mapsource crashes while calculating a route




Hi Steve,

I think the problem is somewhere else. Attached is 
the NetCheck output of r346 with -vv for my Basemap.
If I see this right, this line
1046144/-3732864(22,44781,-80,09857) true
says that the last point of the part 2 of the road is 
a node, as well as the last point of part 3:
1059712/-3761664(22,73895,-80,71655) true

Maybe line 300 in NetCheck should be 
                                lastline.getLastPoint().getId() != 0);
instead of 
                                line.getLastPoint().getId() != 0);


Gerd

> Date: Sun, 19 Jan 2014 11:27:41 +0000
> From: steve at parabola.me.uk
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Mapsource crashes while calculating a route
> 
> On 19/01/14 08:20, Gerd Petermann wrote:
> > @Steve: The display tool netCheck sometimes complains about
> > wrong node-flag settings even when it displays 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*
> > E*RROR: Last point of a joined line without node-flag*
> >   - 0/4867/31 Type=2 part=3
> 
> It is complaining that there is no node-flag on the previous
> line joining to this one.  So I think that the test is correctly
> doing what it thinks it is doing.
> 
> As per my previous mail, the check is probably worthless though.
> 
> Now that I have a NodCheck program, it may be possible to investigate
> re-doing the test and actually checking if the point is really a node.
> 
> ..Steve
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  

_______________________________________________
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/37903489/attachment.html>


More information about the mkgmap-dev mailing list