Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h12w/go-shapefile
Go binding to the shapefile library
https://github.com/h12w/go-shapefile
Last synced: 11 days ago
JSON representation
Go binding to the shapefile library
- Host: GitHub
- URL: https://github.com/h12w/go-shapefile
- Owner: h12w
- License: bsd-2-clause
- Created: 2014-01-21T12:22:51.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-21T22:37:33.000Z (over 10 years ago)
- Last Synced: 2024-08-02T14:08:48.845Z (4 months ago)
- Language: Go
- Size: 711 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-shapefile
============Go binding to the shapefile library.
About shapefile
---------------
The [Esri shapefile](http://en.wikipedia.org/wiki/Shapefile), or simply a shapefile, is a popular geospatial vector data format for geographic information system software.ESRI Shapefile Technical Description:
http://www.esri.com/library/whitepapers/pdfs/shapefile.pdfDependencies
------------Shapefile C Library: http://shapelib.maptools.org
For Ubuntu Linux, install with:
```
apt-get install shapelib
```For OS X, install with:
```
brew install shapelib
```Installation
------------```
go get -u github.com/hailiang/go-shapefile
```Example usage
-------------See `examples/example.go` for basic example usage to load a `.shp` file (and its `.dbf` companian file).
```
go run examples/example.go map/bou2_4p.shp
```