-
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
Some generic name validation is too strict #5930
Comments
@seav The generic name validation uses the Keep in mind that the generic name validation uses imperfect heuristics and you can ignore it! There are bars named "Bar" after all. |
Yup, I know that I can ignore the warnings similar to how I handle validation errors flagged by JOSM. But I am an experienced OSM mapper after all. I fear that newbie OSM mappers who use iD may think that what they are doing is wrong because of these too strict warnings. |
@seav I agree with you 100%. We should fix this case. I was just letting anyone who reads this thread know it's okay to ignore warnings 😅 |
Is it importing filters or just copied them as a starting point? Because blindly importing them is a bad idea, their purpose is not to detect generic names but to discard all non-brand names. Other cases that will happily generate false positives from a quick look: "Bank spółdzielczy" (matches I would suggest to maintain them as a separate list - maybe with list of filters excluded as too zealous and adopted to make importing new ones easy. |
Yes, the filters.json list isn't really designed to be a name filter for iD, we are just using it for now. We could create a separate list, but it might be faster and more useful to just tweak the filters.json list to move more of the specific names, like those hotels, from |
Specific names should be in `discardKeys` not `discardNames` (re: openstreetmap/iD#5930
☝️ I did this.. I'm going to close for now, but we can always adjust the filter some more if it turns out to still be too aggressive. |
I have added the name "Bacolor Municipal Hall" to a feature tagged
amenity=townhall
and I get the following validation warning with a button inviting me to remove the name:But as you can see, the name is a proper proper name and is not a generic name.
The text was updated successfully, but these errors were encountered: