Building on the embryonic version I posted some time ago, I hope others 
find this as useful as I do.

<!--
Renderer for walking and walk planning, dependent on Touring View
(A. Thompson August 2017)

DESCRIPTION: A "walk" way is anything nicer than a road: i.e. footway, 
path, bridleway, cycleway, track. This renderer adds new options to the 
bottom of the "Configure Map" menu under "Other map attributes":
* Hide restricted walks: If set, then walks with the access tag set to "no" 
or "private" are completely hidden (rather than being shown with a very 
slightly different line style). This applies even to walks that would 
otherwise be highlighted.

* Highlight walks: If set, then as you zoom out walks are highlighted in 
bold black. Otherwise they become hard to see or an not rendered at all. 
Tracks remain dashed, other walks are solid.

* Contour 50/100m markers: When set, 100m contours are twice normal width, 
and from zoom level 16 50m contours are 1.5 times normal. When unset , this 
standard behaviour is suppressed and all contours are shown the same width: 
best for general visualisation of the terrain and when closely-spaced 
contours are giving a shading effect that highlights steep slopes.

* Contour width: select from a range of sizes greater than standard.

INSTALLATION:
Place this file in the "rendering" subfolder of your "osmand" folder. You 
could rename it "yourName.render.xml" 
The next time Osmand is fully restarted (after force stop, or swiped away 
from the recent apps list), then this renderer will appear among the 
standard ones in the choices of "Map style" in the "Map rendering" section 
of the "Configure map" menu. Once selected, the extra menu options listed 
above will appear.

KNOWN ISSUES (nothing serious (and not my fault?)):
- When a new contour width is selected, the new value is not immediately 
shown in the "Configure map" menu overview, even though it takes effect on 
the map.
- For some reason, as you zoom out, at the last level before the renderer 
loses control to the overview map, access restrictions aren't detected. So 
if "Hide restricted walks" is on, then walks that are hidden at all closer 
zoom levels make a brief appearance.

TESTING:
To find, for example, something tagged with "access=private" in the 
OpenStreetMap data, http://overpass-turbo.eu can be used by typing 
"access=private" (without quotes) into the wizard.
-->


-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: walking.render.xml
Description: XML document

Reply via email to