[Talk-de] rcn route und network relations

Jo winfixit at gmail.com
Fr Nov 4 23:30:00 UTC 2011


Das Problem mit mapcss so gelöst:


relation[type=route][route=bicycle][network=rcn][ref!=RUR][ref!=NRR] >
way::relation_underlay
 {z-index: -1;
  width: 12;
  color: cyan;
  opacity: 0.3;
  linecap: none;
  text-color: red;
  font-size: 12;
  text: parent_tag(note);
  text-position: line;
  text-offset-y: 16}

Und im Pythonskript:

if aRelation.get('type') == 'route' and aRelation.get('network') ==
'rcn' and not(aRelation.get('ref') in ['RUR','NRR','NRW',]):

Jetzt sollte ich die nicht mehr sehen und das Skript auch nicht.

Jo




Mehr Informationen über die Mailingliste Talk-de