Betrachte 2 Beiträge - 1 bis 2 (von insgesamt 2)
  • Autor
    Beiträge
  • #58370
    troNpo
    Teilnehmer

    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-FotoChristianK
    Administrator

    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 Teilnehmer(n) gefällt dieser Beitrag
Betrachte 2 Beiträge - 1 bis 2 (von insgesamt 2)
  • Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.