Modify ↓
#15283 closed defect (fixed)
Validator complains about Kapitän-Strasser-Straße
Reported by: | GerdP | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.09 |
Component: | Core validator | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Create highway=residential with name=Kapitän-Strasser-Straße somewhere in Germany
- Run validator
What is the expected result?
no warning
What happens instead?
Error "street name contains ss"
Please provide any additional information below. Attach a screenshot if possible.
The road exists a in two cities in Germany.
I think we should only check if wrong spelling of Srasse / Straße appears at the end of the name.
Build-Date:2017-09-10 07:33:07 Revision:12812 Is-Local-Build:true Identification: JOSM/1.5 (12812 SVN en) Windows 10 64-Bit OS Build number: Windows 10 Home 1703 (15063) Memory Usage: 916 MB / 1753 MB (166 MB allocated, but free) Java version: 1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: \Display0 1920x1080 Maximum Screen Size: 1920x1080 VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:64140, -Dfile.encoding=UTF-8] Program arguments: [--debug] Dataset consistency test: No problems found Plugins: + OpeningHoursEditor (33185) + apache-commons (33517) + buildings_tools (33004) + ejml (32680) + geotools (33380) + jts (32699) + o5m (33566) + opendata (33553) + pbf (33568) + poly (33570) + reverter (33572) + utilsplugin2 (33579) Last errors/warnings: - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm> - E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.</html> - W: Failed to locate resource '/README'. - W: Failed to locate resource '/CONTRIBUTION'. - W: Failed to locate resource '/LICENSE'.
Attachments (2)
Change History (11)
Changed 6 years ago by
Attachment: | 15283.patch added |
---|
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
You can use negative lookahead (?!X)
or simply a second selector checking that addr:street
does not contain Straße
.
Changed 6 years ago by
Attachment: | Strasser.osm added |
---|
comment:3 Changed 6 years ago by
There a more valid names containing strasser in germany, see just attached file.
comment:5 Changed 6 years ago by
Type: | enhancement → defect |
---|
comment:6 Changed 6 years ago by
Milestone: | → 17.09 |
---|
comment:8 Changed 6 years ago by
If I remember correctly, that doesn't work due to the territory selector.
Note: See
TracTickets for help on using
tickets.
I just found out that we have names like "Gemeindestraße Amberg" in Austria. My patched test would not complain here.
Maybe someone knows the regex to allow Strasse when it is followed by Straße ?