request

package
v0.0.0-...-7109a22 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CAPABILITIES_MIME_TYPE_XML  = "text/xml"
	CAPABILITIES_MIME_TYPE_OGC  = "application/vnd.ogc.wms_xml"
	CAPABILITIES_MIME_TYPE_TEXT = "text/plain"
	CAPABILITIES_MIME_TYPE_HTML = "text/html"
)
View Source
const (
	UpdateSequenceNone   = "none"
	UpdateSequenceAny    = "any"
	UpdateSequenceEqual  = "equal"
	UpdateSequenceLower  = "lower"
	UpdateSequenceHigher = "higher"
)

Variables

View Source
var (
	ArgGISFormats = []string{
		"jpgpng", "png", "png8", "png24", "jpg", "bmp", "gif", "tiff", "png32", "bip", "bsq", "lerc",
	}
	ArgGISPixelType = []string{
		"C128", "C64", "F32", "F64", "S16", "S32", "S8", "U1", "U16", "U2", "U32", "U4", "U8", "UNKNOWN",
	}
)
View Source
var (
	MapbpxFormats = []string{"mvt", "vector.pbf", "grid.json", "png", "png32", "png64", "png128", "png256", "jpg70", "jpg80", "jpg90"}
)

Functions

func InfotypeFromMimetype

func InfotypeFromMimetype(mime_type string) string

func MimetypeFromInfotype

func MimetypeFromInfotype(info_type string) string

func SplitMimeType

func SplitMimeType(mime_type string) [3]string

func SwitchBBoxEpsgAxisOrder

func SwitchBBoxEpsgAxisOrder(rect vec2d.Rect, srs string) vec2d.Rect

Types

type ArcGISExportRequestParams

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

func NewArcGISExportRequestParams

func NewArcGISExportRequestParams(params RequestParams) ArcGISExportRequestParams

func (*ArcGISExportRequestParams) AddLayer

func (r *ArcGISExportRequestParams) AddLayer(layer string)

func (*ArcGISExportRequestParams) AddLayers

func (r *ArcGISExportRequestParams) AddLayers(layers []string)

func (*ArcGISExportRequestParams) GetBBOxSrs

func (r *ArcGISExportRequestParams) GetBBOxSrs() string

func (*ArcGISExportRequestParams) GetBBox

func (r *ArcGISExportRequestParams) GetBBox() vec2d.Rect

func (*ArcGISExportRequestParams) GetDpi

func (r *ArcGISExportRequestParams) GetDpi() int

func (*ArcGISExportRequestParams) GetFormat

func (r *ArcGISExportRequestParams) GetFormat() string

func (*ArcGISExportRequestParams) GetImageSrs

func (r *ArcGISExportRequestParams) GetImageSrs() string

func (*ArcGISExportRequestParams) GetLayers

func (r *ArcGISExportRequestParams) GetLayers() []string

func (*ArcGISExportRequestParams) GetLercVersion

func (r *ArcGISExportRequestParams) GetLercVersion() int

func (*ArcGISExportRequestParams) GetSize

func (r *ArcGISExportRequestParams) GetSize() [2]uint32

func (*ArcGISExportRequestParams) GetTransparent

func (r *ArcGISExportRequestParams) GetTransparent() bool

func (*ArcGISExportRequestParams) SetBBox

func (r *ArcGISExportRequestParams) SetBBox(bbox vec2d.Rect)

func (*ArcGISExportRequestParams) SetBBoxSrs

func (r *ArcGISExportRequestParams) SetBBoxSrs(srs string)

func (*ArcGISExportRequestParams) SetDpi

func (r *ArcGISExportRequestParams) SetDpi(dpi int)

func (*ArcGISExportRequestParams) SetFormat

func (r *ArcGISExportRequestParams) SetFormat(fmrt tile.TileFormat)

func (*ArcGISExportRequestParams) SetImageSrs

func (r *ArcGISExportRequestParams) SetImageSrs(srs string)

func (*ArcGISExportRequestParams) SetLercVersion

func (r *ArcGISExportRequestParams) SetLercVersion(dpi int)

