logo separator

[mkgmap-dev] documentation of new option in branch

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Nov 4 16:40:07 GMT 2019

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 at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at 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 at jagit.co.uk<mailto:rwb-mkgmap at 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 at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag
> von Pinns UK <osm at pinns.co.uk<mailto:osm at pinns.co.uk>>
> Gesendet: Montag, 4. November 2019 16:29
> An: mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at 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 at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk><mailto:mkgmap-dev at lists.mkgmap.org.uk<mailto: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<mailto: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<mailto:mkgmap-dev at 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


More information about the mkgmap-dev mailing list