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

[DO NOT MERGE] switch to wof:abbreviation for dependencies #273

Closed
wants to merge 1 commit into from

Conversation

dianashk
Copy link
Contributor

@dianashk dianashk commented Aug 24, 2017

According to whosonfirst-data/whosonfirst-data#823, dependency placetype records are moving abbreviations from wof:country to wof:abbreviation. Don't merge until the bundles have been updated.

Previously merged prematurely via #240 and reverted via #272

Connected to pelias/placeholder#33

Copy link
Contributor Author

@dianashk dianashk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO NOT MERGE until the corresponding data has been updated in WOF bundles

@dianashk dianashk self-assigned this Dec 1, 2017
orangejulius pushed a commit that referenced this pull request Aug 5, 2018
This is a backwards-compatible version of #273
which allows us to handle the upcoming switch from storing dependency
abbreviations in the `wof:country` field to `wof:abbreviation` (see
whosonfirst-data/whosonfirst-data#823)

It should be safe to merge now and will do the right thing once WOF data
is updated.

Supersedes #273
orangejulius pushed a commit that referenced this pull request Sep 19, 2018
Several abbreviation fields have changed or will change over time in
WOF.

1.) `wof:shortcode` just replaced `wof:abbreviation`
2.) for dependency records, `wof:shortcode` will replace `wof:country`

This change allows us to handle both of those changing fields in a
backwrds compatible way, by supporting the older field but prioritizing
the newer ones.

We should later come in and remove the logic to refer to the older
values once we're sure they're no longer used and enough time has passed
that most people will have updated their copy of WOF data.

Supersedes #273
Supersedes #375
Fixes #398
Fixes pelias/pelias#645
Connects whosonfirst/whosonfirst-properties#78
orangejulius pushed a commit that referenced this pull request Sep 19, 2018
Several abbreviation fields have changed or will change over time in
WOF.

1.) `wof:shortcode` just replaced `wof:abbreviation`
2.) for dependency records, `wof:shortcode` will replace `wof:country`

This change allows us to handle both of those changing fields in a
backwards compatible way, by supporting the older field but prioritizing
the newer ones.

We should later come in and remove the logic to refer to the older
values once we're sure they're no longer used and enough time has passed
that most people will have updated their copy of WOF data.

Supersedes #273
Supersedes #375
Fixes #398
Fixes pelias/pelias#645
Connects whosonfirst/whosonfirst-properties#78
orangejulius added a commit that referenced this pull request Sep 19, 2018
Several abbreviation fields have changed or will change over time in
WOF.

1.) `wof:shortcode` just replaced `wof:abbreviation`
2.) for dependency records, `wof:shortcode` will replace `wof:country`

This change allows us to handle both of those changing fields in a
backwards compatible way, by supporting the older field but prioritizing
the newer ones.

We should later come in and remove the logic to refer to the older
values once we're sure they're no longer used and enough time has passed
that most people will have updated their copy of WOF data.

Supersedes #273
Supersedes #375
Fixes #398
Fixes pelias/pelias#645
Connects whosonfirst/whosonfirst-properties#78
@orangejulius
Copy link
Member

Replaced by #399

@orangejulius orangejulius deleted the use-wof-abbr-for-dependencies-take2 branch September 19, 2018 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants