Closed nvkelso closed 8 years ago
For instance:
curl -X GET 'https://whosonfirst.mapzen.com/api/rest/?method=whosonfirst.places.getDescendants&access_token=<token_here>&id=421201565&page=1&per_page=100'
results in:
{ "results": [ { "wof:id": 538426415, "wof:parent_id": "421201565", "wof:name": "4046", "wof:placetype": "postalcode", "wof:country": "VE", "wof:repo": null }, { "wof:id": 538426407, "wof:parent_id": "421201565", "wof:name": "4036", "wof:placetype": "postalcode", "wof:country": "VE", "wof:repo": null }, { "wof:id": 538426409, "wof:parent_id": "421201565", "wof:name": "4037", "wof:placetype": "postalcode", "wof:country": "VE", "wof:repo": null }, { "wof:id": 538426411, "wof:parent_id": "421201565", "wof:name": "4044", "wof:placetype": "postalcode", "wof:country": "VE", "wof:repo": null } ], "total": 4, "page": 1, "per_page": 100, "pages": 1, "stat": "ok" }
But it's unclear how any of those Null Island postcodes become parented by a point record anyhow!
Related: https://github.com/whosonfirst-data/whosonfirst-data-postalcode/issues/12
Done.
For instance:
curl -X GET 'https://whosonfirst.mapzen.com/api/rest/?method=whosonfirst.places.getDescendants&access_token=<token_here>&id=421201565&page=1&per_page=100'
results in:
But it's unclear how any of those Null Island postcodes become parented by a point record anyhow!