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 is_current filters to spatial queries #63

Closed
thisisaaronland opened this issue Jul 21, 2017 · 6 comments
Closed

Add is_current filters to spatial queries #63

thisisaaronland opened this issue Jul 21, 2017 · 6 comments

Comments

@thisisaaronland
Copy link
Member

Blocked on whosonfirst/go-whosonfirst-tile38#11

@thisisaaronland
Copy link
Member Author

@thisisaaronland
Copy link
Member Author

thisisaaronland commented Aug 2, 2017

Code to handle existential filters w/ T38 is in master but parameters are undocumented pending whosonfirst/go-whosonfirst-tile38#14 being closed.

@thisisaaronland
Copy link
Member Author

0798871

@thisisaaronland
Copy link
Member Author

Deployed for whosonfirst.places.getNearby and whosonfirst.places.getIntersects

@thisisaaronland
Copy link
Member Author

Not in prod yet but getting there...

curl -s 'localhost:8080?latitude=45.557093&longitude=-73.513641&is_deprecated=0' | python -mjson.tool
{
    "places": [
        {
            "mz:is_ceased": -1,
            "mz:is_current": -1,
            "mz:is_deprecated": 0,
            "mz:is_superseded": 0,
            "mz:is_superseding": 0,
            "mz:uri": "https://whosonfirst.mapzen.com/data/110/896/303/7/1108963037.geojson",
            "wof:country": "CA",
            "wof:id": 1108963037,
            "wof:name": "Saint Lawrence River",
            "wof:parent_id": -3,
            "wof:path": "110/896/303/7/1108963037.geojson",
            "wof:placetype": "neighbourhood",
            "wof:repo": "whosonfirst-data",
            "wof:superseded_by": [],
            "wof:supersedes": []
        }
    ]
}

@thisisaaronland
Copy link
Member Author

6819f6a...86a2e6c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant