documentation of new option in branch

Hi all, I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it: --check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check. ciao Gerd

Hi Gerd Thanks for all you work with regards routing islands! a) Is there a way of finding out how many .if any. routing islands were found given a certain length? b) if NUM is negative is there any point in adding --check-routing-island-len=NUM Nick On 04/11/2019 13:58, Gerd Petermann wrote:
Hi all,
I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it:
--check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check.
ciao Gerd
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Nick, as always the information is written with the logger (1). You have to activate logging at info level with uk.me.parabola.imgfmt.app.net.RoadNetwork.level=INFO (1) https://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging Using a negative value for NUM means that mkgmap doesn't calculate the islands at all, using 0 means that it only reports the islands. If you want to remove islands you can start with a value like 500. The default is 0. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm@pinns.co.uk> Gesendet: Montag, 4. November 2019 16:29 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] documentation of new option in branch Hi Gerd Thanks for all you work with regards routing islands! a) Is there a way of finding out how many .if any. routing islands were found given a certain length? b) if NUM is negative is there any point in adding --check-routing-island-len=NUM Nick On 04/11/2019 13:58, Gerd Petermann wrote: Hi all, I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it: --check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check. ciao Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Thanks Gerd On 04/11/2019 15:37, Gerd Petermann wrote:
Hi Nick,
as always the information is written with the logger (1). You have to activate logging at info level with uk.me.parabola.imgfmt.app.net.RoadNetwork.level=INFO
(1) https://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging
Using a negative value for NUM means that mkgmap doesn't calculate the islands at all, using 0 means that it only reports the islands. If you want to remove islands you can start with a value like 500. The default is 0.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm@pinns.co.uk> Gesendet: Montag, 4. November 2019 16:29 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] documentation of new option in branch
Hi Gerd
Thanks for all you work with regards routing islands!
a) Is there a way of finding out how many .if any. routing islands were found given a certain length?
b) if NUM is negative is there any point in adding --check-routing-island-len=NUM
Nick
On 04/11/2019 13:58, Gerd Petermann wrote:
Hi all,
I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it:
--check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check.
ciao Gerd
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi I think the default should be either: Don't check for routing islands or: Check for and remove islands of any length but I don't feel that strongly about this aspect. In the documentation, it should mention the effect of a road meeting a tile boundary or boundary nodes added at admin boundaries. I've been using this feature for a couple of weeks now and it has stopped a lot of "Route Calculation Error"s - Thanks Gerd. Ticker On Mon, 2019-11-04 at 15:37 +0000, Gerd Petermann wrote:
Hi Nick,
as always the information is written with the logger (1). You have to activate logging at info level with uk.me.parabola.imgfmt.app.net.RoadNetwork.level=INFO
(1) https://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging
Using a negative value for NUM means that mkgmap doesn't calculate the islands at all, using 0 means that it only reports the islands. If you want to remove islands you can start with a value like 500. The default is 0.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm@pinns.co.uk> Gesendet: Montag, 4. November 2019 16:29 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] documentation of new option in branch
Hi Gerd
Thanks for all you work with regards routing islands!
a) Is there a way of finding out how many .if any. routing islands were found given a certain length?
b) if NUM is negative is there any point in adding --check-routing -island-len=NUM
Nick
On 04/11/2019 13:58, Gerd Petermann wrote:
Hi all,
I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it:
--check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check.
ciao Gerd
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto: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

Hi So basically this is a global: set mkgmap:set_unconnected_type=none; Or is there a difference? I've used the unconnected_type and semi_connected type basically for all routable lines in my style-file. The unconnected_type is now obsolete if you just used to disable routing by setting an unroutable type - correct? Have you tested that the global option is run after semi_connected_type and unconnected_type? Because first the style should be able to remove them or change them to unroutable type - then leftover islands should be covered with this method. Felix On Mon, 4 Nov 2019 at 17:06, Ticker Berkin <rwb-mkgmap@jagit.co.uk> wrote:
Hi
I think the default should be either: Don't check for routing islands or: Check for and remove islands of any length but I don't feel that strongly about this aspect.
In the documentation, it should mention the effect of a road meeting a tile boundary or boundary nodes added at admin boundaries.
I've been using this feature for a couple of weeks now and it has stopped a lot of "Route Calculation Error"s - Thanks Gerd.
Ticker
On Mon, 2019-11-04 at 15:37 +0000, Gerd Petermann wrote:
Hi Nick,
as always the information is written with the logger (1). You have to activate logging at info level with uk.me.parabola.imgfmt.app.net.RoadNetwork.level=INFO
(1) https://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging
Using a negative value for NUM means that mkgmap doesn't calculate the islands at all, using 0 means that it only reports the islands. If you want to remove islands you can start with a value like 500. The default is 0.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm@pinns.co.uk> Gesendet: Montag, 4. November 2019 16:29 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] documentation of new option in branch
Hi Gerd
Thanks for all you work with regards routing islands!
a) Is there a way of finding out how many .if any. routing islands were found given a certain length?
b) if NUM is negative is there any point in adding --check-routing -island-len=NUM
Nick
On 04/11/2019 13:58, Gerd Petermann wrote:
Hi all,
I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it:
--check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check.
ciao Gerd
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto: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
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Schusterbergweg 32/8 6020 Innsbruck Austria - Österreich

