features

package
v0.46.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentCrs

type ContentCrs string

ContentCrs the coordinate reference system (represented as a URI) of the content/output to return.

func (ContentCrs) IsWGS84

func (c ContentCrs) IsWGS84() bool
func (c ContentCrs) ToLink() string

ToLink returns link target conforming to RFC 8288

type DatasourceConfig

type DatasourceConfig struct {
	// contains filtered or unexported fields
}

type DatasourceKey

type DatasourceKey struct {
	// contains filtered or unexported fields
}

type Features

type Features struct {
	// contains filtered or unexported fields
}

func NewFeatures

func NewFeatures(e *engine.Engine) *Features

func (*Features) Feature

func (f *Features) Feature() http.HandlerFunc

Feature serves a single Feature

func (*Features) Features

func (f *Features) Features() http.HandlerFunc

Features serve a FeatureCollection with the given collectionId

type OpenAPIPropertyFilter

type OpenAPIPropertyFilter struct {
	Name        string
	Description string
	DataType    string
}

type SRID

type SRID int

SRID Spatial Reference System Identifier: a unique value to unambiguously identify a spatial coordinate system. For example '28992' in https://www.opengis.net/def/crs/EPSG/0/28992

func (SRID) GetOrDefault

func (s SRID) GetOrDefault() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL