Skip to content
This repository was archived by the owner on Sep 21, 2024. It is now read-only.

Commit 3ea64a9

Browse files
committed
readme
1 parent 3c6a0e9 commit 3ea64a9

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

README.md

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# onthecut / crt-open-data
2+
3+
> Canal and River Trust Open Data Loader
4+
5+
## Install
6+
7+
npm install @onthecut/crt-open-data
8+
9+
## API
10+
11+
```js
12+
import loadDataset, { DATASETS } from '@onthecut/crt-open-data';
13+
14+
const canals = await loadDataset('canals');
15+
// >
16+
// { type: 'FeatureCollection',
17+
// features:
18+
// [ { type: 'Feature', properties: [Object], geometry: [Object] },
19+
// { type: 'Feature', properties: [Object], geometry: [Object] },
20+
// ...
21+
```
22+
23+
## Datasets
24+
25+
- canals
26+
- canals-km
27+
- tunnel-portals-public
28+
- winding-holes-public
29+
- boat-lift-public
30+
- dry-docks-public
31+
- lakes-ponds-and-fisheries-public
32+
- canal-river-trust-planning-buffer
33+
- pumping-stations-public
34+
- tunnels-public
35+
- reservoirs-public
36+
- locks-public
37+
- bridges-public
38+
- aqueducts-public
39+
- sluices-public
40+
- weirs-public
41+
- culverts-public
42+
- embankments-public
43+
- outfalls-public
44+
- wharves-public
45+
- docks-public
46+
- slipways-public
47+
- lakes-ponds-and-fisheries-view-public
48+
- embankments-view-public
49+
- bridges-view-public
50+
51+
52+
## Licence
53+
54+
The licences covering CRTs open data can be found on the relevant dataset page on https://data-canalrivertrust.opendata.arcgis.com.
55+
56+
This data loader module is released under the MIT licence.

0 commit comments

Comments
 (0)