0.0.2 • Published 8 years ago
geojson-basic-utils v0.0.2
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.