Skip to content

rrainn/shapefile-to-geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shapefile-to-geojson

This is a simple package to convert shapefiles to GeoJSON.

Install

npm install shapefile-to-geojson

Usage

const shapefileToGeojson = require("shapefile-to-geojson");

const geoJSON = await shapefileToGeojson.parseFiles("./path/to/shapefile.shp", "./path/to/dbf.dbf");

const geoJSON = await shapefileToGeojson.parseFolder("./path/to/files"); // This directory should include 1 `shp` & 1 `dbf` file

License

MIT License

About

📦 NPM Package - Convert Shapefiles to GeoJSON format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors