1
0
mirror of https://github.com/wavded/js-shapefile-to-geojson synced 2024-11-23 14:34:54 +00:00

updated; usage instructions

This commit is contained in:
Marc Harter 2013-08-25 22:20:33 -05:00
parent 0b14898be1
commit 907d16da83

View File

@ -7,6 +7,16 @@ Inspired by the excellent work by Tom Carden ([http://github.com/RandomEtc/shape
I just got this out there so nothing is minified. See index.html for an example of order. All files need to be in the same directory. This will use Web Workers if the browser support exists. Not recommended for large files, more of an experiment than anything.
### Running the Example
Host the files (example won't run off disk, needs to be ran on a web server), a simple way to do this is run the following command in the project root:
```sh
python -m SimpleHTTPServer
```
And visit http://localhost:8000 in your favorite browser.
### Usage
You can use it to parse shapefiles (.shp) or dBase files (.dbf) or both. Here are some examples.