By the way, to use that renderer, save it as a text file called whatever.render.xml in your osmand/rendering folder. The next time you do a full restart of osmand, "whatever" will appear in the "Configure Map" menu under the Map rendering> Map style options. It's probably not something you would want enabled all the time, even only in pedestrian mode, but I do find it a handy option.
On Tuesday, September 13, 2016 at 3:26:32 AM UTC+1, A Thompson wrote: > > Osmand with the contour lines plugin is great for walking, especially > using touring view. But as you zoom out, walkable ways disappear too soon > for planning a long walk on a small screen. I don't know what I'm doing, > but I managed to make a derivative renderer that highlights walkable ways > in solid bold black when they would otherwise disappear as you zoom out. > Tracks remain dashed, as it's possible they are only for farm access > without this having been tagged in the OSM data. Also, the width of contour > lines are doubled, being hardly visible on a small screen. > > Standard touring view, zooming out from left to right: > > > <https://lh3.googleusercontent.com/-oE03Eu6MYe8/V9dhVSxrmuI/AAAAAAAAAA4/fdNfk_eKuaUaCvCutnVh2igewd2Cd5-2wCLcB/s1600/before.jpg> > and after the derivative renderer: > > > <https://lh3.googleusercontent.com/-jrjml0_NsMo/V9dhwqCF3AI/AAAAAAAAAA8/o9JS54EOZXwwjID5qE-2cdyOeof_12F-QCLcB/s1600/after.jpg> > > This must be trivial for many, but it's useful for me. Here's the renderer: > > <renderingStyle name="Touring-view_AdeMaxPath.render" depends="Touring > view (contrast and details)" defaultColor="#f1eae4" version="1"> > > <!-- > * Zooming out in pedestrian mode, as soon as something you could walk down > would disappear from Touring View, put it in bold black > * Tracks stay as dashed lines but become bold at the same time, the other > bold black lines are solid > * Width of all contour lines doubled in all cases > --> > > <renderingConstant name="maxPathColor" value="#000000"/> > > <renderingConstant name="contourLineColor" value="#2Aff7c00"/> > <renderingConstant name="contourLineColor50m" value="#2Aea7300"/> > > <line> > <group> > <filter tag="highway" value="footway"/> > <filter tag="highway" value="path"/> > <filter tag="highway" value="bridleway"/> > <filter tag="highway" value="cycleway"/> > <groupFilter> > <filter appMode="pedestrian"> > <filter minzoom="1" maxzoom="13" color="$maxPathColor" > color_5="$maxPathColor" strokeWidth="2" strokeWidth_5="2"/> > </filter> > </groupFilter> > </group> > > <group> > <filter tag="highway" value="track"/> > <groupFilter> > <filter appMode="pedestrian"> > <filter minzoom="1" maxzoom="13" color_5="$maxPathColor" strokeWidth="2" > strokeWidth_5="2"/> > </filter> > </groupFilter> > </group> > > <!-- Contour Lines: This is just copied from the Touring View renderer, > with every strokeWidth doubled --> > <group> > <!-- Originally the following widths were all 1 --> > <filter contourLines="11" tag="contour" value="elevation" minzoom="11" > color="$contourLineColor" strokeWidth="2"/> > <filter contourLines="12" tag="contour" value="elevation" minzoom="12" > color="$contourLineColor" strokeWidth="2"/> > <filter contourLines="13" tag="contour" value="elevation" minzoom="13" > color="$contourLineColor" strokeWidth="2"/> > <filter contourLines="14" tag="contour" value="elevation" minzoom="14" > color="$contourLineColor" strokeWidth="2"/> > <filter contourLines="15" tag="contour" value="elevation" minzoom="15" > color="$contourLineColor" strokeWidth="2"/> > <filter contourLines="16" tag="contour" value="elevation" minzoom="16" > color="$contourLineColor" strokeWidth="2"/> > <groupFilter> > <!-- Originally the following widths were 1, 1, 1.5, 2 respectively --> > <filter additional="contourtype=10m" color="$contourLineColor" > strokeWidth="2"/> > <filter additional="contourtype=20m" color="$contourLineColor" > strokeWidth="2"/> > <filter additional="contourtype=50m" minzoom="16" > color="$contourLineColor50m" strokeWidth="3"/> > <filter additional="contourtype=100m" color="$contourLineColor50m" > strokeWidth="4"/> > </groupFilter> > </group> > </line> > > </renderingStyle> > > > -- 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 osmand+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.