logo separator

[mkgmap-dev] Finalize section not working as expected

From franco_bez franco.bez at web.de on Sun Mar 23 12:52:11 GMT 2014

I got a very nasty bug here.
IMHO it must be somehow related to the finalize section in the lines file of
the style.


When routing along the bicycleway along the "OAL12" from the roundabout to
Choosing "Mountainbike" or "Tourbike" as Activity and "shortest distance" as
Calculating method always leads me on a heavy Trail.

I have rules in the style that set "bicycle=no" for this trail, but they do
not seem to have any effect unless I include them BEFORE the garmin type
gets assigned.
In the finalize section they seem to be ignored.

At least on my OREGON 550 with latest Firmware.

A few screenshots:

I composed a test case

this is the only change in the style that makes routing work:
test_cases/mystyles$ diff -uws bikemap_style_hacked/ bikemap_style
Gemeinsame Unterverzeichnisse: bikemap_style_hacked/inc und
Dateien bikemap_style_hacked/info und bikemap_style/info sind identisch.
diff -uws bikemap_style_hacked/lines bikemap_style/lines
--- bikemap_style_hacked/lines	2014-03-23 13:08:03.295102817 +0100
+++ bikemap_style/lines	2014-03-22 19:20:03.000000000 +0100
@@ -534,8 +534,6 @@

 # path
-# HACK include access rules before path rules
-include 'inc/compat_access' ;
 highway=path | highway=trail | highway=byway                                           
[0x11012 resolution 24 continue]
Dateien bikemap_style_hacked/options und bikemap_style/options sind
Dateien bikemap_style_hacked/points und bikemap_style/points sind identisch.
Dateien bikemap_style_hacked/polygons und bikemap_style/polygons sind
Dateien bikemap_style_hacked/README und bikemap_style/README sind identisch.
Dateien bikemap_style_hacked/relations und bikemap_style/relations sind
Dateien bikemap_style_hacked/version und bikemap_style/version sind

View this message in context: http://gis.19327.n5.nabble.com/Finalize-section-not-working-as-expected-tp5800737.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.

More information about the mkgmap-dev mailing list