Skip to content

import -> whosonfirst: update WOF spec - #150

Merged
missinglink merged 1 commit into
masterfrom
update-wof-spec
Aug 24, 2026
Merged

missinglink merged 1 commit into
masterfrom
update-wof-spec

Conversation

@missinglink

Copy link
Copy Markdown
Member

this PR updates the WOF placetype spec using the inbuilt whosonfirst_update_spec.sh script.

this had the effect of removing constituency and adding custom, nation and postalregion.

as a result the existing postalregion region test was slightly rewritten and a new testcase was added to explicitly cover the case of an unknown placetype.

Screenshot 2026-08-24 at 16 50 15

@missinglink

Copy link
Copy Markdown
Member Author

Not immediately obvious from the diff is that the postalregion placetype is now at wof:0 instead of wof:3 since the schema knows the other placetypes are parents.

@orangejulius

Copy link
Copy Markdown
Member

Woah. what's custom? I've never seen that before.

@missinglink

Copy link
Copy Markdown
Member Author

Woah. what's custom? I've never seen that before.

🤷‍♂️

@missinglink

Copy link
Copy Markdown
Member Author

Regarding the removal of constituency, I have an issue open since 2025.

@missinglink
missinglink merged commit 1172077 into master Aug 24, 2026
6 checks passed
@missinglink
missinglink deleted the update-wof-spec branch August 24, 2026 15:10
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.

2 participants