Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58563
    tartiflette74
    Participant

    Hi,
    some buildings have admin_level=2 (not sure what is this supposed to mean…), e.g. https://www.openstreetmap.org/way/54046934 .
    They are rendered as boundaries; would it be possible to filter-out the admin_level tag for non-boundary ways? (it seems the boundary= administrative tag is not included in OAM so not sure how to filter this in the theme)
    Thanks!

    #58564
    Avatar photoChristianK
    Keymaster

    Hello,

    Will be done in tagtransform next update,
    thanks for bringing this to my attention.

    Best regards
    Christian

    	<translation>
    		<name>remove admin with no boundary</name>
    		<description>remove admin boundary</description>
    		<match mode="and" type="way">
    			<tag k="admin_level" v=".*"/>
    			<notag k="boundary" v="administrative"/>
    		</match>
    		<output>
    			<copy-all/>
    			<tag k="admin_level" v="none"/>
    		</output>
    	</translation>
    3 users thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.