Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55190
    aawdaky
    Participant

    Hello
    In the latest map update, I noticed that a large area of sand (natural=sand) had disappeared from the map after adding the tags (place=region) and (region:type=mountain_area)
    Does the presence of these tags conflict with the tag (natural=sand)?
    Related relations:
    https://www.openstreetmap.org/relation/10827666
    https://www.openstreetmap.org/relation/10827665

    #55198
    Avatar photoChristianK
    Keymaster

    You are right, there is a tag-transform:

    	<translation>
    		<name>unify moutain_area</name>
    		<description>unify moutain_area</description>
    		<match mode="and">
    			<tag k="region:type" match_id="a_type" v="mountain_area|mountain_range"/>
    			<tag k="place" v="region"/>
    		</match>		
    		<output>
    			<copy-all/>
    			<tag k="natural" from_match="a_type" v="{0}"/>
    		</output>
    	</translation>

    so these objects finally receive:
    natural=mountain_area instead of natural=sand

    So even in Dessert mountain areas are mountains.
    Hilly terrain in dessert are dunes.

    I will change tag-transform somthat it only works if no natural tag is already present.

    	<translation>
    		<name>unify moutain_area</name>
    		<description>unify moutain_area</description>
    		<match mode="and">
    			<tag k="region:type" match_id="a_type" v="mountain_area|mountain_range"/>
    			<tag k="place" v="region"/>
    			<notag k="natural" v=".*"/>
    		</match>		
    		<output>
    			<copy-all/>
    			<tag k="natural" from_match="a_type" v="{0}"/>
    		</output>
    	</translation>


    @tobias
    Is this OK for you?

    1 user thanked author for this post.
    #55199
    Avatar photoChristianK
    Keymaster

    BTW:

    Natural=desert may be the better version cause its rendered from a much earlier zoom-level on.
    Maybe with surface=sand as attribut.

    jm2c

    #55202
    aawdaky
    Participant

    Regarding the natural=desert tag, I have used it previously, but unfortunately it gives a general and broad meaning (except when the desert=* tag is activated), and it is not supported by some (such as Carto). In general, the natural=sand tag serves the purpose for sandy areas and does not constitute It is a problem currently, but many other desert natural features still do not have tags that are widely used on OSM and do not have appropriate tags, but they are many in our countries, so we are forced to put them on tags that are close or more general, such as locality and other tags.
    Thank you very much for this site and these beautiful and wonderful maps that you provide for free. Please accept my greetings and appreciation.
    Abdullah

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.