geojsonkillnulls
v1.0.0
Published
Removes all the properties in geojson features with a value of null and writes the results to a file.
Downloads
1
Readme
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')