logo separator

[mkgmap-dev] Problem with nested apply

From Felix Hartmann extremecarver at googlemail.com on Mon Jan 4 22:42:56 GMT 2010

Actually as you're working on it. Is there an easy way to specify 
priority of apply for several routes?

Checking for route=bicycle & network=icn -- ncn -- rcn --lcn
Status quo: there is no way I can specify (other than set over add) to 
put the ref/name of the icn relation onto a street. If no icn then take 
ncn, no ncn take rcn, no rcn take lcn. There is no way to check if a 
higher priority relation is using the same way.

I know I could write the names like name_ncn, name_rcn ... but my naming 
line is already so long that I don't want to make it any longer....

Felix

P.S
My current naming string present over 600 times in my lines file.
{ name '${ref|highway-symbol:hbox:6:4} ${name} ${route_name} 
${extremecarver6}${mtb:scale}${mtb:scale:uphill}' | 
'${ref|highway-symbol:hbox:6:4} ${route_name} 
${extremecarver6}${mtb:scale}${mtb:scale:uphill}' | 
'${ref|highway-symbol:hbox:6:4} ${name} 
${extremecarver6}${mtb:scale}${mtb:scale:uphill}' | 
'${ref|highway-symbol:hbox:6:4} 
${extremecarver6}${mtb:scale}${mtb:scale:uphill}' | 
'${extremecarver|highway-symbol:hbox:6:4}${mtb:scale}${mtb:scale:uphill} 
${name} ${route_name}' | 
'${extremecarver|highway-symbol:hbox:6:4}${mtb:scale}${mtb:scale:uphill} 
${name}' | 
'${extremecarver|highway-symbol:hbox:6:4}${mtb:scale}${mtb:scale:uphill} 
${route_name}' | 
'${extremecarver|highway-symbol:hbox:6:4}${mtb:scale}${mtb:scale:uphill}' | 
'${ref|highway-symbol:oval:6:4} ${name} ${route_name} 
M${mtb:scale}${mtb:scale:uphill}' | '${ref|highway-symbol:oval:6:4} 
${route_name} M${mtb:scale}${mtb:scale:uphill}' | '${name} ${route_name} 
M${mtb:scale}${mtb:scale:uphill}' | '${route_name} 
M${mtb:scale}${mtb:scale:uphill}' | '${ref|highway-symbol:oval:6:4} 
${name} M${mtb:scale}${mtb:scale:uphill}' | '${name} 
M${mtb:scale}${mtb:scale:uphill}' | '${ref|highway-symbol:oval:6:4} 
M${mtb:scale}${mtb:scale:uphill}' | '${ref|highway-symbol:hbox:6:4} 
${name} ${route_name} ${extremecarver6}${mtb:scale}.' | 
'${ref|highway-symbol:hbox:6:4} ${route_name} 
${extremecarver6}${mtb:scale}.' | '${ref|highway-symbol:hbox:6:4} 
${name} ${extremecarver6}${mtb:scale}.' | 
'${ref|highway-symbol:hbox:6:4} ${extremecarver6}${mtb:scale}.' | 
'${extremecarver|highway-symbol:hbox:6:4}${mtb:scale}. ${name} 
${route_name}' | '${extremecarver|highway-symbol:box:6:4}${mtb:scale}. 
${name}' | '${extremecarver|highway-symbol:hbox:6:4}${mtb:scale}. 
${route_name}' | '${extremecarver|highway-symbol:hbox:6:4}${mtb:scale}. 
' | '${ref|highway-symbol:oval:6:4} ${name} ${route_name} 
M${mtb:scale}.' | '${ref|highway-symbol:oval:6:4} ${route_name} 
M${mtb:scale}.' | '${name} ${route_name} M${mtb:scale}.' | 
'${route_name} M${mtb:scale}.' | '${ref|highway-symbol:oval:6:4} ${name} 
M${mtb:scale}.' | '${name} M${mtb:scale}.' | 
'${ref|highway-symbol:oval:6:4} M${mtb:scale}.' | 
'${ref|highway-symbol:hbox:6:4} ${name} ${route_name} 
${extremecarver6}.${mtb:scale:uphill}' | '${ref|highway-symbol:hbox:6:4} 
${route_name} ${extremecarver6}.${mtb:scale:uphill}' | 
'${ref|highway-symbol:hbox:6:4} ${name} 
${extremecarver6}.${mtb:scale:uphill}' | '${ref|highway-symbol:hbox:6:4} 
${extremecarver6}.${mtb:scale:uphill}' | 
'${extremecarver|highway-symbol:hbox:6:4}.${mtb:scale:uphill} ${name} 
${route_name}' | 
'${extremecarver|highway-symbol:box:6:4}.${mtb:scale:uphill} ${name}' | 
'${extremecarver|highway-symbol:hbox:6:4}.${mtb:scale:uphill} 
${route_name}' | 
'${extremecarver|highway-symbol:hbox:6:4}.${mtb:scale:uphill} ' | 
'${ref|highway-symbol:oval:6:4} ${name} ${route_name} 
M.${mtb:scale:uphill}' | '${ref|highway-symbol:oval:6:4} ${route_name} 
M.${mtb:scale:uphill}' | '${name} ${route_name} M.${mtb:scale:uphill}' | 
'${route_name} M.${mtb:scale:uphill}' | '${ref|highway-symbol:oval:6:4} 
${name} M.${mtb:scale:uphill}' | '${name} M.${mtb:scale:uphill}' | 
'${ref|highway-symbol:oval:6:4} M.${mtb:scale:uphill}' | 
'${ref|highway-symbol:box:6:4} ${name} ${route_name} ${extremecarver6}' 
| '${ref|highway-symbol:box:6:4} ${route_name} ${extremecarver6}' | 
'${ref|highway-symbol:box:6:4} ${name} ${extremecarver6}' | 
'${ref|highway-symbol:box:6:4} ${extremecarver6}' | '${name} 
${route_name} ${extremecarver6}' | '${name} ${extremecarver6}' | 
'${route_name} ${extremecarver6}' | '${extremecarver6}' | 
'${ref|highway-symbol:oval:6:4} ${name} ${route_name}' | 
'${ref|highway-symbol:oval:6:4} ${route_name}' | '${name} ${route_name}' 
| '${route_name}' | '${ref|highway-symbol:oval:6:4} ${name}' | '${name}' 
| '${ref|highway-symbol:oval:6:4}'; add display_name = '${name} (${ref}) 
${route_name}' | '${name} (${ref}) ${extremecarver6}' | '${name} (${ref})' }




More information about the mkgmap-dev mailing list