-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validator: Warning on power=line and location=underground #6206
Comments
It looks like, this does not happen often (it seems it does not even make the taginfo threshold). But the way I understood quincylvania in Slack is, that the count of errors is not the driving force to add is as validation. So this is just FYI. https://taginfo.openstreetmap.org/tags/location=underground#combinations |
There are only 164 instances of this error: https://overpass-turbo.eu/s/I7f |
I agree and rest this case / issue :-) |
@famo Interesting idea! I don't think we'd want a dedicated top-level validation rule for this, but I'm thinking more that we should have a validation rule that consumes a JSON file defining incompatible tag combinations. This could be one of those. @BjornRasmussen said:
The work that @bhousel is doing in #6140 will make iD's validation considerably more performant, so this isn't a long-term concern! I'll admit that bottlenecks up until now have prevented us from adding more costly geometry validations like #5869 😕 |
Yes - I think we can add a rule for this one to |
Nice! I would love more validation in iD, but really don't want it to become super slow. |
Hi Wiki Data Items could solve this problem with P44 property : incompatible with. power=line and location=underground is a compatibility matter and doesn't deal with deprecation, it never has been encouraged. @bhousel is this possible to avoid a deprecated.json file and directly take validation rules with wiki data items? |
Sorry, but I'm really not interested in adding anything wiki as a critical dependency on how iD works. |
Nevertheless the issue here doesn't regard deprecation but incompatibility. This doesn't make any deprecated.json legit |
@flacombe You're right that this isn't strictly deprecation, but it doesn't make much difference from the user's perspective. Despite its name, deprecated.json contains many fringe tags that were never widespread and thus never "deprecated". The overall idea is to help users apply standard tagging to existing features. |
Thanks @quincylvania Then I don't get why iD should get a different list than JOSM or any other editor (assumed according @bhousel comment). |
@flacombe We maintain tagging data that we thinks best suits the needs of iD. This is the same logic as iD having its own presets, which it has for years now. Other projects are free to use our data if they want. |
Judging from gravitystorm/openstreetmap-carto#3746 I think it would be useful to display a warning for tags with
power=line; location=underground
Quote from the wiki https://wiki.openstreetmap.org/wiki/Tag:power=line?uselang=en-US:
and
The text was updated successfully, but these errors were encountered: