Interesting question. I looked at Topo and a few other built-in renderers 
on github (here 
<https://github.com/osmandapp/OsmAnd-resources/tree/master/rendering_styles>) 
and they don't make any reference to maxspeed. So I suspect that maxspeed 
is not supplied to the rendering engine.

But... would that really have worked for you anyway? From your writing I 
guess you might be in the UK. In which case you can have nice rural cycling 
roads with maxspeed=60 mph The big distinction I can see is 70 mph allowed 
only on dual carriageways (i.e. with a central barrier). Maybe you could 
look at "type=dual_carriageway" or "lanes=" ? I don't know if either would 
work, it's just an idea.

On Wednesday, June 10, 2020 at 12:02:30 PM UTC+1, Damien wrote:
>
> I'm making a custom render.xml for cycling based on the Topo style. I was 
> wondering if it was possible to apply styling based on the speed limit for 
> a particular road? I've tried various selectors like 
> additional="maxspeed=X", but that does not seem to work.
>
> The goal would be to disambiguate urban trunk roads (totally cyclable) 
> from high speed trunk roads that are more like motorways.
>
> Thanks for any insights :)
>

-- 
You received this message because you are subscribed to the Google Groups 
"OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/9cdfe32f-fe66-4a07-af47-bce471daf66co%40googlegroups.com.

Reply via email to