Hi. Using the Generic New style and want to show unpaved ways (as below) differently. In the line file I tried changing the TYP line matched to (e.g. to 0x0f)…
SEVERE (StyledConverter): splitter/63240001.osm.pbf: routable type 0x0f is used with a non-routable way which was also added as a routable way. This leads to routing errors. Try --check-styles to check the style.
SEVERE (StyledConverter): splitter/63240002.osm.pbf: routable type 0x0f is used with a non-routable way which was also added as a routable way. This leads to routing errors. Try --check-styles to check the style.
0x0f is this:
[_line]
Type=0x0f
;GRMN_TYPE: Customizable Line Types/CUSTOMIZABLE_ROUTE_LINE_3/Routable customizable line/Non NT, NT
UseOrientation=N
Xpm=“32 2 2 1”
“! c #FFFFFF”
“# c #996600”
“!!######!!######!!######!!######”
“!!######!!######!!######!!######”
;12345678901234567890123456789012
String1=0x01,Piste carrossable
ExtendedLabels=N
[end]
I get same message when I try changing to 0x0a which is this:
[_line]
Type=0x0a
;GRMN_TYPE: Roads/UNPAVED_ROAD/Gravel or dirt road/Non NT, NT
UseOrientation=N
Xpm=“32 2 2 1”
“! c #7B0000”
“# c #DEBD9C”
“!!!###!!!###!!!###!!!###!!”
“!!!###!!!###!!!###!!!###!!”
;12345678901234567890123456789012
String1=0x01,Voie sans revÍtement
String2=0x00,Unsurfaced
ExtendedLabels=N
[end]
Mkgmap complains because you are using routable lines for lines that dont carry routing parameters (eg road_class or road_speed). Better use non routable line types like 0x10002 or make a few other extra line types in your typ file?
…but hey wait, I understand you dont use it for a Garmin device? You can just ignore those warning messages, it does not have any impact in Basecamp or Mapsource.
@ligfietser - yeh - but, looking at the code for 0x0f and 0x0a in the TYP, it looked like 0x0a isn’t routable so don’t know why using that gives the error. Will look for where routing parameters are and try work out what is going on… No, I don’t even use a Garmin - but the map is for people who do… I’m making it for them, not me. Cheers.
@muralito - Thanks - will try work out how to download from there and give it a check.