Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58370
    troNpo
    Participant

    Hello, oam maps should show mines?
    <rule e=”way” k=”landuse” v=”quarry” closed=”yes” zoom-min=”14″>
    <rule e=”any” k=”*” v=”*” zoom-max=”14″>
    <area src=”file:ele-res/p_scree.svg” symbol-height=”16″ />
    This is from Elevate’s code
    But in oam maps they are not displayed, in OSM PAWS maps for example if
    Best regards

    #58373
    Avatar photoChristianK
    Keymaster

    Hi,
    Thats wrong tagging.

    abandoned:landuse=yes
    landuse=quarry

    correct would be:

    abandoned:landuse=quarry

    This would bbe translated by our scripts to
    landuse=quarry
    abandoned=yes
    and displayed OK.

    changed tagtransform to

    	<translation>
    		<name>bring abandoned landuses like quarrys and cemetrys back to map</name>
    		<description>bring abandoned landuses like quarrys and cemetrys back to map</description>
    		<match type="way|relation" mode="and">
    			<tag k="abandoned:landuse" v="(.*)" match_id="aban_landuse"/>
    			<notag k="abandoned:landuse" v="yes"/>
    		</match>
    		<output>
    			<copy-unmatched/>
    			<tag k="landuse" from_match="aban_landuse" v="{1}"/>
    			<tag k="abandoned" v="yes"/>
    		</output>
    	</translation>

    this should catch this problem

    best regards
    Christian

    2 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.