Versions in this module Expand all Collapse all v0 v0.23.2 Feb 12, 2024 Changes in this version + const DefaultGeographySRID + const DefaultGeometrySRID + const MShapeTypeFlag + const UnknownSRID + const ZShapeTypeFlag + var ErrIntOverflowGeopb = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGeopb = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGeopb = fmt.Errorf("proto: unexpected end of group") + var ShapeType_name = map[int32]string + var ShapeType_value = map[string]int32 + var SpatialObjectType_name = map[int32]string + var SpatialObjectType_value = map[string]int32 + type BoundingBox struct + HiX float64 + HiY float64 + LoX float64 + LoY float64 + func (*BoundingBox) Descriptor() ([]byte, []int) + func (*BoundingBox) ProtoMessage() + func (m *BoundingBox) Marshal() (dAtA []byte, err error) + func (m *BoundingBox) MarshalTo(dAtA []byte) (int, error) + func (m *BoundingBox) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BoundingBox) Reset() + func (m *BoundingBox) Size() (n int) + func (m *BoundingBox) String() string + func (m *BoundingBox) Unmarshal(dAtA []byte) error + func (m *BoundingBox) XXX_DiscardUnknown() + func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BoundingBox) XXX_Merge(src proto.Message) + func (m *BoundingBox) XXX_Size() int + func (m *BoundingBox) XXX_Unmarshal(b []byte) error + type EWKB []byte + type EWKT string + type SRID int32 + type ShapeType int32 + const ShapeType_Geometry + const ShapeType_GeometryCollection + const ShapeType_GeometryCollectionM + const ShapeType_GeometryCollectionZ + const ShapeType_GeometryCollectionZM + const ShapeType_GeometryM + const ShapeType_GeometryZ + const ShapeType_GeometryZM + const ShapeType_LineString + const ShapeType_LineStringM + const ShapeType_LineStringZ + const ShapeType_LineStringZM + const ShapeType_MultiLineString + const ShapeType_MultiLineStringM + const ShapeType_MultiLineStringZ + const ShapeType_MultiLineStringZM + const ShapeType_MultiPoint + const ShapeType_MultiPointM + const ShapeType_MultiPointZ + const ShapeType_MultiPointZM + const ShapeType_MultiPolygon + const ShapeType_MultiPolygonM + const ShapeType_MultiPolygonZ + const ShapeType_MultiPolygonZM + const ShapeType_Point + const ShapeType_PointM + const ShapeType_PointZ + const ShapeType_PointZM + const ShapeType_Polygon + const ShapeType_PolygonM + const ShapeType_PolygonZ + const ShapeType_PolygonZM + const ShapeType_Unset + func (ShapeType) EnumDescriptor() ([]byte, []int) + func (s ShapeType) MultiType() ShapeType + func (s ShapeType) To2D() ShapeType + func (x ShapeType) String() string + type SpatialObject struct + BoundingBox *BoundingBox + EWKB EWKB + SRID SRID + ShapeType ShapeType + Type SpatialObjectType + func (*SpatialObject) Descriptor() ([]byte, []int) + func (*SpatialObject) ProtoMessage() + func (b *SpatialObject) EWKBHex() string + func (b *SpatialObject) MemSize() uintptr + func (m *SpatialObject) Marshal() (dAtA []byte, err error) + func (m *SpatialObject) MarshalTo(dAtA []byte) (int, error) + func (m *SpatialObject) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SpatialObject) Reset() + func (m *SpatialObject) Size() (n int) + func (m *SpatialObject) String() string + func (m *SpatialObject) Unmarshal(dAtA []byte) error + func (m *SpatialObject) XXX_DiscardUnknown() + func (m *SpatialObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SpatialObject) XXX_Merge(src proto.Message) + func (m *SpatialObject) XXX_Size() int + func (m *SpatialObject) XXX_Unmarshal(b []byte) error + type SpatialObjectType int32 + const SpatialObjectType_GeographyType + const SpatialObjectType_GeometryType + const SpatialObjectType_Unknown + func (SpatialObjectType) EnumDescriptor() ([]byte, []int) + func (x SpatialObjectType) String() string + type WKB []byte + type WKT string