Open dvdmrtnz opened 2 years ago
@vng can you please take a look?
Also linear Features are created for area pedestrian/footway/service OSM ways now, while for relations are not. In general, do we need linear Features for area highway objects at all?
Here is a good complicated area example
At a minimum, areas should be routable and searchable. Ideally also visible. What was the reason to create linear features for pedestrian/footway/service ways?
Because making areas routabe is a complicated problem.
A linear pedestrian way around an areal square doesn't look very good, but is needed for the routing indeed.
A related case is a closed way waterway=dam
which is also represented in OM as both linear and area features:
It doesn't look good at all (path captions on dam borders). Ideally we would create an areal feature here only. But how to distinguish with the pedestrian area case? A hardcoded exception?
More common cases are like closed way amenity=school barrier=fence
. We create an areal schoolgrounds and a linear fence - sounds fine.
And is it possible there is a waterway=dam barrier=wall
?
Also linear Features are created for area pedestrian/footway/service OSM ways now, while for relations are not.
An example of multipolygon highway-pedestrian-area, for which OM doesn't create a linear feature: https://www.openstreetmap.org/relation/10950251#map=18/48.85260/2.36877
Surrounding areas has a linear feature hence there is a dashed border line.
@vng did 6c199705a6a12b7e8e0f034f8e21736367f11b03 fix it?
I think this has been fixed. Tagging in the places shown in the original post has changed since then, but checking other highway=pedestrian
multipolygons tagged without area=yes
they seem to be rendering correctly in Organic Maps version 2023.12.18-26:
https://omaps.app/8n_T5Jjh4N/Plaza_del_Juez_Elío om://8n_T5Jjh4N/Plaza_del_Juez_Elío https://www.openstreetmap.org/relation/1727158#map=19/42.81759/-1.65730
--
https://omaps.app/4n_Tz7g1Al/Paseo_Santxiki om://4n_Tz7g1Al/Paseo_Santxiki https://www.openstreetmap.org/relation/1364762#map=17/42.80023/-1.61372
Yes the generator now adds area=yes
to multipolygon relations explicitly.
But why those areas don't have border lines then?
But why those areas don't have border lines then?
I don’t know why, but I think they look better without an outline
If a multipolygon is tagged as
highway=pedestrian
andarea=yes
, it gets rendered correctly:https://www.openstreetmap.org/relation/1405820#map=18/42.80863/-1.66987
https://omaps.app/8n_T4XVT7d
However, if the multipolygon is tagged as
highway=pedestrian
without thearea=yes
tagging, it doesn’t get rendered at all:https://www.openstreetmap.org/relation/13847953#map=19/42.81189/-1.65802
https://omaps.app/4n_T5DiNfz
This seems like a bug. The wiki says that
area=yes
is not needed for multipolygons.https://wiki.openstreetmap.org/wiki/Key:area