Versions in this module Expand all Collapse all v0 v0.25.2 Jun 5, 2025 Changes in this version + var ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group") + type Config struct + S2Geography *S2GeographyConfig + S2Geometry *S2GeometryConfig + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (cfg Config) IsEmpty() bool + func (cfg Config) IsGeography() bool + func (cfg Config) IsGeometry() bool + func (m *Config) Marshal() (dAtA []byte, err error) + func (m *Config) MarshalTo(dAtA []byte) (int, error) + func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Config) Reset() + func (m *Config) Size() (n int) + func (m *Config) String() string + func (m *Config) Unmarshal(dAtA []byte) error + func (m *Config) XXX_DiscardUnknown() + func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Config) XXX_Merge(src proto.Message) + func (m *Config) XXX_Size() int + func (m *Config) XXX_Unmarshal(b []byte) error + func (this *Config) Equal(that interface{}) bool + func (this *Config) GetValue() interface{} + func (this *Config) SetValue(value interface{}) bool + type S2Config struct + LevelMod int32 + MaxCells int32 + MaxLevel int32 + MinLevel int32 + func (*S2Config) Descriptor() ([]byte, []int) + func (*S2Config) ProtoMessage() + func (m *S2Config) Marshal() (dAtA []byte, err error) + func (m *S2Config) MarshalTo(dAtA []byte) (int, error) + func (m *S2Config) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *S2Config) Reset() + func (m *S2Config) Size() (n int) + func (m *S2Config) String() string + func (m *S2Config) Unmarshal(dAtA []byte) error + func (m *S2Config) XXX_DiscardUnknown() + func (m *S2Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *S2Config) XXX_Merge(src proto.Message) + func (m *S2Config) XXX_Size() int + func (m *S2Config) XXX_Unmarshal(b []byte) error + func (this *S2Config) Equal(that interface{}) bool + type S2GeographyConfig struct + S2Config *S2Config + func (*S2GeographyConfig) Descriptor() ([]byte, []int) + func (*S2GeographyConfig) ProtoMessage() + func (m *S2GeographyConfig) Marshal() (dAtA []byte, err error) + func (m *S2GeographyConfig) MarshalTo(dAtA []byte) (int, error) + func (m *S2GeographyConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *S2GeographyConfig) Reset() + func (m *S2GeographyConfig) Size() (n int) + func (m *S2GeographyConfig) String() string + func (m *S2GeographyConfig) Unmarshal(dAtA []byte) error + func (m *S2GeographyConfig) XXX_DiscardUnknown() + func (m *S2GeographyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *S2GeographyConfig) XXX_Merge(src proto.Message) + func (m *S2GeographyConfig) XXX_Size() int + func (m *S2GeographyConfig) XXX_Unmarshal(b []byte) error + func (this *S2GeographyConfig) Equal(that interface{}) bool + type S2GeometryConfig struct + MaxX float64 + MaxY float64 + MinX float64 + MinY float64 + S2Config *S2Config + func (*S2GeometryConfig) Descriptor() ([]byte, []int) + func (*S2GeometryConfig) ProtoMessage() + func (m *S2GeometryConfig) Marshal() (dAtA []byte, err error) + func (m *S2GeometryConfig) MarshalTo(dAtA []byte) (int, error) + func (m *S2GeometryConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *S2GeometryConfig) Reset() + func (m *S2GeometryConfig) Size() (n int) + func (m *S2GeometryConfig) String() string + func (m *S2GeometryConfig) Unmarshal(dAtA []byte) error + func (m *S2GeometryConfig) XXX_DiscardUnknown() + func (m *S2GeometryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *S2GeometryConfig) XXX_Merge(src proto.Message) + func (m *S2GeometryConfig) XXX_Size() int + func (m *S2GeometryConfig) XXX_Unmarshal(b []byte) error + func (this *S2GeometryConfig) Equal(that interface{}) bool 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