-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(abbreviations): handle changing abbreviation fields
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
- Loading branch information
1 parent
86b9019
commit ad252d6
Showing
2 changed files
with
163 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters