logo separator

[mkgmap-dev] Basecamp and NET/NOD changes

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Nov 21 10:00:15 GMT 2019

Hi Ticker,

I think we have two different problems here.
I can reproduce the errors with display tool even with very small input files and it seems that it existed in almost all versions of the NET-no-NOD branch :-(
I have no idea why I didn't see it in various tests before. These problems disappear when I change the code so that the first and last node in a road are always routing nodes. (as it was before r4300) Maybe display tool simply expects this and searches for nodes which don't exist?
On the other hand I can reproduce the routing problems with Basecamp (4.7.1), but not with MapSource.
And the problems in Basecamp do not disappear when I change the code to add the nodes again, they seem to depend on
option --check-routing-island-len only.
I always thought that Garmin uses the same routing algo in Mapsource and Basecamp, but at least 4.7.1 shows that I am wrong.

So, for now, I'd say that option --check-routing-island-len should not be used :(

Gerd







________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
Gesendet: Mittwoch, 20. November 2019 17:55
An: mkgmap development
Betreff: Re: [mkgmap-dev] Basecamp and NET/NOD changes

Hi Ticker,

I can reproduce your results, but I have no clue yet what's going wrong...

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Mittwoch, 20. November 2019 16:31
An: mkgmap development
Betreff: [mkgmap-dev] Basecamp and NET/NOD changes

Hi Gerd

I'm getting routing problems with Basecamp when using routing island
removal. Building with:

java -jar ../mkgmap.trunk/mkgmap.jar -c ticker.cfg --check-routing
-island-len=700 --family-name=trRIL700 -c template.args ticker.txt

a high proportion of routes fail, ie it just generates a straight line.
This is using Motorcar, Shortest distance, no avoids.
My Garmin device generates routes correctly.

Building with:

java -jar ../mkgmap.trunk/mkgmap.jar -c ticker.cfg --check-routing
-island-len=-1 --family-name=trRIL-1 -c template.args ticker.txt

routes are calculated that follow roads.

mkgmap.trunk is my build of the latest sources (r4373), attached are
the various small files, with img data unchanged from before:

http://files.mkgmap.org.uk/download/454/hants.pbf.zip

Some examples that work:
"SO22 6AN" to "SO23 8DS"
"SO22 6AN" to "SO15 7NQ"

Some examples that fail in Basecamp:
"SO22 6AN" to "SO23 8RJ"
"SO22 6AN" to "SO15 1AG"
"SO22 6AN" to "SO15 7NG"
"SO15 7NG" to "SO15 7NQ"

I also notice that display:test.check.NetCheck and NodCheck run through
on --c-r-i-l=700 but give quite a few errors, whereas, with --c-r-i-l=
-1, NetCheck doesn't find any errors but NodCheck crashes after giving
the message:
--------- 74210002.img --------------------
Could not find node for road 48815 nod2=173db

Exception in thread "main" java.lang.NullPointerException
        at test.check.NodCheck.checkNod2(NodCheck.java:91)
        at test.check.NodCheck.print(NodCheck.java:63)
        at test.display.CommonDisplay.display(CommonDisplay.java:204)
        at test.check.CommonCheck.runMain(CommonCheck.java:145)
        at test.check.NodCheck.main(NodCheck.java:1004)

I wonder if you can help - I was trying to use Basecamp to narrow down
another routing problem I was having with my Garmin device.

Thanks
Ticker
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list