whosonfirst / whosonfirst-www-api

4 stars 2 forks source link

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

Open simonw opened 6 years ago

simonw commented 6 years ago

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 commented 6 years ago

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...