osm-fr / osmose-backend

Part of osmose that runs the analysis, and send the results to the frontend.
GNU General Public License v3.0
94 stars 116 forks source link

Add check for name being part of alt_name #2333

Closed Famlam closed 2 months ago

Famlam commented 2 months ago

JOSMs validator rules already check if the value of name is equal to alt_name. This rule instead checks if the value of name is part of alt_name when alt_name contains multiple values

Example: https://www.openstreetmap.org/way/1277853482 name=Paulusbron alt_name=Paulusbron;Op den born

~Requires 2330 and 2332 to be merged first~

Note: I have no idea how many cases there will be worldwide. I just spotted this one and thought it could be interesting, but feel free to reject if it's too specific.