Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 556 Bytes

README.md

File metadata and controls

5 lines (4 loc) · 556 Bytes

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.