Closed vrozental closed 5 years ago
@vrozental you can ignore these 'errors', they are indicating that the document had an URL when we were expecting a name. The actual error here is that these warnings are too verbose in the logging which makes people assume there was an import error when there wasn't.
duplicate of https://github.com/pelias/docker/issues/89 and https://github.com/pelias/polylines/issues/216.
Thank you @missinglink
I saw this issue come through and confirmed that the record no longer contains this bunk name property.
@missinglink - this test seems very useful.. can you point me to where these tests live?
@stepps00 we actually introduced the regex to catch bad data in OSM but it seems to catch errors in all datasets.
The test itself is in pelias/model
, it's a simple regex test /https?:\/\//
to check a 'name' property doesn't start with http(s)://
The error appears while running
npm start
in thewhosonfirst
on Ubuntu 18.04: