Documentation
¶
Index ¶
- Constants
- func DecodeGeometry(value any, encoding string) (*orbjson.Geometry, error)
- type CollectionInfo
- type DatasetInfo
- func (i *DatasetInfo) AddBounds(name string, bounds *orb.Bound)
- func (i *DatasetInfo) AddCollection(name string)
- func (i *DatasetInfo) AddTypes(name string, types []string)
- func (i *DatasetInfo) Bounds(name string) *orb.Bound
- func (i *DatasetInfo) HasCollection(name string) bool
- func (i *DatasetInfo) NumCollections() int
- func (i *DatasetInfo) Types(name string) []string
- type Feature
Constants ¶
View Source
const ( EncodingWKB = "WKB" EncodingWKT = "WKT" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CollectionInfo ¶
type CollectionInfo struct {
// contains filtered or unexported fields
}
func NewCollectionInfo ¶
func NewCollectionInfo(concurrent bool) *CollectionInfo
func (*CollectionInfo) AddBounds ¶
func (i *CollectionInfo) AddBounds(bounds *orb.Bound)
func (*CollectionInfo) AddType ¶
func (i *CollectionInfo) AddType(typ string)
func (*CollectionInfo) AddTypes ¶
func (i *CollectionInfo) AddTypes(types []string)
func (*CollectionInfo) Bounds ¶
func (i *CollectionInfo) Bounds() *orb.Bound
func (*CollectionInfo) Types ¶
func (i *CollectionInfo) Types() []string
type DatasetInfo ¶
type DatasetInfo struct {
// contains filtered or unexported fields
}
func NewDatasetInfo ¶
func NewDatasetInfo(concurrent bool) *DatasetInfo
func (*DatasetInfo) AddCollection ¶
func (i *DatasetInfo) AddCollection(name string)
func (*DatasetInfo) AddTypes ¶
func (i *DatasetInfo) AddTypes(name string, types []string)
func (*DatasetInfo) HasCollection ¶
func (i *DatasetInfo) HasCollection(name string) bool
func (*DatasetInfo) NumCollections ¶
func (i *DatasetInfo) NumCollections() int
func (*DatasetInfo) Types ¶
func (i *DatasetInfo) Types(name string) []string
Click to show internal directories.
Click to hide internal directories.