func (*ArcGISExportRequestParams) SetSize

func (r *ArcGISExportRequestParams) SetSize(si [2]uint32)

func (*ArcGISExportRequestParams) SetTransparent

func (r *ArcGISExportRequestParams) SetTransparent(b bool)

type ArcGISIdentifyRequest

type ArcGISIdentifyRequest struct {
	BaseRequest
	Uri *url.URL
}

func NewArcGISIdentifyRequest

func NewArcGISIdentifyRequest(param interface{}, url string) *ArcGISIdentifyRequest

func (*ArcGISIdentifyRequest) GetRequestParams

func (r *ArcGISIdentifyRequest) GetRequestParams() *ArcGISIdentifyRequestParams

func (*ArcGISIdentifyRequest) QueryString

func (r *ArcGISIdentifyRequest) QueryString() string

type ArcGISIdentifyRequestParams

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

func NewArcGISIdentifyRequestParams

func NewArcGISIdentifyRequestParams(params RequestParams) ArcGISIdentifyRequestParams

func (*ArcGISIdentifyRequestParams) AddLayer

func (r *ArcGISIdentifyRequestParams) AddLayer(layer string)

func (*ArcGISIdentifyRequestParams) AddLayers

func (r *ArcGISIdentifyRequestParams) AddLayers(layers []string)

func (*ArcGISIdentifyRequestParams) GetBBox

func (r *ArcGISIdentifyRequestParams) GetBBox() vec2d.Rect

func (*ArcGISIdentifyRequestParams) GetFormat

func (*ArcGISIdentifyRequestParams) GetLayers

func (r *ArcGISIdentifyRequestParams) GetLayers() []string

func (*ArcGISIdentifyRequestParams) GetPos

func (r *ArcGISIdentifyRequestParams) GetPos() [2]float64

func (*ArcGISIdentifyRequestParams) GetSize

func (r *ArcGISIdentifyRequestParams) GetSize() [2]uint32

func (*ArcGISIdentifyRequestParams) GetSrs

func (r *ArcGISIdentifyRequestParams) GetSrs() string

func (*ArcGISIdentifyRequestParams) GetTransparent

func (r *ArcGISIdentifyRequestParams) GetTransparent() bool

func (*ArcGISIdentifyRequestParams) SetBBox

func (r *ArcGISIdentifyRequestParams) SetBBox(bbox vec2d.Rect)

func (*ArcGISIdentifyRequestParams) SetFormat

func (r *ArcGISIdentifyRequestParams) SetFormat(fmrt tile.TileFormat)

func (*ArcGISIdentifyRequestParams) SetPos

func (r *ArcGISIdentifyRequestParams) SetPos(pos [2]float64)

func (*ArcGISIdentifyRequestParams) SetSize

func (r *ArcGISIdentifyRequestParams) SetSize(si [2]uint32)

func (*ArcGISIdentifyRequestParams) SetSrs

func (r *ArcGISIdentifyRequestParams) SetSrs(srs string)

func (*ArcGISIdentifyRequestParams) SetTransparent

func (r *ArcGISIdentifyRequestParams) SetTransparent(b bool)

type ArcGISRequest

type ArcGISRequest struct {
	BaseRequest
	Uri *url.URL
}

func NewArcGISRequest

func NewArcGISRequest(param interface{}, url string) *ArcGISRequest

func (*ArcGISRequest) GetRequestParams

func (r *ArcGISRequest) GetRequestParams() *ArcGISExportRequestParams

func (*ArcGISRequest) QueryString

func (r *ArcGISRequest) QueryString() string

type BaseRequest

type BaseRequest struct {
	Request
	Params    RequestParams
	Delimiter string
	Url       string
	Http      *http.Request

	FixedParams map[string]string
	// contains filtered or unexported fields
}

func (*BaseRequest) CompleteUrl

func (r *BaseRequest) CompleteUrl() string

func (*BaseRequest) CopyWithRequestParams

func (r *BaseRequest) CopyWithRequestParams(req *BaseRequest) *BaseRequest

func (*BaseRequest) GetParams

func (r *BaseRequest) GetParams() RequestParams

