logo separator

[mkgmap-dev] Wrong_route_calculation / strange straight routing lines on GPS

From Carlos Dávila cdavilam at jemila.jazztel.es on Sun Feb 1 16:32:27 GMT 2009

Steve Ratcliffe escribió:
> On Sat, Jan 31, 2009 at 10:05:26PM +0100, Carlos Dávila wrote:
>   
>> problematic road in several small pieces in JOSM, they are again merged
>> in a single one when I create the mp file using osm2mp. I would like to
>>     
>
> osm2mp merges roads with the same name, so if you change the name of each
> piece then it will not merge them, I believe.
>   
I tried changing the category of part of the road and now it's not
merged. Original road had 335 nodes and 50.41 km. I split a portion of
83 nodes/13.26km where I had the problem in the route calculation and
now this portion works fine, but the problem has moved to the remaining
one. Note number of nodes is approximative, as gpsmapedit gives a
different number depending on the zoom level.
> But mkgmap already has code to split long lines as there is a limit of
> around 256 on the number of points in a line that the devices accept.
> Reducing the number MAX_POINTS_IN_LINE in LineSplitterFilter.java will
> reduce the line length.
>
> It could be that there is a limit to the number of routing nodes in the
> line not just the number of points.
>   
What do you mean by "routing nodes"? Are they nodes where to ways connect?
Regards
Carlos



More information about the mkgmap-dev mailing list