0.0.1 • Published 6 years ago

geojson-zone-detector v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

GeoJsonZoneDetector

Version Badge

Tool to detect the zone (GeoJSON Polygon) of a given point. (Coordinates)

Installation

In Node.js

npm install geojson-zone-detector

TypeScript

TypeScript is supported internally within each module, no installs required.

Documentation

Data in GeoJsonZoneDetector

GeoJsonZoneDetector uses GeoJSON for all geographic data. GeoJsonZoneDetector expects the data to be standard WGS84 longitude, latitude coordinates. Check out geojson.io for a tool to easily create this data.

NOTE: GeoJsonZoneDetector expects data in (longitude, latitude) order per the GeoJSON standard.

Most GeoJsonZoneDetector functions work with GeoJSON features. These are pieces of data that represent a collection of properties (ie: population, elevation, zipcode, etc.) along with a geometry. GeoJSON has several geometry types such as:

  • Point
  • LineString
  • Polygon