Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47295
    karlchick
    Participant

    In the v3 OAM maps railway=preserved indicates a preserved railway. However this seems to missing from some preserved railways since v4 and v4 OAM MAPS. The tagmapping.xml file still lists railway=preserved.

    Attached is example of preserved railway in v3 and v5 maps. In v3 the railway is shown with preserved theme nd icon correctly. In v5 it is rendered as standard railway lines. The last screen shot shows a partial working example in v5 from this location:

    https://www.openstreetmap.org/query?lat=51.73574&lon=-2.53962

    #47303
    Avatar photoChristianK
    Keymaster

    railway=preserved is still working

    However mappers alway invent new tags, heaven knows why….
    So on 4.1.2022 the taggging was changed to railway:preserved=yes
    … as you can see in OSM,
    and this isn’t covered by OAM until now.

    OK, I’v added a rule to tag-transform for a q&d solution

    	
    <translation>
    	<name>railway:preserved=yes 2 railway=preserved</name>
    	<description>railway:preserved=yes 2 railway=preserved</description>
    	<match>
    		<tag k="railway:preserved" v="yes"/>
    	</match>
    	<output>
    		<copy-unmatched/>
    		<tag k="railway" v="preserved"/>
    	</output>
    </translation>
    
    

    However in this case the new railway.preserved=yes inaddition of railway=* is IMO the more accurate way of tagging.

    @Tobias
    , whats your opinion on this issue. IMO its quite an effort to change the theme in this way ??

    #47323
    Avatar photoTobias
    Keymaster

    @Tobias, whats your opinion on this issue. IMO its quite an effort to change the theme in this way ??

    We’ve got several cases (at least I think so ;-)) where new, more logical tags could have replaced older ones we already have in the maps… so I think if we do tag-transform to railway=preserved only adds to this and doesn’t hurt much.
    It might make more sense if we make (one day) a deep analysis of the tagmapping and do make it more consistent and up to date with every tag involved an not just one by one – so it’s only one big issue to solve for theme designers and not several small ones at different times… it’s then also more transparent for the users – use theme of date XX and newer for maps date XX and newer.

    Developer of Elevate mapstyle

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