nyc-geosupport

Node bindings for NYC DoITT's geosupport package, providing geocoding capabilities for NYC addresses.

Usage no npm install needed!

<script type="module">
  import nycGeosupport from 'https://cdn.skypack.dev/nyc-geosupport';
</script>

README

nyc-geosupport

Node bindings for NYC DoITT's geosupport package, providing geocoding capabilities for NYC addresses.

nyc-geosupport will only run on Linux, as it uses compiled binary interfaces to the Geosupport library.

Based on the initial work done by @chriswhong and @veltman

This package is a barebones interface to the Geosupport library bindings, using Character-Only Work Areas (COWs). For full detailed information on the different functions, fields, and interpreting their values, see the Geosupport User Programming Guide, which include COW tables in the appendix.

After installation, the binary source data is downloaded (see download.js). To update the data version, change the URL and paths defined in .env.

Input and output formats are as defined by the Geosupport C headers. These formats, and TypeScript type definitions, are extracted from the header files directly.