1. Shx File Viewer
Shapefile to geojson

Shx File Viewer

Format

Shapefile.jsIf you are having encoding issues in internet explorer please include as well.Redoing all of this in modern JS. Promises, Typed Arrays, other hipster things, I wouldn't say it's based on as much as inspired by it as there is 0 code shared and I really only read the binary ajax part of his (hence why my function has the same name, they are otherwise not related). My sources were:.Demos.UsageFor use with,: npm install shpjs -saveOr include directly in your webpage from: a function shp which accepts a string which is the path the she shapefile minus the extension and returns a promise which resolves into geojson.