func (*BaseRequest) GetRawParams

func (r *BaseRequest) GetRawParams() map[string][]string

func (*BaseRequest) QueryString

func (r *BaseRequest) QueryString() string

func (*BaseRequest) ToString

func (r *BaseRequest) ToString() string

type CesiumLayerJSONRequest

type CesiumLayerJSONRequest struct {
	CesiumRequest
	LayerName string
}

func NewCesiumLayerJSONRequest

func NewCesiumLayerJSONRequest(hreq *http.Request, validate bool) *CesiumLayerJSONRequest

type CesiumRequest

type CesiumRequest struct {
	BaseRequest
	RequestHandlerName string
	ReqRegex           *regexp.Regexp
	Version            string
}

func (*CesiumRequest) GetRequestHandler

func (r *CesiumRequest) GetRequestHandler() string

type CesiumTileRequest

type CesiumTileRequest struct {
	CesiumRequest
	LayerName  string
	Tile       []int
	Extensions []string
	Format     *tile.TileFormat
}

func NewCesiumTileRequest

func NewCesiumTileRequest(hreq *http.Request, validate bool) *CesiumTileRequest

func (*CesiumTileRequest) GetExtensions

func (r *CesiumTileRequest) GetExtensions() []string

func (*CesiumTileRequest) GetFormat

func (r *CesiumTileRequest) GetFormat() *tile.TileFormat

func (*CesiumTileRequest) GetOrigin

func (r *CesiumTileRequest) GetOrigin() geo.OriginType

func (*CesiumTileRequest) GetOriginString

func (r *CesiumTileRequest) GetOriginString() string

func (*CesiumTileRequest) GetTile

func (r *CesiumTileRequest) GetTile() [3]int

type MapboxRequest

type MapboxRequest struct {
	BaseRequest
	RequestHandlerName string
	AccessToken        string
	ReqRegex           *regexp.Regexp
}

func (*MapboxRequest) GetRequestHandler

func (r *MapboxRequest) GetRequestHandler() string

type MapboxSourceJSONRequest

type MapboxSourceJSONRequest struct {
	MapboxRequest
	LayerName string
	FileName  string
	Secure    bool
}

func NewMapboxSourceJSONRequest

func NewMapboxSourceJSONRequest(hreq *http.Request, validate bool) *MapboxSourceJSONRequest

type MapboxTileRequest

type MapboxTileRequest struct {
	MapboxRequest
	LayerName string
	Tile      []int
	Format    *tile.TileFormat
	Retina    *int
	Origin    string
}

func NewMapboxTileRequest

func NewMapboxTileRequest(hreq *http.Request, validate bool) *MapboxTileRequest

func (*MapboxTileRequest) GetFormat

func (r *MapboxTileRequest) GetFormat() *tile.TileFormat

func (*MapboxTileRequest) GetOrigin

func (r *MapboxTileRequest) GetOrigin() geo.OriginType

func (*MapboxTileRequest) GetOriginString

func (r *MapboxTileRequest) GetOriginString() string

func (*MapboxTileRequest) GetTile

func (r *MapboxTileRequest) GetTile() [3]int

type ParamPair

type ParamPair []string

type Request

type Request interface {
	Validate() error
	ToString() string
	QueryString() string
	CompleteUrl() string
	GetParams() RequestParams
	GetRequestHandler() string
}

func MakeCesiumRequest

func MakeCesiumRequest(req *http.Request, validate bool) Request

func MakeMapboxRequest

func MakeMapboxRequest(req *http.Request, validate bool) Request

func MakeTileRequest

func MakeTileRequest(req *http.Request, validate bool) Request

func MakeWMSRequest

func MakeWMSRequest(req *http.Request, validate bool) Request

func MakeWMTSRequest

func MakeWMTSRequest(req *http.Request, validate bool) Request

type RequestParams

type RequestParams http.Header

func NewRequestParams

func NewRequestParams(dict map[string][]string) RequestParams

func (RequestParams) Get

func (p RequestParams) Get(key string) (val []string, ok bool)

func (RequestParams) GetOne

