Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidFeaturePath = errors.New("invalid feature path") ErrInvalidSummaryExtentValue = errors.New("invalid summary extent value") )
View Source
var (
ErrEmptyRequest = errors.New("empty request")
)
Functions ¶
This section is empty.
Types ¶
type Bbox ¶
--- @See https://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/bbox.yaml
type Collection ¶
type Collection struct {
Name string
Description string
Namespace string
NamespaceBaseURL string
NamespaceSchemaDir string
Variables *openapi3.Schema
Definition *openapi3.Schema
Links []Link
QueryType string // Type of query for the collection, data object or saved query
// GraphQL paths for the data object
Query string
QueryFeature string
QueryFeatureIdVarName string
QueryFeatureIdType *openapi3.Schema
IsReadOnly bool
MutationInsert string
MutationUpdate string
MutationDelete string
// Saved query
QueryName string // Name of the saved query
// contains filtered or unexported fields
}
Collection represents a GIS collection with its metadata and links.
type CollectionInfo ¶
type CollectionInfo struct {
Name string `json:"name"`
Title string `json:"title,omitempty"`
Description string `json:"description,omitempty"`
Links []Link `json:"links"`
Extent *Bbox `json:"extent,omitempty"`
Crs []string `json:"crs,omitempty"`
IsEnabledWFS1 bool `json:"-"`
}
for collectionInfo schema
type CollectionsInfo ¶
type CollectionsInfo struct {
Links []Link `json:"links"`
Collections []CollectionInfo `json:"collections"`
}
--- @See https://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/content.yaml
for collectionsInfo schema.
type ConformanceClasses ¶
type ConformanceClasses struct {
ConformsTo []string `json:"conformsTo"`
}
for ConformanceClasses schema
type Link ¶
type Link struct {
Href string `json:"href"`
Rel string `json:"rel"`
Type string `json:"type"`
Hreflang string `json:"hreflang"`
Title string `json:"title"`
}
--- @See https://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/link.yaml
for link schema
type RootContent ¶
type RootContent struct {
Title string `json:"title"`
Description string `json:"description"`
Links []Link `json:"links"`
}
--- @See http://raw.githubusercontent.com/opengeospatial/WFS_FES/master/core/openapi/schemas/root.yaml
for rootContentSchema Definition
What the endpoint at "/" returns
Click to show internal directories.
Click to hide internal directories.