-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Adding address unit property to import stream #368
base: master
Are you sure you want to change the base?
Conversation
stream/address_extractor.js
Outdated
// copy data to new document | ||
record = new Document( 'openstreetmap', 'address', newid.join(':') ) | ||
.setName( 'default', streetno + ' ' + doc.address_parts.street ) | ||
.setName( 'default', streetno + unit + ' ' + doc.address_parts.street) |
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.
Hey @sweco-semhul,
Similarly to the OA importer, what do you think about changing this to streetno + street + unit?
This looks great, and I believe we can merge it once we talk about the default order of address components (and merge the model and schema changes) |
@orangejulius updated the order of street and unit attibute |
Update tap-spec to the latest version 🚀
To resolve pelias/pelias#618 more details found in comments to that issue