You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Install this repo, plus dependencies as per the documentation
Local pelias.json is configured as below
whosonfirst and geonames importers have already downloaded and run their respective download and import tasks
Thanks @vicchi, the 'error' is only really a warning, I agree its a bit too shouty, there is a PR open to fix it pelias/model#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 🤦
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
The text was updated successfully, but these errors were encountered: