Hi Gerd,

I don't remember any place where the mergeroads branch prints a warning for such a case.

But I noticed that the RoadMerger uses Coord.equals instead of ==.
I'll have to change that.

WanMil

Hi all,

I am not sure if the --road-name-pois option is still used.

The option tries to adds a poi for each road name.
The code uses the Coord.equals() to detect whether to
different road segments with equal names are connected
or not. The test is not 100% correct, as it should test
whether the points are connected in the road network.

Interesting is that I found quite a lot of places in my test data
where two such roads are NOT connected in the road network.

I don't know if the mergeroads branch prints a warning for this case?

Attached is a patch that writes warning messages to the log if it detects
that special case, but I think it would be better to have that also without
option --road-name-pois .
What do you think?

Gerd



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


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

Reply via email to