From 544e166b5a824190c498bcf3906e63402fdebb16 Mon Sep 17 00:00:00 2001 From: Reijer Copier Date: Fri, 17 Dec 2021 14:34:31 +0100 Subject: [PATCH] Allow multiple ResourceURL elements --- pkg/wmts100/capabilities.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/wmts100/capabilities.go b/pkg/wmts100/capabilities.go index a7dd1bd..8ceea3e 100644 --- a/pkg/wmts100/capabilities.go +++ b/pkg/wmts100/capabilities.go @@ -42,7 +42,7 @@ type Layer struct { Format []string `xml:"Format" yaml:"format"` InfoFormat []string `xml:"InfoFormat" yaml:"infoformat"` TileMatrixSetLink []TileMatrixSetLink `xml:"TileMatrixSetLink" yaml:"tilematrixsetlink"` - ResourceURL *ResourceURL `xml:"ResourceURL,omitempty" yaml:"resourceurl"` + ResourceURL []ResourceURL `xml:"ResourceURL" yaml:"resourceurl"` } type ResourceURL struct {