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.

http://www.openstreetmap.org/#map=16/47.9114/10.5862

When routing along the bicycleway along the "OAL12" from the roundabout to
Irsee.
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:
<http://gis.19327.n5.nabble.com/file/n5800737/Roundabout82.bmp> 
<http://gis.19327.n5.nabble.com/file/n5800737/2-Target_in_Irsee127.bmp> 
<http://gis.19327.n5.nabble.com/file/n5800737/3-Choose_Tourbike_or_Mountainbike137.bmp> 
<http://gis.19327.n5.nabble.com/file/n5800737/4-Choose_short_distance141.bmp> 
<http://gis.19327.n5.nabble.com/file/n5800737/5-Routing_broken_why_182.bmp> 
<http://gis.19327.n5.nabble.com/file/n5800737/6-Routing_correct_with_hacked_style167.bmp> 

I composed a test case
http://files.mkgmap.org.uk/download/188/test_case.tgz

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
bikemap_style/inc.
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
identisch.
Dateien bikemap_style_hacked/points und bikemap_style/points sind identisch.
Dateien bikemap_style_hacked/polygons und bikemap_style/polygons sind
identisch.
Dateien bikemap_style_hacked/README und bikemap_style/README sind identisch.
Dateien bikemap_style_hacked/relations und bikemap_style/relations sind
identisch.
Dateien bikemap_style_hacked/version und bikemap_style/version sind
identisch.
/



--
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