This check flags all the objects (Nodes, Ways and Relations) with "ss" or "ß" found in objects.
All these variables are lists and correspond to each other with their indeces. For example, if you are looking to add a country to the list at index 4, then all the other values for that country have to be added to the same index. If there are no elements to put, then add an empty list "[]".
- countries a list of the countries where the check needs to flag items
- containsValues a list of values that we are looking for in the name or street_name tags
- notContainsValues a list of values that mustn't be flagged in this check
- tags what specific value we are looking at for "containsValue". These do not affect code.
- correctTags the proper value that needs to be substituted in.
- Way:44446981 in AUT the way has a name that contains the value "Strasse".
- Way:168119181 in LIE the way has a name that contains the value "Straße"
This check evaluates Nodes and Edges, and Relations. It flags the object that contain the values that are provided in the configuration.json file.
We first validate that the incoming object is:
- Hasn't been flagged previously
- A Way (Main Edge), a Node or a Relation
- The object has a name or street_name tag that contain the values provided in the containsValues variables in the config file.
- The object contains a containsValue variables but in addition contains the notContainsValue variable.
To learn more about the code, please look at the comments in the source code for the check: StreetNameCheck.java