not possible see into this file how map is created https://github.com/osmandapp/OsmAnd-resources/blob/master/obf_creation/rendering_types.xml
you find this <type tag="route" value="train" nameTags="ref" namePrefix="train_" minzoom="11" relationGroup="true" notosm="true"/> Le mercredi 7 juin 2023 à 08:55:41 UTC+2, [email protected] a écrit : > Hi! > > I'm trying to create a custom 'render.xml' that shows tag="route_train" > at any zoom level, but the train routes get hidden when zooming out beyond > level 11. Instead I'm able to render tag="railway" at any zoom level. > > Is it possible to render tag="route_train" at any zoom level? Am I doing > something wrong in my render.xml, or are there some limitations of what > gets rendered from outside render.xml? > > I'm using this basic render.xml to debug: > > =============== > <?xml version="1.0" encoding="utf-8"?> > <renderingStyle name="test2" depends="" version="1"> > > <line> > <switch> > <case tag="route_train" value="" color="#ff0000" > strokeWidth="2"/> > <case tag="railway" value="rail" color="#00ff00" > strokeWidth="4"/> > </switch> > </line> > > <order> > <switch> > <!-- Line --> > <switch area="false" objectType="2" order="80"> > <case tag="route_train" value="" order="102"/> > <case tag="railway" value="" order="101"/> > </switch> > </switch> > </order> > > </renderingStyle> > =============== > > So I render: > > - tag="railway": as a green line of 4px > - tag="route_train": as a red line of 2px > > At zoom level 11 the route_train is still visible: > [image: > https://user-images.githubusercontent.com/360800/242400403-506d4c81-9ed9-41d0-b684-75c141b8f51c.png] > > > But at zoom level 10 the route_train is hidden (while railway is still > visible): > > Thanks for any hints. > > (crossposting from Github discussions, hoping that maybe somebody on the > mailing list knows - https://github.com/osmandapp/OsmAnd/discussions/17316 > ) > > Reto > -- 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/42f1e942-476e-4675-936f-1be9dcb9cad4n%40googlegroups.com.
