diff --git a/cmd/main.go b/cmd/main.go index f8e267d..f5c4fdb 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -51,7 +51,7 @@ import ( ) const ( - defaultGokoalaImage = "docker.io/pdok/gokoala:0.52.0" + defaultGokoalaImage = "docker.io/pdok/gokoala:0.53.4" ) var ( diff --git a/config/crd/bases/pdok.nl_ogcapis.yaml b/config/crd/bases/pdok.nl_ogcapis.yaml index 6ba2a39..7540c1a 100644 --- a/config/crd/bases/pdok.nl_ogcapis.yaml +++ b/config/crd/bases/pdok.nl_ogcapis.yaml @@ -657,26 +657,31 @@ spec: type: array type: object mapSheetDownloads: - description: Downloads available for this collection + description: |- + Downloads available for this collection through map sheets. Note that 'map sheets' refer to a map + divided in rectangle areas that can be downloaded individually. properties: properties: - description: Properties that provide the download - details per map sheet + description: |- + Properties that provide the download details per map sheet. Note that 'map sheets' refer to a map + divided in rectangle areas that can be downloaded individually. properties: assetUrl: - description: Property containing file download - URL + description: Property/column containing + file download URL type: string mapSheetId: - description: Property containing the map - sheet identifier + description: Property/column containing + the map sheet identifier type: string mediaType: - description: Property containing file media - type + description: The actual media type (not + a property/column) of the download, like + application/zip. type: string size: - description: Property containing file size + description: Property/column containing + file size type: string required: - assetUrl @@ -792,6 +797,41 @@ spec: only required when "implicit tiling" extension is used. type: string + web: + description: Configuration specifically related + to HTML/Web representation + properties: + featureViewer: + description: Viewer config for displaying a + single feature on a map + properties: + maxScale: + description: |- + Minimal initial zoom level of the viewer when rendering features, specified by scale denominator + (not set by default). + type: integer + minScale: + description: |- + Maximum initial zoom level of the viewer when rendering features, specified by scale denominator. + Defaults to 1000 (= scale 1:1000). + type: integer + type: object + featuresViewer: + description: Viewer config for displaying multiple + features on a map + properties: + maxScale: + description: |- + Minimal initial zoom level of the viewer when rendering features, specified by scale denominator + (not set by default). + type: integer + minScale: + description: |- + Maximum initial zoom level of the viewer when rendering features, specified by scale denominator. + Defaults to 1000 (= scale 1:1000). + type: integer + type: object + type: object required: - id type: object @@ -1363,26 +1403,31 @@ spec: type: array type: object mapSheetDownloads: - description: Downloads available for this collection + description: |- + Downloads available for this collection through map sheets. Note that 'map sheets' refer to a map + divided in rectangle areas that can be downloaded individually. properties: properties: - description: Properties that provide the download - details per map sheet + description: |- + Properties that provide the download details per map sheet. Note that 'map sheets' refer to a map + divided in rectangle areas that can be downloaded individually. properties: assetUrl: - description: Property containing file download - URL + description: Property/column containing + file download URL type: string mapSheetId: - description: Property containing the map - sheet identifier + description: Property/column containing + the map sheet identifier type: string mediaType: - description: Property containing file media - type + description: The actual media type (not + a property/column) of the download, like + application/zip. type: string size: - description: Property containing file size + description: Property/column containing + file size type: string required: - assetUrl @@ -1498,6 +1543,41 @@ spec: only required when "implicit tiling" extension is used. type: string + web: + description: Configuration specifically related + to HTML/Web representation + properties: + featureViewer: + description: Viewer config for displaying a + single feature on a map + properties: + maxScale: + description: |- + Minimal initial zoom level of the viewer when rendering features, specified by scale denominator + (not set by default). + type: integer + minScale: + description: |- + Maximum initial zoom level of the viewer when rendering features, specified by scale denominator. + Defaults to 1000 (= scale 1:1000). + type: integer + type: object + featuresViewer: + description: Viewer config for displaying multiple + features on a map + properties: + maxScale: + description: |- + Minimal initial zoom level of the viewer when rendering features, specified by scale denominator + (not set by default). + type: integer + minScale: + description: |- + Maximum initial zoom level of the viewer when rendering features, specified by scale denominator. + Defaults to 1000 (= scale 1:1000). + type: integer + type: object + type: object required: - id type: object @@ -2595,26 +2675,31 @@ spec: type: array type: object mapSheetDownloads: - description: Downloads available for this collection + description: |- + Downloads available for this collection through map sheets. Note that 'map sheets' refer to a map + divided in rectangle areas that can be downloaded individually. properties: properties: - description: Properties that provide the download - details per map sheet + description: |- + Properties that provide the download details per map sheet. Note that 'map sheets' refer to a map + divided in rectangle areas that can be downloaded individually. properties: assetUrl: - description: Property containing file download - URL + description: Property/column containing + file download URL type: string mapSheetId: - description: Property containing the map - sheet identifier + description: Property/column containing + the map sheet identifier type: string mediaType: - description: Property containing file media - type + description: The actual media type (not + a property/column) of the download, like + application/zip. type: string size: - description: Property containing file size + description: Property/column containing + file size type: string required: - assetUrl @@ -2730,6 +2815,41 @@ spec: only required when "implicit tiling" extension is used. type: string + web: + description: Configuration specifically related + to HTML/Web representation + properties: + featureViewer: + description: Viewer config for displaying a + single feature on a map + properties: + maxScale: + description: |- + Minimal initial zoom level of the viewer when rendering features, specified by scale denominator + (not set by default). + type: integer + minScale: + description: |- + Maximum initial zoom level of the viewer when rendering features, specified by scale denominator. + Defaults to 1000 (= scale 1:1000). + type: integer + type: object + featuresViewer: + description: Viewer config for displaying multiple + features on a map + properties: + maxScale: + description: |- + Minimal initial zoom level of the viewer when rendering features, specified by scale denominator + (not set by default). + type: integer + minScale: + description: |- + Maximum initial zoom level of the viewer when rendering features, specified by scale denominator. + Defaults to 1000 (= scale 1:1000). + type: integer + type: object + type: object required: - id type: object diff --git a/go.mod b/go.mod index d9d955b..408ad08 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/PDOK/ogcapi-operator -go 1.22.4 +go 1.22.6 require ( - github.com/PDOK/gokoala v0.52.0 + github.com/PDOK/gokoala v0.53.4 github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 github.com/peterbourgon/ff v1.7.1 diff --git a/go.sum b/go.sum index 4dc8d2d..d1c49a3 100644 --- a/go.sum +++ b/go.sum @@ -3,8 +3,8 @@ dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/PDOK/gokoala v0.52.0 h1:G7SYSIr6B01gOxl1wxymXZCaa/5fwI9mtKUyzRv73w4= -github.com/PDOK/gokoala v0.52.0/go.mod h1:IQAx9E2PTQHhjhzLF74d2+ooU/VOhiQHYfSj74A0n6c= +github.com/PDOK/gokoala v0.53.4 h1:jhD9RCeW9NDZqaZIkA9s6MkE5lBAresj2wVrK4BXPlQ= +github.com/PDOK/gokoala v0.53.4/go.mod h1:6MCChf4zzB6JdfDNM0hOvC5MZyM8aSaDygqMdnKt+JE= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM=