1.0.0 • Published 8 years ago

geojsonkillnulls v1.0.0

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

goejsonkillnulls

Gets rid of all the key values for the properties of each geojson feature where the value is null

Using node filestreams and some elementary regex which is basically looking for markers that would usually be in a geojson polygon file. Not sure how it would do with mixed feature types or just points or polygons, but it could be easily changed to handle them.

Usage

var killNulls = require('geojsonkillnulls');

// First arguemnt is the input file and the second is the name for the output file
killNulls('oceanBuilds.geojson', 'miss.geojson')