Documentation
¶
Index ¶
- type Attribution
- type AuthorityURL
- type BoundingBox
- type Capabilities
- type Capability
- type DCPType
- type Dimension
- type Exception
- type Extent
- type Get
- type HTTP
- type KeywordList
- type LatLonBoundingBox
- type Layer
- type LegendURL
- type LogoURL
- type MetadataURL
- type OnlineResource
- type Post
- type Request
- type RequestEntry
- type Service
- type Style
- type UserDefinedSymbolization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribution ¶
type Attribution struct {
XMLName xml.Name `xml:"Attribution"`
Title string `xml:"Title,omitempty"`
OnlineResource OnlineResource `xml:"OnlineResource,omitempty"`
LogoURL LogoURL `xml:"LogoURL,omitempty"`
}
Attribution tag
type AuthorityURL ¶
type AuthorityURL struct {
XMLName xml.Name `xml:"AuthorityURL"`
Name string `xml:"name,attr"`
OnlineResource OnlineResource `xml:"OnlineResource"`
}
AuthorityURL tag
type BoundingBox ¶
type BoundingBox struct {
XMLName xml.Name `xml:"BoundingBox"`
MinX float64 `xml:"minx,attr"`
MinY float64 `xml:"miny,attr"`
MaxX float64 `xml:"maxx,attr"`
MaxY float64 `xml:"maxy,attr"`
SRS string `xml:"SRS,attr,omitempty"`
}
BoundingBox tag
type Capabilities ¶
type Capabilities struct {
XMLName xml.Name `xml:"WMT_MS_Capabilities"`
Version string `xml:"version,attr,omitempty"`
UpdateSequence string `xml:"updateSequence,attr,omitempty"`
Service Service `xml:"Service"`
Capability Capability `xml:"Capability"`
}
Capabilities parent tag
func ParseCapabilities ¶
func ParseCapabilities(xmlByte []byte) *Capabilities
ParseCapabilities read wms capabilities
type Capability ¶
type Capability struct {
XMLName xml.Name `xml:"Capability"`
Request Request `xml:"Request"`
Exception Exception `xml:"Exception"`
UserDefinedSymbolization UserDefinedSymbolization `xml:"UserDefinedSymbolization"`
Layer Layer `xml:"Layer"`
}
Capability tag
type Dimension ¶
type Dimension struct {
XMLName xml.Name `xml:"Dimension"`
Name string `xml:"name,attr,omitempty"`
Units string `xml:"units,attr,omitempty"`
}
Dimension tag
type Extent ¶
type Extent struct {
XMLName xml.Name `xml:"Extent"`
Name string `xml:"name,attr,omitempty"`
Default string `xml:"default,attr,omitempty"`
}
Extent tag
type Get ¶
type Get struct {
XMLName xml.Name `xml:"Get"`
OnlineResource OnlineResource `xml:"OnlineResource"`
}
Get tag
type HTTP ¶
type HTTP struct {
XMLName xml.Name `xml:"HTTP"`
Get *Get `xml:"Get,omitempty"`
Post *Post `xml:"Post,omitempty"`
}
HTTP tag
type KeywordList ¶
type KeywordList struct {
XMLName xml.Name `xml:"KeywordList,omitempty"`
Keyword []*string `xml:"Keyword,omitempty"`
}
KeywordList tag
type LatLonBoundingBox ¶
type LatLonBoundingBox struct {
XMLName xml.Name `xml:"LatLonBoundingBox"`
MinX float64 `xml:"minx,attr"`
MinY float64 `xml:"miny,attr"`
MaxX float64 `xml:"maxx,attr"`
MaxY float64 `xml:"maxy,attr"`
}
LatLonBoundingBox tag
type Layer ¶
type Layer struct {
XMLName xml.Name `xml:"Layer"`
Title string `xml:"Title"`
Abstract string `xml:"Abstract"`
Queryable int8 `xml:"queryable,attr,omitempty"`
SRS []*string `xml:"SRS,omitempty"`
LatLonBoundingBox LatLonBoundingBox `xml:"LatLonBoundingBox,omitempty"`
BoundingBox []*BoundingBox `xml:"BoundingBox,omitempty"`
AuthorityURL AuthorityURL `xml:"AuthorityURL,omitempty"`
Style []*Style `xml:"Style,omitempty"`
Layer []*Layer `xml:"Layer,omitempty"`
MetadataURL []*MetadataURL `xml:"MetadataURL,omitempty"`
Dimension Dimension `xml:"Dimension,omitempty"`
Extent Extent `xml:"Extent,omitempty"`
Attribution Attribution `xml:"Attribution,omitempty"`
}
Layer tag
type LegendURL ¶
type LegendURL struct {
XMLName xml.Name `xml:"LegendURL"`
Height float64 `xml:"height,attr"`
Width float64 `xml:"width,attr"`
Format string `xml:"Format"`
OnlineResource OnlineResource `xml:"OnlineResource"`
}
LegendURL tag
type LogoURL ¶
type LogoURL struct {
XMLName xml.Name `xml:"LogoURL"`
Width float32 `xml:"width,attr"`
Height float32 `xml:"height,attr"`
Format string `xml:"Format"`
OnlineResource OnlineResource `xml:"OnlineResource"`
}
LogoURL tag
type MetadataURL ¶
type MetadataURL struct {
XMLName xml.Name `xml:"MetadataURL"`
Type string `xml:"type,attr"`
Format string `xml:"Format"`
OnlineResource OnlineResource `xml:"OnlineResource"`
}
MetadataURL tag
type OnlineResource ¶
type OnlineResource struct {
XMLName xml.Name `xml:"OnlineResource"`
Type string `xml:"http://www.w3.org/1999/xlink type,attr,omitempty"`
Href string `xml:"http://www.w3.org/1999/xlink href,attr,omitempty"`
}
OnlineResource tag
type Post ¶
type Post struct {
XMLName xml.Name `xml:"Post"`
OnlineResource OnlineResource `xml:"OnlineResource"`
}
Post tag
type Request ¶
type Request struct {
XMLName xml.Name `xml:"Request"`
GetCapabilities RequestEntry `xml:"GetCapabilities"`
GetMap RequestEntry `xml:"GetMap"`
GetFeatureInfo RequestEntry `xml:"GetFeatureInfo"`
DescribeLayer RequestEntry `xml:"DescribeLayer"`
GetLegendGraphic RequestEntry `xml:"GetLegendGraphic"`
GetStyles RequestEntry `xml:"GetStyles"`
}
Request tag
type RequestEntry ¶
type RequestEntry struct {
XMLName xml.Name
Format []*string `xml:"Format,omitempty"`
DCPType DCPType `xml:"DCPType,omitempty"`
}
RequestEntry tag
type Service ¶
type Service struct {
XMLName xml.Name `xml:"Service"`
Name string `xml:"Name"`
Title string `xml:"Title"`
KeywordList KeywordList `xml:"KeywordList"`
OnlineResource OnlineResource `xml:"OnlineResource"`
Fees string `xml:"Fees"`
AccessConstraints string `xml:"AccessConstraints"`
}
Service tag
type Style ¶
type Style struct {
XMLName xml.Name `xml:"Style"`
Name string `xml:"Name"`
Title string `xml:"Title"`
LegendURL LegendURL `xml:"LegendURL"`
}
Style tag
type UserDefinedSymbolization ¶
type UserDefinedSymbolization struct {
XMLName xml.Name `xml:"UserDefinedSymbolization"`
SupportSLD string `xml:"SupportSLD,attr"`
UserLayer string `xml:"UserLayer,attr"`
UserStyle string `xml:"UserStyle,attr"`
RemoteWFS string `xml:"RemoteWFS,attr"`
}
UserDefinedSymbolization tag
Click to show internal directories.
Click to hide internal directories.