-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Updated some german abbreviations & added support for fractional housenumbers #159
base: master
Are you sure you want to change the base?
Conversation
GH mess up fix
Not very common in germany, but some counties decided that this would be a good idea.
hi @arnesetzer there is an issue running CI for external contributors. Please rebase master against your branch and push to trigger the CI |
@arnesetzer the unit tests are failing, you can run them locally with the command |
@@ -15,7 +15,8 @@ class HouseNumberClassifier extends WordClassifier { | |||
/^(\d{1,5})[a-zA-Z\u0400-\u04FF]?\/(\d{1,5})$/.test(span.body) || // 1/135 or 1b/135 Style | |||
/^(\d{1,5})([nsewNSEW])(\d{1,5})[a-zA-Z]?$/.test(span.body) || // 6N23 Style (ie Kane County, IL) | |||
/^([nsewNSEW])(\d{1,5})([nsewNSEW]\d{1,5})?$/.test(span.body) // W350N5337 or N453 Style (ie Waukesha County, WI) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing ||
at the end of the line here
👋 I did some awesome work for the Pelias project and would love for everyone to have a look at it and provide feedback.
Here's the reason for this change 🚀
Here's what actually got changed 👏
Examples:
Here's how others can test the changes 👀
Import the german osm data and try to find these buildings by their address. As far as I concerned these are written down correctly in OSM