This project allows a user to load Shapefiles and DBFs into the browser with JavaScript. Outputs as GeoJSON for use with other Mapping APIs such as OpenLayers.Inspired by the excellent work by Tom Carden (http://github.com/RandomEtc/shapefile-js/).Overview...
importshpfrom'shpjs';//for the shapefiles in the folder called 'files' with the name pandr.shpconstgeojson=awaitshp("files/pandr.shp"); or you can pass it a url to a a .zip file which contains the shapefile //for the shapefiles in the files folder called pandr.shpconstgeojson=...
Compare changes across branches, commits, tags, and more below. If you need to, you can also compare across forks . base: master ... compare: master Choose different branches or forks above to discuss and review changes. Learn about pull requests Create pull request ...
I have a use case where I don't really care about the attributes provided in a dbf file. This pull request makes sure _postMessage and thus the constructor callback is called even if no DBF file is...
Attached is a very small shapefile to reproduce the issue.badshp.zip If you take that file and drop it here,http://leaflet.calvinmetcalf.com/#6/-33.596/138.076, you will see it cover Kangaroo Island and this is the correct location. If you click on the shape to display the info window...
shapefile.js stream.js This project allows a user to load Shapefiles and DBFs into the browser with JavaScript. Outputs asGeoJSONfor use with other Mapping APIs such asOpenLayers. Inspired by the excellent work by Tom Carden (http://github.com/RandomEtc/shapefile-js/). ...
This project allows a user to load Shapefiles and DBFs into the browser with JavaScript. Outputs as GeoJSON for use with other Mapping APIs such as OpenLayers.Inspired by the excellent work by Tom Carden (http://github.com/RandomEtc/shapefile-js/).Overview...