func (p RequestParams) GetOne(key string, defaults string) string

func (RequestParams) QueryString

func (p RequestParams) QueryString() string

func (RequestParams) Set

func (p RequestParams) Set(key string, val []string)

func (RequestParams) Update

func (p RequestParams) Update(params []ParamPair)

func (RequestParams) WithDefaults

func (p RequestParams) WithDefaults(defaults RequestParams) RequestParams

type TMSRequest

type TMSRequest struct {
	TileRequest
	CapabilitiesRegex *regexp.Regexp
	RootRequestRegex  *regexp.Regexp
}

func NewTMSRequest

func NewTMSRequest(req *http.Request) *TMSRequest

type TileRequest

type TileRequest struct {
	TiledRequest
	TileReqRegex       *regexp.Regexp
	RequestHandlerName string
	UseProfiles        bool
	RequestPrefix      string
	Origin             string
	Dimensions         map[string][]string
	Tile               []int
	Layer              string
	Format             *tile.TileFormat
	Http               *http.Request
}

func NewTileRequest

func NewTileRequest(req *http.Request) *TileRequest

func (*TileRequest) GetFormat

func (r *TileRequest) GetFormat() *tile.TileFormat

func (*TileRequest) GetOrigin

func (r *TileRequest) GetOrigin() geo.OriginType

func (*TileRequest) GetOriginString

func (r *TileRequest) GetOriginString() string

func (*TileRequest) GetRequestHandler

func (r *TileRequest) GetRequestHandler() string

func (*TileRequest) GetTile

func (r *TileRequest) GetTile() [3]int

type TiledRequest

type TiledRequest interface {
	Request
	GetFormat() *tile.TileFormat
	GetTile() [3]int
	GetOriginString() string
	GetOrigin() geo.OriginType
}

type URLTemplateConverter

type URLTemplateConverter struct {
	Template string
	// contains filtered or unexported fields
}

func NewFeatureInfoURLTemplateConverter

func NewFeatureInfoURLTemplateConverter(template string) *URLTemplateConverter

func NewURLTemplateConverter

func NewURLTemplateConverter(template string) *URLTemplateConverter

func (*URLTemplateConverter) GetDimensions

func (t *URLTemplateConverter) GetDimensions() []string

type Version

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

func NewVersion

func NewVersion(ver string) *Version

func (*Version) Less

func (v1 *Version) Less(v2 *Version) bool

type WMSCapabilitiesRequest

type WMSCapabilitiesRequest struct {
	WMSRequest
	MimeType string
}

func NewWMSCapabilitiesRequest

func NewWMSCapabilitiesRequest(param interface{}, url string, validate bool, ht *http.Request) *WMSCapabilitiesRequest

func (*WMSCapabilitiesRequest) GetRequestParams

type WMSCapabilitiesRequestParams

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

func NewWMSCapabilitiesRequestParams

func NewWMSCapabilitiesRequestParams(params RequestParams) WMSCapabilitiesRequestParams

func (*WMSCapabilitiesRequestParams) GetFormat

func (*WMSCapabilitiesRequestParams) GetFormatMimeType

func (r *WMSCapabilitiesRequestParams) GetFormatMimeType() string

func (*WMSCapabilitiesRequestParams) GetFormatString

func (r *WMSCapabilitiesRequestParams) GetFormatString() string

func (*WMSCapabilitiesRequestParams) SetFormat

func (r *WMSCapabilitiesRequestParams) SetFormat(fmrt tile.TileFormat)

type WMSFeatureInfoRequest

type WMSFeatureInfoRequest struct {
	WMSMapRequest
}

func NewWMSFeatureInfoRequest

func NewWMSFeatureInfoRequest(param interface{}, url string, validate bool, ht *http.Request, nonStrict bool) *WMSFeatureInfoRequest

func (*WMSFeatureInfoRequest) AdaptParamsToVersion

func (r *WMSFeatureInfoRequest) AdaptParamsToVersion()

func (*WMSFeatureInfoRequest) AdaptToWMS111

func (r *WMSFeatureInfoRequest) AdaptToWMS111()

