Road line thickness?

2,478 views
Skip to first unread message

Ed Halley

unread,
Apr 5, 2014, 10:39:05 AM4/5/14
to osm...@googlegroups.com

Please offer an adjustment for overall road line thickness.  On my phone, many areas turn into a thick tangle of roads with little land between them.  I don't need a line to be 5 pixels thick plus 2 pixels of shoulder color to be able to see it.  Provide a global thickness factor, and apply it to all of the road lines.

Hardy

unread,
Apr 7, 2014, 4:22:52 PM4/7/14
to osm...@googlegroups.com
Ed. please try this: On the map screen, long-press the zoom+ button, Then adjust your overall screen magnification percentage to something smaller. I assume yours may be set to something too high.
 
If this does not fix your issue, I would be grateful for a screenshot which shows your exact issue.
 
thx - Hardy

Ed Halley

unread,
Apr 7, 2014, 5:14:55 PM4/7/14
to osm...@googlegroups.com
Thanks for replying.  I didn't spot this extra long-press feature before.  While it does help the line thickness problem, it unfortunately also makes all text labels too small to read.  On some roads, the label is fitting inside the road line, which partially explains why you favor thicker lines.

Here's screenshots at the default (which was 200%), and two screenshots at 75%.  The lines dominate less, but all labels shrink too far.

I can read labels at the 100% scale, though it's marginal.  When I zoom out a bit, there are just too many lines to make sense of anything, especially in urban cores.  It seems like the algorithm should demote or strip more local roads to give a better regional experience.

The last image shows white and yellow roads that probably cannot give me any sense of understanding when zoomed out to see the region, for example.



--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/LVNK11QgCFI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
[ e d @ h a l l e y . c c ]
2014-04-07 20.41.10.png
2014-04-07 20.43.07.png
2014-04-07 20.43.47.png
2014-04-07 21.11.23.png

Aceman444

unread,
Apr 7, 2014, 6:17:13 PM4/7/14
to osm...@googlegroups.com
The request here seems to be to render only the road lines narrower, without affecting size of anything else. The roads are too thick so cover every other object on the map. The color of the line is enough of an indicator of the importance of the road so the roads could be rendered narrower (2-3 px wide).

I'd vote for this OPTION too.

Dňa sobota, 5. apríla 2014 16:39:05 UTC+2 Ed Halley napísal(-a):

EvanCanton

unread,
Apr 7, 2014, 6:56:58 PM4/7/14
to osm...@googlegroups.com
I know that not everyone is interested in editing a render.xml file, but there are some for download at the OSMand site, and perhaps here in these messages too. 
I aquired a copy of default.render.xml and edited it myself to adjust line thickness for all roads, it's a task for sure, because you have to change a lot of numbers in a lot of places. 
But, just so everyone knows it is possible to do this.  I find it unnecessary to have larger more important roads rendered thicker, since they are already color-coded, at they can obfuscate other map details at lower zoom levels.
Anyway, after editing a render.xml file, it is placed in the Osmand/rendering folder.  Then one must select 'map style' from the gear-icon on the map screen, and select the rendering file to use.

I understand the problem with thick map lines, and just offer this as one possible solution.

Hardy

unread,
Apr 8, 2014, 3:27:40 AM4/8/14
to osm...@googlegroups.com
Yes, the default magnification for map viewing is 150%, and for the driving (car mode) is 200 %, which makes reading street names easier. At 100%, most street names just fit in the street width. So far for the original design.
 
Most render files are authored largely by me, so no need telling me how much work it is ... :-)  :-)  :-)
 
Other than taste, there is one more complication here: The optical appearance of the street width depends on the hardware, namely on the screen resolution and screen density. We have introduced hardware-dependent and hardware-independent pixels some time ago in our render engine, but I had not found the time to systematically work out a formula which work better on all devices. Looks like if we have people who care, I will have to tackle this some time :-)   I think victor had already proposed something which looked promising to me...
 
The alternative would be to create a simplified map style much like google maps has it, where many streets are just reduced to single lines at most zoom levels. While this simplified rendering does not fulfill many peoples requirements if they are drivers, researchers, or otherwise intensive map users, it may be more appealing to many people just trying to get an overview and being used to google maps etc., not sure ...
 
PS: Please also try to use my high-density "Touring view" renderer (Map screen: Configure screen / Map style / Touring view), but I think it will not solve your original issue. 
 
Best,
Hardy
 
Reply all
Reply to author
Forward
0 new messages