logo separator

[mkgmap-dev] Error in style file relations?

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Feb 1 17:09:16 GMT 2018

Hi all,

okay, it was an error in the style, but it had no effect because this rule in lines
highway=* & mkgmap:fast_road!=* & (int_ref=* | network=e-road | network=AH | network=TAH | network=US:I | network=US:US) {add mkgmap:fast_road=yes}

adds the tag mkgmap:fast_road=yes that was not added in the relation rule.

 @Steve: I was a bit surprised that the wrong rule still sets network to 'e-road' and not to something like
"e-road add mkgmap:fast_road=yes"

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen at hotmail.com>
Gesendet: Donnerstag, 1. Februar 2018 16:25
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Error in style file relations?

Hi all,

the default style contains this:
# European E-Road network
route=road & network=e-road {
        apply {
                add ref='${ref}';
                add int_ref='${int_ref}';
                add network='e-road'
        add mkgmap:fast_road=yes;
        }
}

If I got that right there should be a semicolon after
add network='e-road'

Or is this a very special syntax?
Gerd
_______________________________________________
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