func (*WMSFeatureInfoRequest) GetRequestParams

func (r *WMSFeatureInfoRequest) GetRequestParams() *WMSFeatureInfoRequestParams

func (*WMSFeatureInfoRequest) ValidateFormat

func (s *WMSFeatureInfoRequest) ValidateFormat(image_formats []string) bool

type WMSFeatureInfoRequestParams

type WMSFeatureInfoRequestParams struct {
	WMSMapRequestParams
}

func NewWMSFeatureInfoRequestParams

func NewWMSFeatureInfoRequestParams(params RequestParams) WMSFeatureInfoRequestParams

func (*WMSFeatureInfoRequestParams) GetPos

func (r *WMSFeatureInfoRequestParams) GetPos() [2]float64

func (*WMSFeatureInfoRequestParams) GetPosCoords

func (r *WMSFeatureInfoRequestParams) GetPosCoords() []float64

func (*WMSFeatureInfoRequestParams) SetPos

func (r *WMSFeatureInfoRequestParams) SetPos(pos [2]float64)

type WMSLegendGraphicRequest

type WMSLegendGraphicRequest struct {
	WMSRequest
}

func NewWMSLegendGraphicRequest

func NewWMSLegendGraphicRequest(param interface{}, url string, validate bool, ht *http.Request, nonStrict bool) *WMSLegendGraphicRequest

func (*WMSLegendGraphicRequest) GetRequestParams

type WMSLegendGraphicRequestParams

type WMSLegendGraphicRequestParams struct {
	WMSMapRequestParams
}

func NewWMSLegendGraphicRequestParams

func NewWMSLegendGraphicRequestParams(params RequestParams) WMSLegendGraphicRequestParams

func (*WMSLegendGraphicRequestParams) GetLayer

func (r *WMSLegendGraphicRequestParams) GetLayer() string

func (*WMSLegendGraphicRequestParams) GetScale

func (r *WMSLegendGraphicRequestParams) GetScale() int

func (*WMSLegendGraphicRequestParams) SetLayer

func (r *WMSLegendGraphicRequestParams) SetLayer(l string)

func (*WMSLegendGraphicRequestParams) SetScale

func (r *WMSLegendGraphicRequestParams) SetScale(l int)

type WMSMapRequest

type WMSMapRequest struct {
	WMSRequest
}

func NewWMSMapRequest

func NewWMSMapRequest(param interface{}, url string, validate bool, ht *http.Request, nonStrict bool) *WMSMapRequest

func (*WMSMapRequest) AdaptParamsToVersion

func (r *WMSMapRequest) AdaptParamsToVersion()

func (*WMSMapRequest) AdaptToWMS111

func (r *WMSMapRequest) AdaptToWMS111()

func (*WMSMapRequest) GetRequestParams

func (r *WMSMapRequest) GetRequestParams() *WMSMapRequestParams

func (*WMSMapRequest) Validate

func (s *WMSMapRequest) Validate() error

func (*WMSMapRequest) ValidateBBox

func (s *WMSMapRequest) ValidateBBox() error

func (*WMSMapRequest) ValidateFormat

func (s *WMSMapRequest) ValidateFormat(image_formats []string) error

func (*WMSMapRequest) ValidateParam

func (s *WMSMapRequest) ValidateParam() error

func (*WMSMapRequest) ValidateSrs

func (s *WMSMapRequest) ValidateSrs(srs []string) error

func (*WMSMapRequest) ValidateStyles

func (s *WMSMapRequest) ValidateStyles() error

type WMSMapRequestParams

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

func NewWMSMapRequestParams

func NewWMSMapRequestParams(params RequestParams) WMSMapRequestParams

func (*WMSMapRequestParams) AddLayer

func (r *WMSMapRequestParams) AddLayer(layer string)

func (*WMSMapRequestParams) AddLayers

func (r *WMSMapRequestParams) AddLayers(layers []string)

func (*WMSMapRequestParams) GetBBox

func (r *WMSMapRequestParams) GetBBox() vec2d.Rect

func (*WMSMapRequestParams) GetBGColor

