[mkgmap-dev] "streets-with-no-names" style
From Michel Marti mcdmx at users.sf.net on Tue Nov 18 23:36:55 GMT 2008
Hi, Thanks to the new expression types (not-existing, not-equals), it has become really easy to create a map that highlights streets with no name. I basically took an existing style and made the following changes to the "lines" file: diff -u styles/test/lines styles/noname/lines --- styles/test/lines 2008-11-09 13:03:55.000000000 +0100 +++ styles/noname/lines 2008-11-19 00:24:02.000000000 +0100 @@ -7,22 +7,32 @@ highway=byway [0x16 resolution 23] highway=cycleway [0x16 resolution 23] highway=footway [0x16 resolution 23] +highway=living_street & name!=* [0x06 resolution 22] highway=living_street [0x06 resolution 22] +highway=minor & name!=* [0x01 resolution 21] highway=minor [0x06 resolution 21] highway=motorway [0x01 resolution 12] highway=motorway_link [0x01 resolution 16] highway=path [0x16 resolution 20] highway=pedestrian [0x06 resolution 22] +highway=primary & name!=* [0x01 resolution 19] highway=primary [0x04 resolution 19] +highway=primary_link & name!=* [0x01 resolution 19] highway=primary_link [0x04 resolution 19] +highway=residential & name!=* [0x01 resolution 22] highway=residential [0x06 resolution 22] +highway=secondary & name!=* [0x01 resolution 20] highway=secondary [0x05 resolution 20] +highway=path [0x16 resolution 20] highway=service [0x07 resolution 22] highway=steps [0x16 resolution 23] +highway=tertiary & name!=* [0x01 resolution 21] highway=tertiary [0x06 resolution 21] highway=track [0x0a resolution 21] +highway=trunk & name!=* [0x01 resolution 16] highway=trunk [0x02 resolution 16] highway=trunk_link [0x02 resolution 16] +highway=unclassified & name!=* [0x01 resolution 21] highway=unclassified [0x06 resolution 21] highway=unsurfaced [0x0a resolution 21] natural=coastline [0x15 resolution 12] It would be nice if mkgmap would come with a "highlight streets with no name"-style per default. Cheers, - Michel
- Previous message: [mkgmap-dev] --Style-file -> Could not open Style
- Next message: [mkgmap-dev] "streets-with-no-names" style
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list