Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22467
    geoffmozz
    Participant

    I’d like to make the markings that represent crags and cliffs more obvious.
    Just using a darker colour would help. I’m hoping someone will point me at the appropriate line/s in the rendertheme so I can change the colour to black or similar. I don’t know my way round a rendertheme.

    I spend a lot of time in the hills and when compared to government funded topo raster maps a weakness of OpenStreetMap-based maps is their representation of steep and craggy areas. The NASA contours aren’t detailed enough to reveal where the very steep terrain is. I think OpenAndroMaps are great and the best free OSM-based maps I’ve seen, but personally I think the crag/cliff markings could usefully be more obvious.

    I’ve attached a screenshot of a particularly craggy area in the Lake District, England. The markings called Pillar Rock are the ones I’d like to make stand out more.

    All help gratefully received.

    #22470
    Avatar photoJohnPercy
    Participant

    In your chosen theme, such as Elevate, look for features such as gorge, cliff, ridge, arete, crater and edit the colour of the line stroke in each case. For example:

    		<rule e="way" k="natural" v="cliff" closed="no" zoom-min="14">
    			<line stroke="#70606060" stroke-width="1dp" stroke-dasharray="1.5,1.5" stroke-linecap="butt" />
    			<pathText k="name" dy="-1.2dp" font-style="bold_italic" font-family="serif" font-size="10dp" fill="#666666" stroke="#E5FFFFFF" stroke-width="2dp" />
    			<lineSymbol src="file:../ele_res/s_cliff.svg" dy="0.5dp" repeat="true" repeat-gap="50" force-draw="1" symbol-width="16dp" />
    		</rule>

    In line stroke="#70606060" the color is of the form #AARRGGBB where AA is the opacity in hexadecimal, and RRGGBB is the RGB value of the colour, again in hexadecimal. You can make the line more opaque by changing 70606060 to (say) B0606060 and make it darker in any case by changing the 606060 part to (say) 404040. Thus, that section of the theme could become:

    		<rule e="way" k="natural" v="cliff" closed="no" zoom-min="14">
    			<line stroke="#B0404040" stroke-width="1dp" stroke-dasharray="1.5,1.5" stroke-linecap="butt" />
    			<pathText k="name" dy="-1.2dp" font-style="bold_italic" font-family="serif" font-size="10dp" fill="#666666" stroke="#E5FFFFFF" stroke-width="2dp" />
    			<lineSymbol src="file:../ele_res/s_cliff.svg" dy="0.5dp" repeat="true" repeat-gap="50" force-draw="1" symbol-width="16dp" />
    		</rule>

    That said, the mapping of craggy areas is not done well or consistently. Very few crags can really be represented by cliff lines on a vector map and I am not sure that you will get a very satisfactory result. I speak from experience having tried various combinations of markings for my Voluntary theme.

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    1 user thanked author for this post.
    #22472
    geoffmozz
    Participant

    John, that’s exactly the help I was hoping for. Thank you very much.
    I’ve successfully edited the theme using your tips and can now see the ‘cliff’ markings much more easily. 100% opacity, black and 1.5 stroke width makes them more apparent to my middle-aged eyes. I can tweak away now.
    You’re right that craggy areas aren’t well represented but the markings do at least warn that the ground is likely to be unsuitable for walking. I’d prefer not to miss any if I’m off paths and the mist descends.
    Cheers, Geoff

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