A valid OS Data Hub key
A known collection ID. To view available collection IDs, use the ngd.collections() method.
Optional arguments
Optional
bbox?: null | BBoxBounding box [left, bottom, right, top]
Optional
bboxCRS?: null | string | numberCRS of bounding box (epsg number or full string e.g. "epsg:27700"). Available CRS values are: EPSG:27700, EPSG:4326, EPSG:3857, and CRS84. Defaults to CRS84
Optional
crs?: null | string | numberCRS of return geoJSON (epsg number or full string e.g. "epsg:27700"). Available CRS values are: EPSG:27700, EPSG:4326, EPSG:7405, EPSG:3857, and CRS84. Defaults to CRS84
Optional
datetime?: null | stringA valid date-time with UTC time zone (Z) or an open or closed interval e.g. 2021-12-12T13:20:50Z or 2021-12-12T13:20:50Z/.. or ../2021-12-12T13:20:50Z or 2021-08-12T13:20:50Z/2021-12-12T13:20:50Z
Optional
filter?: null | stringCQL filter string
Optional
filterCRS?: null | string | numberCRS used if filter contains spatial operation (epsg number or full string e.g. "epsg:27700"). Available CRS values are: EPSG:27700, EPSG:4326, EPSG:7405, EPSG:3857, and CRS84. Defaults to CRS84
Optional
limit?: numberThe max number of features to return
Optional
offset?: numberThe starting value for the offset
Generated using TypeDoc
Get NGD features.
Returns