Skip to content
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

feat(abbreviation): use wof:shortcode if available #235

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

orangejulius
Copy link
Member

@orangejulius orangejulius commented Sep 19, 2018

The wof:shortcode properly is coming to replace the wof:abbreviation field.

This PR allows either field to work, with wof:shortcode preferred, to account for people who have not yet updated their data.

Connects pelias/whosonfirst#398
Connects pelias/pelias#645
Connects whosonfirst/whosonfirst-properties#78
Connects pelias/whosonfirst#399

The `wof:shortcode` properly is coming to replace the `wof:abbreviation`
field.

This PR allows either field to work, with `wof:shortcode` preferred, to
account for people who have not yet updated their data.

Connects pelias/whosonfirst#398
Connects pelias/pelias#645
Connects whosonfirst/whosonfirst-properties#78
Connects pelias/whosonfirst#399
@orangejulius
Copy link
Member Author

This has been tested on the OpenStreetMap and OpenAddresses importers and appears to correctly use the new wof:shortcode field, when it's available.

@orangejulius orangejulius merged commit 1a454c4 into master Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant