Documentation ¶
Overview ¶
Package wkb is for decoding ESRI's Well Known Binary (WKB) format for OGC geometry (WKBGeometry)
sepcification at http://edndoc.esri.com/arcsde/9.1/general_topics/wkb_representation.htm
There are a few types supported by the specification. Each general type is in it's own file. So, to find the implementation of Point (and MultiPoint) it will be located in the point.go file. Each of the basic type here adhere to the tegola.Geometry interface. So, a wkb point is, also, a tegola.Point
Index ¶
Constants ¶
View Source
const ( Point = consts.Point LineString = consts.LineString Polygon = consts.Polygon MultiPoint = consts.MultiPoint MultiLineString = consts.MultiLineString MultiPolygon = consts.MultiPolygon Collection = consts.Collection )
geometry types
http://edndoc.esri.com/arcsde/9.1/general_topics/wkb_representation.htm
Variables ¶
This section is empty.
Functions ¶
func DecodeBytes ¶
DecodeBytes will attempt to decode a geometry encoded as WKB into a geom.Geometry.
Types ¶
type ErrUnknownGeometry ¶
func (ErrUnknownGeometry) Error ¶
func (e ErrUnknownGeometry) Error() string
type ErrUnknownGeometryType ¶
type ErrUnknownGeometryType struct {
Typ uint32
}
func (ErrUnknownGeometryType) Error ¶
func (e ErrUnknownGeometryType) Error() string
Click to show internal directories.
Click to hide internal directories.