1.0.9 • Published 1 year ago

@zhiweiliu/koordinates-linz v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Koordinates - Land Information New Zealand (LINZ)

The repository provides access to LINZ datasets hosted by Koordinates. It is built on module @zhiweiliu/koordiates-base. Please refer to the base module for more details.

Supported datasets

  • NZ Addresses
  • NZ 8m Digital Elevation Model (2012)
  • NZ Parcels

Example

// import Koordinates modules
import { KoordinatesDataset } from "@zhiweiliu/koordinates-base";
import { LinzDatasets } from "@zhiweiliu/koordinates-linz";

// Koordinates API key, it is recommended to load it at run time instead of hard-coding it in a file
import apiKey from "./api-key";

// Find dataset
let nza: KoordinatesDataset = LinzDatasets.find(
  (d) => d.getName() === "NZ Addresses"
) as KoordinatesDataset;

// Invoke methods on the dataset object
let json = await nza.getLayerCapabilitiesJson(apiKey);
console.log(json);
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago