[mkgmap-dev] element type definition as variable
From demon.box e.rossini73 at alice.it on Mon Nov 27 10:29:16 GMT 2017
Hi Gerd, thanks very much for your attention and patience... ;-) I'm testing this 3 ways: Via Ermanno Margheriti http://www.openstreetmap.org/way/301439666 Via Maniva http://www.openstreetmap.org/way/304137562 Via Trento http://www.openstreetmap.org/way/304455618 This is my only simply style for this test: lines ===== highway=* & name=* & (route_name=* | ref=*) {name '${name}'} [0x09 road_class=0 road_speed=1 resolution 24 continue] highway=* & route_type ~ '.*hiking.*' {name '${route_ref1|highway-symbol:oval} ${route_name}' | '${route_ref1|highway-symbol:oval}' | '${route_name}'} (highway=secondary | highway=secondary_link) & surface=asphalt {name '${ref|highway-symbol:hbox} ${route_name}' | '${ref|highway-symbol:hbox}'} [0x04 road_class=2 road_speed=2 resolution 22 continue] <finalize> name=* {name '${name}'} relations ===== type=route & (route=hiking) { apply { set route_type='$(route_type), ${route}' | '${route}'; set route_ref1='$(route_ref1), ${ref}' | '${ref}'; set route_name='$(route_name) | ${name}' | '${name} (${alt_name})' | '${name}' } } and this is the result with --preserve-element-order option: Via Ermanno Margheriti <http://gis.19327.n8.nabble.com/file/t339261/1.jpg> Via Maniva <http://gis.19327.n8.nabble.com/file/t339261/2.jpg> Via Trento <http://gis.19327.n8.nabble.com/file/t339261/3.jpg> and this is the result without --preserve-element-order option: Via Ermanno Margheriti <http://gis.19327.n8.nabble.com/file/t339261/1b.jpg> Via Maniva <http://gis.19327.n8.nabble.com/file/t339261/2b.jpg> Via Trento <http://gis.19327.n8.nabble.com/file/t339261/3b.jpg> Finally I mean... how can I display the name always for first? THANKS. --enrico -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
- Previous message: [mkgmap-dev] element type definition as variable
- Next message: [mkgmap-dev] element type definition as variable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list