Closed vicchi closed 4 years ago
Thanks @vicchi, the 'error' is only really a warning, I agree its a bit too shouty, there is a PR open to fix it https://github.com/pelias/model/pull/122.
The root cause is that we put in some code to deal with incorrectly mapped names in OSM, to catch cases where mappers put URLs in one of the name fields 🤦
https://www.openstreetmap.org/node/2198858524
addr:housename = https://www.nottinghamcollege.ac.uk/about-us/locations/wheeler-gate
You can safely ignore PeliasModelError: invalid regex test
log lines until that PR is merged.
@missinglink (breathes virtual sigh of relief) ... thanks for the response. I will fret no more and also close this issue down. Cheers
Describe the bug
During import of the GB OSM extract from Geofabrik a
PeliasModelError: invalid regex test
error and stack trace occurs. The import continues, apparently successfully.Steps to Reproduce
pelias.json
is configured as belowwhosonfirst
andgeonames
importers have already downloaded and run their respective download and import tasksnpm run download
npm start
Expected behavior
No errors. Which is always nice. But the presence of a stack trace feels like a bug and that invalid data isn't being handled the best way?
Environment (please complete the following information):
Pastebin/Screenshots
Additional context
References