proj-geojson

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i proj-geojson

    Weekly Downloads

    9

    Version

    0.2.1

    License

    ISC

    Unpacked Size

    28.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • dofabien