#15664 closed enhancement (fixed)
Drop area=yes from closed highway=services|rest_area
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 18.02 |
Component: | Core validator | Version: | |
Keywords: | highway area | Cc: | Klumbumbus |
Description
I guess that due to https://github.com/gravitystorm/openstreetmap-carto/issues/137 and https://github.com/openstreetmap/iD/issues/4194 we have 12320 highway=services|rest_area
with an unnecessary area=yes
https://overpass-turbo.eu/s/tKb
It seems safe to drop area=yes
-
data/validator/unnecessary.mapcss
32 32 fixRemove: "{2.key}"; 33 33 } 34 34 35 /* #15664 */ 36 area:closed[highway=rest_area][area?], 37 area:closed[highway=services][area?] { 38 throwWarning: tr("{0} is unnecessary for {1}", "{2.key}", "{1.tag}"); 39 group: tr("unnecessary tag"); 40 fixRemove: "{2.key}"; 41 } 42 35 43 *[emergency=permissive] { 36 44 /* see #9458 - emergency=permissive makes no sense */ 37 45 throwWarning: tr("{0} makes no sense", "{0.tag");
Attachments (0)
Change History (7)
comment:1 by , 7 years ago
Cc: | added |
---|---|
Keywords: | highway area added |
follow-up: 3 comment:2 by , 7 years ago
There are:
railway=roundhouse
+ area=yes
has 3 objects
railway=station
+ area=yes
has 3434
railway=traverser
+ area=yes
has 63
railway=turntable
+ area=yes
has 178
railway=wash
+ area=yes
has 5
But it seems that the default renderer still needs area=yes
for some cases.
For example, railway=station
without area
isn't rendered https://www.openstreetmap.org/way/233216247
While with area=yes
it is: https://www.openstreetmap.org/way/332922836
follow-up: 4 comment:3 by , 7 years ago
Replying to naoliv:
For example,
railway=station
withoutarea
isn't rendered https://www.openstreetmap.org/way/233216247
This is rendered!?
comment:4 by , 7 years ago
Replying to Klumbumbus:
Replying to naoliv:
For example,
railway=station
withoutarea
isn't rendered https://www.openstreetmap.org/way/233216247
This is rendered!?
Maybe it's now rendered because it was modified to include public_transport=station
:-)
Some new railway=station
examples
https://www.openstreetmap.org/way/93768774
https://www.openstreetmap.org/way/194746272
https://www.openstreetmap.org/way/515564646
https://www.openstreetmap.org/way/310235340
comment:5 by , 7 years ago
Hm strange, I thought the public_transport tags were not in the carto database at all.
comment:7 by , 7 years ago
Milestone: | → 18.02 |
---|
Should the test be also extended to
railway
values listed there? https://github.com/openstreetmap/iD/commit/10659505e2a4d131cf01fe1a1cade4c170118afa#diff-a38515b4b0fcbf25755cd7345c9bbf78R155