Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterVisscher committed Jul 14, 2020
1 parent d233794 commit a52e379
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/wcs201/response/getcapabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ type Operation struct {
} `xml:"ows:DCP" yaml:"dcp"`
}

// Post in seperated struct so to use it as a Pointer
// Post in separated struct so to use it as a Pointer
type Post struct {
Type string `xml:"xlink:type,attr" yaml:"type"`
Href string `xml:"xlink:href,attr" yaml:"href"`
Expand Down
2 changes: 0 additions & 2 deletions pkg/wms130/request/getmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ func (gmkvp *GetMapKVP) BuildOutput() (Output, ows.Exception) {

// BuildStyledLayerDescriptor buils a StyledLayerDescriptor struct from the KVP information
func (gmkvp *GetMapKVP) BuildStyledLayerDescriptor() (StyledLayerDescriptor, ows.Exception) {
sld := StyledLayerDescriptor{}

var layers, styles []string
if gmkvp.Layers != `` {
layers = strings.Split(gmkvp.Layers, ",")
Expand Down
2 changes: 1 addition & 1 deletion pkg/wmts100/response/getcapabilities.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package reponse
package response

import (
"encoding/xml"
Expand Down

0 comments on commit a52e379

Please sign in to comment.