- this is a script to convert shp file to geojson
- shp is a extention developed by ESRI
| no | extention | explation | mandatory |
|---|---|---|---|
| 1 | shp | a main format | ✔ |
| 2 | shx | a index format | ✔ |
| 3 | dbf | dbase | ✔ |
| 4 | sbn | index | ❌ |
| 5 | sbx | create index in shp field | ❌ |
| 6 | pri | lcoation | ❌ |
| 7 | cpg | language | ❌ |
| 8 | qix | quard tree index | ❌ |
- python3
- libarary pyshp
- pip install pyshp
- python shp2geojson.py -d yourShpDirectory
- python shp2geojson.py --help
now you could convert to geojson !!