0.2.1 • Published 4 years ago

geojson-numeric v0.2.1

Weekly downloads
3,727
License
MIT
Repository
github
Last release
4 years ago

geojson-numeric

Makes properties of geojson features numeric

… "properties": { "population": "265778" } …
     ↓     ↓    ↓    ↓    ↓    ↓    ↓    
… "properties": { "population": 265778 } …

Build Status

Usage

  • as a command line tool:

      $ npm install -g geojson-numeric
      $ geojson-numeric file.geojson > file_numeric.geojson
  • as a nodejs library:

      $ npm install geojson-numeric
    
      var numerify = require('geojson-numeric');
      numerify(geojson_data);