Skip to content

Commit

Permalink
Merge pull request #29 from PDOK/fix-wms-layer-sequence-order
Browse files Browse the repository at this point in the history
Fix wms layer sequence order.
  • Loading branch information
RoelvandenBerg authored Sep 15, 2021
2 parents 6b35d50 + d2541f7 commit b8e9e55
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkg/wms130/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,17 @@ type Layer struct {
KeywordList *Keywords `xml:"KeywordList" yaml:"keywordlist"`
CRS []CRS `xml:"CRS" yaml:"crs"`
EXGeographicBoundingBox *EXGeographicBoundingBox `xml:"EX_GeographicBoundingBox" yaml:"exgeographicboundingbox"`
Dimension []*Dimension `xml:"Dimension" yaml:"dimension"`
BoundingBox []*LayerBoundingBox `xml:"BoundingBox" yaml:"boundingbox"`
AuthorityURL *AuthorityURL `xml:"AuthorityURL" yaml:"authorityurl"`
Dimension []*Dimension `xml:"Dimension" yaml:"dimension"`
Attribution *Attribution `xml:"Attribution,omitempty" yaml:"attribution"`
AuthorityURL *AuthorityURL `xml:"AuthorityURL" yaml:"authorityurl"`
Identifier *Identifier `xml:"Identifier" yaml:"identifier"`
FeatureListURL *FeatureListURL `xml:"FeatureListURL,omitempty" yaml:"featurelisturl"`
MetadataURL []*MetadataURL `xml:"MetadataURL" yaml:"metadataurl"`
DataURL *URL `xml:"DataURL,omitempty" yaml:"dataurl"`
FeatureListURL *URL `xml:"FeatureListURL,omitempty" yaml:"featurelisturl"`
Style []*Style `xml:"Style" yaml:"style"`
MinScaleDenominator *float64 `xml:"MinScaleDenominator,omitempty" yaml:"minscaledenominator"`
MaxScaleDenominator *float64 `xml:"MaxScaleDenominator,omitempty" yaml:"maxscaledenominator"`
Layer []*Layer `xml:"Layer" yaml:"layer"`
}

Expand Down Expand Up @@ -231,8 +234,8 @@ type Attribution struct {
}

// Identifier in struct for repeatability
type FeatureListURL struct {
Format string `xml:"Format" yaml:"format"`
type URL struct {
Format *string `xml:"Format" yaml:"format"`
OnlineResource OnlineResource `xml:"OnlineResource" yaml:"onlineresource"`
}

Expand Down

0 comments on commit b8e9e55

Please sign in to comment.