Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/choefele/shpdump
Tool to dump information contained in shapefiles
https://github.com/choefele/shpdump
Last synced: about 1 month ago
JSON representation
Tool to dump information contained in shapefiles
- Host: GitHub
- URL: https://github.com/choefele/shpdump
- Owner: choefele
- License: mit
- Created: 2015-12-28T20:04:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T22:59:23.000Z (about 9 years ago)
- Last Synced: 2024-10-15T09:53:25.622Z (3 months ago)
- Language: Swift
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shpdump
Tool to dump information contained in [shapefiles](https://en.wikipedia.org/wiki/Shapefile#Mixing_shape_types). This is a Swift port of the tool that's part of [shapelib](http://shapelib.maptools.org/shapelib-tools.html#shpdump).## Build
You need to have Swift installed either via `brew install swift` or from `swift.org`
```
brew install shapelib
swift build
```## Run
```
$ .build/debug/shpdump lines
Shapefile Type: Arc # of Shapes: 5File Bounds: (13.394208037171223, 52.510181887430107, 0.0, 0.0)
to (13.416767305660128, 52.523441582610694, 0.0, 0.0)Shape:Arc nVertices=42, nParts=1
Shape:Arc nVertices=27, nParts=1
Shape:Arc nVertices=2, nParts=1
Shape:Arc nVertices=12, nParts=1
Shape:Arc nVertices=12, nParts=1
```