Skip to content

Commit

Permalink
Fix WMTS tilematrixset.
Browse files Browse the repository at this point in the history
  • Loading branch information
RoelvandenBerg committed Sep 9, 2021
1 parent 662433f commit bf5fef3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pkg/wmts100/getcapabilities_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ func (gc GetCapabilitiesResponse) ToXML() []byte {
type GetCapabilitiesResponse struct {
XMLName xml.Name `xml:"Capabilities"`
Namespaces `yaml:"namespaces"`
ServiceIdentification ServiceIdentification `xml:"ows:ServiceIdentification" yaml:"serviceidentification"`
ServiceProvider wsc110.ServiceProvider `xml:"ows:ServiceProvider,omitempty" yaml:"serviceprovider"`
OperationsMetadata *OperationsMetadata `xml:"ows:OperationsMetadata,omitempty" yaml:"operationsmetadata"`
Contents Contents `xml:"Contents" yaml:"contents"`
ServiceMetadataURL *ServiceMetadataURL `xml:"ServiceMetadataURL,omitempty" yaml:"servicemetadataurl"`
ServiceIdentification ServiceIdentification `xml:"ows:ServiceIdentification" yaml:"serviceidentification"`
ServiceProvider *wsc110.ServiceProvider `xml:"ows:ServiceProvider,omitempty" yaml:"serviceprovider"`
OperationsMetadata *OperationsMetadata `xml:"ows:OperationsMetadata,omitempty" yaml:"operationsmetadata"`
Contents Contents `xml:"Contents" yaml:"contents"`
ServiceMetadataURL *ServiceMetadataURL `xml:"ServiceMetadataURL,omitempty" yaml:"servicemetadataurl"`
}

// Namespaces struct containing the namespaces needed for the XML document
Expand Down Expand Up @@ -97,13 +97,13 @@ type Method struct {

// ServiceIdentification struct should only be fill by the "template" configuration wmts100.yaml
type ServiceIdentification struct {
Title string `xml:"ows:Title" yaml:"title"`
Abstract string `xml:"ows:Abstract" yaml:"abstract"`
Keywords wsc110.Keywords `xml:"ows:Keywords,omitempty" yaml:"keywords"`
ServiceType string `xml:"ows:ServiceType" yaml:"servicetype"`
ServiceTypeVersion string `xml:"ows:ServiceTypeVersion" yaml:"servicetypeversion"`
Fees string `xml:"ows:Fees" yaml:"fees"`
AccessConstraints string `xml:"ows:AccessConstraints" yaml:"accessconstraints"`
Title string `xml:"ows:Title" yaml:"title"`
Abstract string `xml:"ows:Abstract" yaml:"abstract"`
Keywords *wsc110.Keywords `xml:"ows:Keywords,omitempty" yaml:"keywords"`
ServiceType string `xml:"ows:ServiceType" yaml:"servicetype"`
ServiceTypeVersion string `xml:"ows:ServiceTypeVersion" yaml:"servicetypeversion"`
Fees string `xml:"ows:Fees" yaml:"fees"`
AccessConstraints string `xml:"ows:AccessConstraints" yaml:"accessconstraints"`
}

// ServiceMetadataURL in struct for repeatability
Expand Down

0 comments on commit bf5fef3

Please sign in to comment.