func (r *WMSMapRequestParams) GetBGColor() color.Color

func (*WMSMapRequestParams) GetCrs

func (r *WMSMapRequestParams) GetCrs() string

func (*WMSMapRequestParams) GetFormat

func (r *WMSMapRequestParams) GetFormat() tile.TileFormat

func (*WMSMapRequestParams) GetFormatMimeType

func (r *WMSMapRequestParams) GetFormatMimeType() string

func (*WMSMapRequestParams) GetFormatString

func (r *WMSMapRequestParams) GetFormatString() string

func (*WMSMapRequestParams) GetLayers

func (r *WMSMapRequestParams) GetLayers() []string

func (*WMSMapRequestParams) GetMetaSize

func (r *WMSMapRequestParams) GetMetaSize() [2]uint32

func (*WMSMapRequestParams) GetSize

func (r *WMSMapRequestParams) GetSize() [2]uint32

func (*WMSMapRequestParams) GetSrs

func (r *WMSMapRequestParams) GetSrs() string

func (*WMSMapRequestParams) GetTransparent

func (r *WMSMapRequestParams) GetTransparent() bool

func (*WMSMapRequestParams) SetBBox

func (r *WMSMapRequestParams) SetBBox(bbox vec2d.Rect)

func (*WMSMapRequestParams) SetBGColor

func (r *WMSMapRequestParams) SetBGColor(c color.Color)

func (*WMSMapRequestParams) SetCrs

func (r *WMSMapRequestParams) SetCrs(srs string)

func (*WMSMapRequestParams) SetFormat

func (r *WMSMapRequestParams) SetFormat(fmrt tile.TileFormat)

func (*WMSMapRequestParams) SetSize

func (r *WMSMapRequestParams) SetSize(si [2]uint32)

func (*WMSMapRequestParams) SetTransparent

func (r *WMSMapRequestParams) SetTransparent(transparent bool)

func (*WMSMapRequestParams) Update

func (r *WMSMapRequestParams) Update(params map[string]string)

type WMSRequest

type WMSRequest struct {
	BaseRequest
	RequestHandlerName string
	ExpectedParam      []string
	NonStrict          bool
	NonStrictParams    mapset.Set
	// contains filtered or unexported fields
}

func (*WMSRequest) GetRequestHandler

func (r *WMSRequest) GetRequestHandler() string

type WMTS100CapabilitiesRequest

type WMTS100CapabilitiesRequest struct {
	WMTSRequest
	CapabilitiesTemplate string
	MimeType             string
}

func NewWMTS100CapabilitiesRequest

func NewWMTS100CapabilitiesRequest(param interface{}, url string, validate bool, ht *http.Request) *WMTS100CapabilitiesRequest

func (*WMTS100CapabilitiesRequest) GetRequestParams

type WMTS100FeatureInfoRequest

type WMTS100FeatureInfoRequest struct {
	WMTS100TileRequest
}

func NewWMTS100FeatureInfoRequest

func NewWMTS100FeatureInfoRequest(param interface{}, url string, validate bool, ht *http.Request) *WMTS100FeatureInfoRequest

func (*WMTS100FeatureInfoRequest) GetRequestParams

func (*WMTS100FeatureInfoRequest) MakeRequest

func (r *WMTS100FeatureInfoRequest) MakeRequest() map[string]interface{}

type WMTS100TileRequest

type WMTS100TileRequest struct {
	WMTSRequest
}

func NewWMTS100TileRequest

func NewWMTS100TileRequest(param interface{}, url string, validate bool, ht *http.Request) *WMTS100TileRequest

func (*WMTS100TileRequest) GetFormat

func (r *WMTS100TileRequest) GetFormat() *tile.TileFormat

func (*WMTS100TileRequest) GetOrigin

func (r *WMTS100TileRequest) GetOrigin() geo.OriginType

func (*WMTS100TileRequest) GetOriginString

func (r *WMTS100TileRequest) GetOriginString() string

func (*WMTS100TileRequest) GetTile

func (r *WMTS100TileRequest) GetTile() [3]int

func (*WMTS100TileRequest) MakeRequest

