Opinions, please: should I suggest a "Highlight" menu option

114 views
Skip to first unread message

A Thompson

unread,
Apr 26, 2020, 11:00:24 PM4/26/20
to OsmAnd
In the "Configure map" menu are "Details" and "Hide". This is very good. But sometimes you want to clearly see a critical feature that might normally be  obscured. Just for my personal use, this led to me writing derivative renderers  for walking:
and rail travel:

The first one works by making some ways more prominent, the second by allowing you to  turn other stuff off.

Recently I wanted to clearly see UK county boundaries on the map (boundary=administrative, admin_level=6) and was tempted to write a renderer to do it.

But! Walking, rail, county boundaries... would it be good to suggest on github that there could be a menu option at the same level as "Details" and "Hide" called perhaps "Highlight", giving various options? It only needs changes to the rendering .xml's.

Pertti Lehtinen

unread,
Apr 27, 2020, 1:45:04 AM4/27/20
to osm...@googlegroups.com
Thankhou for the great options. 

Unfortunately expected menu options as introduced "In the "Configure map" menu are "Details" and "Hide" do not exist after. xml file copy to the "rendering" folder and closing OSMAND, rebooting and even restarting my phone. OSMAND updates are OK. 

Can you help me please what can be wrong?


--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/6562ca03-d756-4eba-afef-821f30035493%40googlegroups.com.

Eugene zmeu

unread,
Apr 27, 2020, 3:28:31 AM4/27/20
to OsmAnd
You can make your render.xml file for your use case. Read more here https://osmand.net/help/docs/Custom_Rendering_How-To.htm

danilo baggini

unread,
May 1, 2020, 8:35:32 AM5/1/20
to Osmand Chat
The menu options in yours kml are very good.
I have noticed a small  bug:

a highway=track with 
access=yes
motor_vehicle=no

disappear when you select the option Hide restricted walks
but the walk is allowed, the restrictions are only for motors.. 

Danilo





A Thompson

unread,
May 3, 2020, 9:50:44 PM5/3/20
to OsmAnd
Hi! I linked to two different renderers:

walking.render.xml doesn't place its extra options under "Details" or "Hide" but right at the bottom of the menu that contains "Details" and "Hide" under a heading of "Other map attributes"

rail.render.xml gives two extra options under "Hide"

For each, after placing the .render.xml into OsmAnd's rendering folder and doing a full restart, you need to select either "walking" or "rail" in Configure Map>Map style before the new options appear. If you select one of the normal renderers again, then the extra options disappear. 

I hope that helps! I'm glad you're interested.
To unsubscribe from this group and stop receiving emails from it, send an email to osm...@googlegroups.com.

A Thompson

unread,
May 3, 2020, 9:54:40 PM5/3/20
to OsmAnd
Thank you. Actually, since so few users will ever experiment with custom renderers, I was wondering if various highlighting options could be built in to the main app. But on reflection it would probably be messy and complicated, so you're right - custom renderers for those who have special requirements and the necessary know-how!

A Thompson

unread,
May 3, 2020, 9:59:54 PM5/3/20
to OsmAnd
I'm very pleased that someone else has found walking.render.xml useful.

I've looked at a few ways that have the tags you describe (including other tags), but can't replicate the bug. Could you give me the location or OSM way number of an example?

Thanks!


On Friday, May 1, 2020 at 1:35:32 PM UTC+1, danilo baggini wrote:
The menu options in yours kml are very good.
I have noticed a small  bug:

a highway=track with 
access=yes
motor_vehicle=no

disappear when you select the option Hide restricted walks
but the walk is allowed, the restrictions are only for motors.. 

Danilo



Il Lun 27 Apr 2020, 05:00 A Thompson <thomp...@gmail.com> ha scritto:
In the "Configure map" menu are "Details" and "Hide". This is very good. But sometimes you want to clearly see a critical feature that might normally be  obscured. Just for my personal use, this led to me writing derivative renderers  for walking:
and rail travel:

The first one works by making some ways more prominent, the second by allowing you to  turn other stuff off.

Recently I wanted to clearly see UK county boundaries on the map (boundary=administrative, admin_level=6) and was tempted to write a renderer to do it.

But! Walking, rail, county boundaries... would it be good to suggest on github that there could be a menu option at the same level as "Details" and "Hide" called perhaps "Highlight", giving various options? It only needs changes to the rendering .xml's.

--
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 osm...@googlegroups.com.

danilo baggini

unread,
May 5, 2020, 2:32:19 PM5/5/20
to Osmand Chat
Excuse me for the delay..
I am not in condition to give you the way id of the bug but I can give the relation id where the way is inside:
relation id 7685374
ref P01b
from Verbania frazione Suna
to Chiesetta del Pellegrino

Best regards
Danilo

To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/8101c93c-269a-4363-a6bb-8e1790667013%40googlegroups.com.

A Thompson

unread,
May 6, 2020, 9:38:36 PM5/6/20
to OsmAnd
Thanks, Danilo, I see your issue. But I think we just need to wait for the next OsmAnd map update. 

Looking, for example, at Way 76597840 which is a part of your relation displaying the undesirable behaviour, I see from https://osmlab.github.io/osm-deep-history/#/way/76597840 that between January 4th and April 8th, this was tagged with access=no. The current OsmAnd map for Italy Piemonte is dated April 1st, so this is the information being used, in which case my renderer is doing the right thing.

If the next map update doesn't fix it, then I'll need to look again!

Thanks for your input!
Reply all
Reply to author
Forward
0 new messages