organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
9.53k stars 914 forks source link

Improve highway=footway visibility #2123

Closed pastk closed 7 months ago

pastk commented 2 years ago

(originally posted in https://github.com/organicmaps/organicmaps/issues/1427#issuecomment-1005172739)

At the moment footways are rendered by a white dashed line, which looks great in urban setting imho, but there are cases when its hardly visible against pale backgrounds (https://www.openstreetmap.org/way/119140699#map=16/51.0872/-1.4516): Screenshot_1644924862 The footway in the center at the edge of farmland and meadow is very hard to see. Note that in the bottom another footway in the middle of farmland is more visible, but not good still.

Let's brainstorm how to make it better without breaking visibility of other things :) Screenshot_1644925485

Some ideas:

pastk commented 2 years ago

And an example with a good-looking white footway Screenshot_1644926335

pastk commented 2 years ago

BTW we have a similar issue with smaller roads, e.g. (51.48894,0.01497) Screenshot_1644926816

pastk commented 2 years ago

A minor change option:

current style is to the left to the right the footway is brighter (max white) and the farmland is a bit darker

darker-farmland

pastk commented 2 years ago

An option with reddish color similiar to the highway=path (path and track rendering added for comparison).

footway-path

biodranik commented 2 years ago

Looks better, maybe not so red ) Would be great to see it in cities.

pastk commented 2 years ago

Looks too bold in the cities. Much more visibility than lesser roads even.

Screenshot_1645023537

Could probably improve it playing with width and opacity at lower zooms, but its going to be more prominent than before anyway (as it was the point basically)...

BTW, in OSM footway and path are rendered exactly the same. Maybe we should do it too. ATM they look a little different (footways are reddish):

Screenshot_1645023652

biodranik commented 2 years ago

Let's make a branch with it and test. Don't make them equal, but make the red one a bit more brownish.

pastk commented 2 years ago

Its so brownish already that I wouldn't tell a path apart from a footway unless both of them are in a viewport :) That's why I thought maybe its easier to use same color but different dash lenghts maybe if we want them to look differently.

But the biggest issue is that the roads should be more visible than footways around. We can do it by adding a thin casing around (just like OSM and OSMand do) at the expense of slower rendering.

pastk commented 2 years ago

I'm leaning towards a more complex solution which we can implement in a few steps:

  1. make farmlands and parkings darker - it's an easy and small change and will help both with footways and lesser roads visibility (though won't solve the issue completely)
  2. experiment more with dark footways and looks harmonization with paths (and tracks, bridleways..)
  3. experiment with adding casing to the roads when needed - extra benefit is it'll allow to distinguish between paved/unpaved by altering solid/dashed casing like other renderers do