npm

Need private packages and team management tools?Check out npm Orgs. »

proj-geojson

0.1.1 • Public • Published

proj-geojson

Reproject a geojson with proj4js

NPM

    npm install proj-geojson

Example

    const projgeojson = require('proj-geojson');
    const fs = require('fs');
 
    let geojson = JSON.parse(fs.readFileSync('my-file.geojson'));
    const geojson2154 = projgeojson(geojson, 'EPSG:4326', 'EPSG:2154');
    console.log(geojson2154);

Keywords

install

npm i proj-geojson

Downloadsweekly downloads

4

version

0.1.1

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability