Is it possible to retrieve json/geojson boundaries using the ONS Open Geography Portal API, if so how?
I have got my apikey and gone through the documentation though I am not seeing any mention of boundary data.
If you visit the page http://geoportal.statistics.gov.uk/datasets/afcc88affe5f450e9c03970b237a7999_0
The API dropdown gives links like the ones below:
http://geoportal.statistics.gov.uk/datasets/afcc88affe5f450e9c03970b237a7999_0.geojson
And the link for a filtered dataset is showing as:
http://geoportal.statistics.gov.uk/datasets/afcc88affe5f450e9c03970b237a7999_0.geojson?where=&geometry={"xmin":-7777680.618944722,"ymin":6062179.402493376,"xmax":7113475.483456216,"ymax":8997361.288643364,"spatialReference":{"wkid":102100,"latestWkid":3857}}
Visiting the related site http://statistics.data.gov.uk/ you can retrieve a json boundary from a url like below which is more what I was expecting.
http://statistics.data.gov.uk/boundaries/E05009755.json