func (r *WMTS100TileRequest) MakeRequest() map[string]interface{}

func (*WMTS100TileRequest) Validate

func (r *WMTS100TileRequest) Validate() error

type WMTSCapabilitiesRequestParams

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

func NewWMTSCapabilitiesRequestParams

func NewWMTSCapabilitiesRequestParams(params RequestParams) WMTSCapabilitiesRequestParams

func (*WMTSCapabilitiesRequestParams) GetFormat

func (*WMTSCapabilitiesRequestParams) GetFormatMimeType

func (r *WMTSCapabilitiesRequestParams) GetFormatMimeType() string

func (*WMTSCapabilitiesRequestParams) GetUpdateSequence

func (r *WMTSCapabilitiesRequestParams) GetUpdateSequence() string

func (*WMTSCapabilitiesRequestParams) SetFormat

func (r *WMTSCapabilitiesRequestParams) SetFormat(fmrt tile.TileFormat)

func (*WMTSCapabilitiesRequestParams) SetUpdateSequence

func (r *WMTSCapabilitiesRequestParams) SetUpdateSequence(s string)

type WMTSFeatureInfoRequestParams

type WMTSFeatureInfoRequestParams struct {
	WMTSTileRequestParams
}

func NewWMTSFeatureInfoRequestParams

func NewWMTSFeatureInfoRequestParams(params RequestParams) WMTSFeatureInfoRequestParams

func (*WMTSFeatureInfoRequestParams) GetInfoformat

func (r *WMTSFeatureInfoRequestParams) GetInfoformat() string

func (*WMTSFeatureInfoRequestParams) GetPos

func (r *WMTSFeatureInfoRequestParams) GetPos() [2]float64

func (*WMTSFeatureInfoRequestParams) SetInfoformat

func (r *WMTSFeatureInfoRequestParams) SetInfoformat(info string)

func (*WMTSFeatureInfoRequestParams) SetPos

func (r *WMTSFeatureInfoRequestParams) SetPos(pos [2]float64)

type WMTSRequest

type WMTSRequest struct {
	BaseRequest
	RequestHandlerName string
	ExpectedParam      []string
	NonStrict          bool
	NonStrictParams    mapset.Set
	UseProfiles        bool
}

func (*WMTSRequest) GetRequestHandler

func (r *WMTSRequest) GetRequestHandler() string

func (*WMTSRequest) GetRequestParams

func (r *WMTSRequest) GetRequestParams() WMTSTileRequestParams

type WMTSTileRequestParams

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

func NewWMTSTileRequestParams

func NewWMTSTileRequestParams(params RequestParams) WMTSTileRequestParams

func (*WMTSTileRequestParams) GetCoord

func (r *WMTSTileRequestParams) GetCoord() [3]int

func (*WMTSTileRequestParams) GetDimensions

func (r *WMTSTileRequestParams) GetDimensions() map[string][]string

func (*WMTSTileRequestParams) GetFormat

func (r *WMTSTileRequestParams) GetFormat() tile.TileFormat

func (*WMTSTileRequestParams) GetFormatMimeType

func (r *WMTSTileRequestParams) GetFormatMimeType() string

func (*WMTSTileRequestParams) GetLayer

func (r *WMTSTileRequestParams) GetLayer() string

func (*WMTSTileRequestParams) GetTileMatrixSet

func (r *WMTSTileRequestParams) GetTileMatrixSet() string

func (*WMTSTileRequestParams) SetCoord

func (r *WMTSTileRequestParams) SetCoord(c [3]int)

func (*WMTSTileRequestParams) SetFormat

func (r *WMTSTileRequestParams) SetFormat(fmrt tile.TileFormat)

func (*WMTSTileRequestParams) SetLayer

func (r *WMTSTileRequestParams) SetLayer(l string)

func (*WMTSTileRequestParams) SetTileMatrixSet

func (r *WMTSTileRequestParams) SetTileMatrixSet(tms string)

func (*WMTSTileRequestParams) Update

func (r *WMTSTileRequestParams) Update(params map[string]string)

Jump to

Keyboard shortcuts

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