Hi Felix, mkgmap:set_unconnected_type works very different. 1) It only detects single roads not connected to other roads, the island detection also finds multiple roads which are only connected to each other 2) the island detection adds the line as a road to NET, it just doesn't add it to NOD. So address search works as usual. (I am not yet 100% sure if this is a good idea, have to do more testing here) Island detection happens after processing of mkgmap:set_unconnected_type, right before the AngleChecker is called. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> Gesendet: Montag, 4. November 2019 17:27 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] documentation of new option in branch Hi So basically this is a global: set mkgmap:set_unconnected_type=none; Or is there a difference? I've used the unconnected_type and semi_connected type basically for all routable lines in my style-file. The unconnected_type is now obsolete if you just used to disable routing by setting an unroutable type - correct? Have you tested that the global option is run after semi_connected_type and unconnected_type? Because first the style should be able to remove them or change them to unroutable type - then leftover islands should be covered with this method. Felix On Mon, 4 Nov 2019 at 17:06, Ticker Berkin <rwb-mkgmap@jagit.co.uk<mailto:rwb-mkgmap@jagit.co.uk>> wrote: Hi I think the default should be either: Don't check for routing islands or: Check for and remove islands of any length but I don't feel that strongly about this aspect. In the documentation, it should mention the effect of a road meeting a tile boundary or boundary nodes added at admin boundaries. I've been using this feature for a couple of weeks now and it has stopped a lot of "Route Calculation Error"s - Thanks Gerd. Ticker On Mon, 2019-11-04 at 15:37 +0000, Gerd Petermann wrote:
Hi Nick,
as always the information is written with the logger (1). You have to activate logging at info level with uk.me.parabola.imgfmt.app.net<http://uk.me.parabola.imgfmt.app.net>.RoadNetwork.level=INFO
(1) https://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging
Using a negative value for NUM means that mkgmap doesn't calculate the islands at all, using 0 means that it only reports the islands. If you want to remove islands you can start with a value like 500. The default is 0.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Pinns UK <osm@pinns.co.uk<mailto:osm@pinns.co.uk>> Gesendet: Montag, 4. November 2019 16:29 An: mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] documentation of new option in branch
Hi Gerd
Thanks for all you work with regards routing islands!
a) Is there a way of finding out how many .if any. routing islands were found given a certain length?
b) if NUM is negative is there any point in adding --check-routing -island-len=NUM
Nick
On 04/11/2019 13:58, Gerd Petermann wrote:
Hi all,
I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it:
--check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check.
ciao Gerd
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto: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<mailto: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<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- Felix Hartman - Openmtbmap.org & VeloMap.org Schusterbergweg 32/8 6020 Innsbruck Austria - Österreich

Hi Gerd, Good work. I suggest the following: --check-routing-island-len=INTEGER Routing islands are small road networks which are not connected to other roads. A typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and the GPS selects a point on the island as a start. It will fail to calculate the route even if a major road is only a few steps away. If this option is specified, then mkgmap will detect these islands. If the value is set to zero, mkgmap will simply report the islands (you will need to set uk.me.parabola.imgfmt.app.net.RoadNetwork.level=INFO to activate logging of the message). If the value is greater than zero, mkgmap will mark islands with a total length less than the specified value in metres as not routable. The default is for the check to not take place. If the default is for the check to not take place then there is no need for the slightly arbitrary negative value processing. Regards, Mike -----Original Message----- From: Gerd Petermann [mailto:GPetermann_muenchen@hotmail.com] Sent: 04 November 2019 13:58 To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] documentation of new option in branch Hi all, I think the work on the branch is almost done. Attached is a patch to add documentation for the new option. Please help to improve it: --check-routing-island-len=NUM Routing islands are small road networks which are not connected to other roads. Typical case is a footway that is not connected to the main road network. These islands can cause problems if you try to calculate a route and Garmin selects a point on the island as a start. It will fail to calulate the route even if a major road is only a few steps away. When calculating the NOD data mkgmap detects the islands. The option --check-routing-island-len=NUM can be used to tell mkgmap that islands with a total length below NUM meters should not be written to NOD. The effect is that the corresponding roads are visible as usual but they are not routable. A negative value for NUM means that mkgmap skips the island check. ciao Gerd
participants (6)
-
Felix Hartmann
-
Gerd Petermann
-
Gerd Petermann
-
Mike Baggaley
-
Pinns UK
-
Ticker Berkin