0.0.2 • Published 8 years ago

geojson-basic-utils v0.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

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.