geojson-basic-utils

0.0.2 • Public • Published

Library module with some very basic helper methods for working with GeoJSON objects.

  • detectDupeCoords(geoJsonFeature) - find any duplicate points in GeoJSON Feature. Return list of points.
  • removeDupeCoords(geoJsonFeature) - remove duplicate points from GeoJSON Feature, keeping the first. Return new cleaned object.
  • detectAndRemoveDupeCoords(geoJsonFeature) - Check for duplicates, print any that are found and remove them.

Readme

Keywords

none

Package Sidebar

Install

npm i geojson-basic-utils

Weekly Downloads

3

Version

0.0.2

License

ISC

Last publish

Collaborators

  • kalmas