logo separator

[mkgmap-dev] routing between different maps

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Jul 27 05:50:40 BST 2018

Hi Henning,

reg. performance: I think it is now clearly less then 1 s per tile for level 2 boundaries.

reg. option:
I see two ways to control this:
1) style rules may set a special tag mkgmap:xyz on those lines which should be considered as boundaries.
I have no idea how to name such a tag, and user would need some rules in style files relations and lines / polygons.

2) an option like --add-boundary-nodes-at-admin-boundary=[level]
The level parameter would default to 2, if e.g. 4 is given, all boundaries with levels <= 4 would be used.

In both cases you can add your individual poly to the OSM data, e.g. a way with tags boundary=administrative ,admin_level=2 , and render=no
and check the render tag in the style so that the way is not added to the map.

I think I'll implement 2) now, looks like the safer way to me.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm at hscholland.de>
Gesendet: Freitag, 27. Juli 2018 02:36
An: Development list for mkgmap
Cc: Andrzej Popowski
Betreff: Re: [mkgmap-dev] routing between different maps

Hi Gerd,
How much performance does it take?
Wouldn't it be better to create those nodes automatically at every level 2 and 4 boundary and give a possibility to define a individual poly for it for any other special case?
Henning

On 26 Jul 2018, 19:23, at 19:23, Gerd Petermann <gpetermann_muenchen at hotmail.com> wrote:
>Hi Andrzej,
>
>okay, seems there are many ways to test this ;-)
>I've created the routes in MapSource and transferred them to the
>Oregon.
>Next, I looked at them in the Route Manager. With other routes, when I
>select button "Map" in the Route Manager
>the route is also first displayed as a straight line and then
>recalculated.
>Only with these map crossing ways I don't see a recalculation.
>Interesting is that I see recalculation when I select
>a different default route vehicle, but the results look bad.
>
>Anyway, I think the extra nodes can improve routing, so I'll add an
>option to specify the admin_level.
>
>Gerd
>
>________________________________________
>Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von
>Andrzej Popowski <popej at poczta.onet.pl>
>Gesendet: Donnerstag, 26. Juli 2018 13:01
>An: mkgmap-dev at lists.mkgmap.org.uk
>Betreff: Re: [mkgmap-dev] routing between different maps
>
>Hi Gerd,
>
>I have imported your routes to BaseCamp and then sent to Dakota. It
>looks ok. When I select route as a destination, Dakota shows route for
>a
>moment as a straight line and then recalculates on roads, see pic
>"go-to". If I start navigation, then Dakota calculates again, adding a
>leg to starting point of selected route, see pic "route".
>
>--
>Best regards,
>Andrzej
>_______________________________________________
>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