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

Add support for alternate placetypes #294

Open
trescube opened this issue Oct 9, 2017 · 1 comment
Open

Add support for alternate placetypes #294

trescube opened this issue Oct 9, 2017 · 1 comment

Comments

@trescube
Copy link
Contributor

trescube commented Oct 9, 2017

WOF is incorporating a multi-valued altplacetype so records can be categorized in multiple ways. Add support for this. See whosonfirst-data/whosonfirst-data#948

@stepps00
Copy link

stepps00 commented Oct 9, 2017

An existing record with a wof:placetype_alt property: https://whosonfirst.mapzen.com/spelunker/id/85921877/

Issue discussing logic around wof:placetype_alt: whosonfirst-data/whosonfirst-data#952

Right now, we are storing alternative placetypes in the wof:placetype_alt property for selected records. We plan on updating our tooling to also populate these alternative placetypes in the wof:hierarchy property, too.

The linked record above (Piedmont) is a locality, with a alternative placetype of neighbourhood, so it should be treated as both. The hierarchy will end up looking like:

    "wof:hierarchy":[
        {
            "continent_id":102191575,
            "country_id":85633793,
            "county_id":102086959,
            "locality_id":85921877,        <--
            "region_id":85688637,
            "neighbourhood_id":85921877    <--
        }
    ],

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

No branches or pull requests

2 participants