go-shp:转到用于读取和写入ESRI Shapefile的库。 基于ESRI Shapefile技术说明的纯Golang实现

时间:2024-05-30 06:19:55
【文件属性】:

文件名称:go-shp:转到用于读取和写入ESRI Shapefile的库。 基于ESRI Shapefile技术说明的纯Golang实现

文件大小:30KB

文件格式:ZIP

更新时间:2024-05-30 06:19:55

Go

跳水 转到用于读取和写入ESRI Shapefile的库。 这是基于ESRI Shapefile技术说明的纯Golang实现。 用法 安装 go get github.com/jonas-p/go-shp 输入 import "github.com/jonas-p/go-shp" 例子 读取shapefile // open a shapefile for reading shape , err := shp . Open ( "points.shp" ) if err != nil { log . Fatal ( err ) } defer shape . Close () // fields from the attribute table (DBF) fields := shape . Fields () // loop through all features in


【文件预览】:
go-shp-master
----sequentialreader_test.go(975B)
----zipreader.go(4KB)
----errreader.go(572B)
----.travis.yml(254B)
----shapefile.go(18KB)
----LICENSE(1KB)
----writer_test.go(4KB)
----test_files()
--------multipoint.dbf(72B)
--------multipatch.dbf(72B)
--------polygonm.shp(292B)
--------multipoint.shx(108B)
--------polylinez.shx(116B)
--------pointz.dbf(84B)
--------polygon.shp(236B)
--------polylinem.shx(116B)
--------polyline.shx(116B)
--------pointm.shp(208B)
--------multipointz.shx(108B)
--------pointm.shx(124B)
--------polygonz.dbf(72B)
--------point.shx(124B)
--------pointm.dbf(84B)
--------multipointm.shp(236B)
--------point.dbf(84B)
--------polylinez.dbf(78B)
--------polyline.shp(308B)
--------multipointm.dbf(72B)
--------multipatch.shx(108B)
--------polygonz.shp(348B)
--------polygonm.dbf(72B)
--------polylinem.shp(388B)
--------multipointm.shx(108B)
--------polygon.shx(108B)
--------multipointz.shp(276B)
--------multipointz.dbf(72B)
--------polylinez.shp(468B)
--------polygon.dbf(119B)
--------polyline.dbf(78B)
--------multipoint.shp(196B)
--------multipatch.shp(1KB)
--------polylinem.dbf(78B)
--------point.shp(184B)
--------polygonz.shx(108B)
--------polygonm.shx(108B)
--------pointz.shx(124B)
--------pointz.shp(232B)
----.hound.yml(20B)
----reader_test.go(11KB)
----writer.go(10KB)
----zipreader_test.go(6KB)
----README.md(2KB)
----appveyor.yml(468B)
----shapefile_test.go(558B)
----sequentialreader.go(6KB)
----reader.go(6KB)
----shapetype_string.go(839B)

网友评论