Skip to content

maptaskr/shapefile-js

 
 

Repository files navigation

Shapefile.js

Pure JavaScript library for parsing Shapefiles, returns Geojson projected into WGS84 lat lons.

See original package here: https://github.com/calvinmetcalf/shapefile-js

This is a fork from the PR branch: calvinmetcalf#225

with changes to help fix incorrectly wound polygons.

About

Descended in a ship of theseus way from RandomEtc's shapefile library no code is shared.

  • World Borders shapefile is CC-BY-SA 3.0.
  • Park and Ride shapefile is from MassDOT and is public domain.
  • MA town boundaries from MassGIS and is public domain
  • NJ County Boundaries from NJgin and should be public domain.
  • Proj4js by me et al MIT
  • Other test datasets copyright their respective owners.

About

Latest Branch with Winding fixes from shapefile.js

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 95.4%
  • CSS 2.9%
  • HTML 1.7%