<div dir="ltr">Hi!<br><div><div class="gmail_extra"><br><div class="gmail_quote">2014-07-19 23:13 GMT+02:00 Jo <span dir="ltr"><<a href="mailto:winfixit@gmail.com" target="_blank">winfixit@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<p dir="ltr">Could it be solved using lists?<br></p></blockquote></div>That is not my problem. I can easily (as easy as it gets in mapcss ;-) ) sum up all information to one piece, but I simply don't get all the information. <br>
<br></div><div class="gmail_extra">My current selector selects one to-way with one random relation. So I can display the information from this one, random relation (using parent_tag). But I can't find any way to get access to any other relation.<br>
<br></div><div class="gmail_extra">I thought of setting some kind of flag to remember what relation I have already processed and then use a second selector which uses that information to not(!) select the same relation again. But I can't get it work.<br>
<br>What would work for me would be a small extension to the selectors: currently if you use a child selector, the child (in my case: the way) is only selected once, even if there were multiple parents. So the following rule will only be executed once, even if there would by more than one relation:<br>
<br></div><div class="gmail_extra"></div>relation[type="destination_sign"] >[role="to"] way<br>{<br></div><div>  whatever: eval(is_prop_set(whatever)?(whatever+1):(0));<br></div><div>}<br><div class="gmail_extra">
<br></div><div class="gmail_extra">If it would be possible to tell mapcss to re-interpret this rule for every fitting relation (maybe using >> instead of >), at least my problem would be solved.<br><br></div><div class="gmail_extra">
Best regards,<br></div><div class="gmail_extra">Martin<br></div><div class="gmail_extra"><br><br><br><br></div><div class="gmail_extra"><br></div></div></div>