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

mapzen.places.search different result count compared to spelunker #116

Open
simonw opened this issue Oct 18, 2017 · 1 comment
Open

mapzen.places.search different result count compared to spelunker #116

simonw opened this issue Oct 18, 2017 · 1 comment
Labels

Comments

@simonw
Copy link

simonw commented Oct 18, 2017

This page of the spelunker claims to list 1,429 results: https://whosonfirst.mapzen.com/spelunker/placetypes/neighbourhood/?locality_id=-1&iso=us

The same search against the API (I think this is the same search) says this instead: https://places.mapzen.com/v1?method=mapzen.places.search&iso=us&locality_id=-1&placetype=neighbourhood&api_key=mapzen-xxx

"total": 44889,
"pages": 449,
"per_page": 100

Is this an API bug or am I doing something wrong?

@thisisaaronland
Copy link
Member

Yeah, that's weird. I will poke around. I'm guessing that it's probably a disconnect in the way the query is being assembled in the API...

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

No branches or pull requests

2 participants