Extending .render.xml assistance

33 views
Skip to first unread message

Andrew M

unread,
Aug 13, 2025, 9:38:02 AMAug 13
to OsmAnd
Hi.  I'm struggling to understand the rules/syntax of the render.xml files.  Despite the info at https://osmand.net/docs/technical/osmand-file-formats/osmand-rendering-style/ and the comments in the default.render.xml file I've only managed to get the simplest changes working.  I want to extend an existing render file (like Topo or Default) rather than create an entirely new one so I'm using the 'depends' attribute.

Specifically, what I want to do is hide the objects named 'Unnamed ... Heritage Agreement' that litter the map in my region (South Australia, see attached screenshot).  They are technically 'Nature Reserves' but are generally not public access and not of relevance to me.  I still want to display 'normal' reserves like National Parks.

From what I can see, they don't have a consistent tag that distinguishes them from other reserves other than the format of their name.  The Operator tag could catch quite a few though.

Is it possible to match objects on a partial name?  I thought 'nameTag' might do it but I can't even get that to match a complete name let alone a partial name.

Any advice appreciated but as I'm struggling to understand the basics, the more specific the guidance is, the better.  Thanks

Screenshot_2025-08-12-18-53-59-633_net.osmand.jpg

xmd5a

unread,
Aug 14, 2025, 3:52:22 AMAug 14
to OsmAnd
Hi! No, this is not possible to do with rendering style. Name (text type) tags can't be filtered. This can be done only by changing map data.

среда, 13 августа 2025 г. в 16:38:02 UTC+3, Andrew M:

Andrew M

unread,
Aug 16, 2025, 2:47:07 AMAug 16
to OsmAnd
That's disappointing but thanks for the quick response.
Do you know if it's possible to filter on the 'Operator' attribute?  I've attached screenshots of one of the objects in Osmand and in OSM (https://www.openstreetmap.org/relation/9179613).  It's not a perfect match for these areas but it's close enough for my use.
Thanks.
Osmand_details3.jpgosm_data3.jpg
Reply all
Reply to author
Forward
0 new messages