mirror of
https://github.com/wavded/js-shapefile-to-geojson
synced 2024-11-23 06:24:55 +00:00
updated; usage instructions
This commit is contained in:
parent
0b14898be1
commit
907d16da83
10
readme.md
10
readme.md
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user