npm.io
0.2.1 • Published 6 years agoCLI

geojson-numeric

Licence
MIT
Version
0.2.1
Deps
2
Size
6 kB
Vulns
0
Weekly
0
Stars
2

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);

Keywords