From f62c413d40a423f1929b7bf267545a207c10cdcd Mon Sep 17 00:00:00 2001 From: "geo-ghci-int[bot]" <146321879+geo-ghci-int[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 08:37:25 +0000 Subject: [PATCH] Update from base branch From the artifact of the previous workflow run --- qgisserver/project.qgs | 1 + tilegeneration/config.yaml.tmpl | 4 +-- ui/desktop.html | 5 +++- ui/src/interfaces/ControllerDesktop.ts | 15 ++++++++++++ ui/src/interfaces/contextualdata.html.js | 31 ++++++++++++++++++++++++ 5 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 ui/src/interfaces/contextualdata.html.js diff --git a/qgisserver/project.qgs b/qgisserver/project.qgs index 12e326590..621686c72 100644 --- a/qgisserver/project.qgs +++ b/qgisserver/project.qgs @@ -3412,6 +3412,7 @@ def my_form_open(dialog, layer, feature): landuse_7fa0e9e8_a78c_4702_acc7_937cb583ed13 service='demo' sslmode=require key='fid' srid=2056 type=Polygon checkPrimaryKeyUnicity='1' table="geodata"."osm_landuse" (geom) + Landuse test diff --git a/tilegeneration/config.yaml.tmpl b/tilegeneration/config.yaml.tmpl index 2df4ceaf9..15f7e7056 100644 --- a/tilegeneration/config.yaml.tmpl +++ b/tilegeneration/config.yaml.tmpl @@ -144,9 +144,9 @@ ${DISABLE_LOCAL} admin_path: tiles/admin process: optipng_test: - - cmd: optipng -o7 -simulate %(in)s + - cmd: optipng -fix -o7 -simulate %(in)s optipng: - - cmd: optipng %(args)s -zc9 -zm8 -zs3 -f5 %(in)s + - cmd: optipng %(args)s -fix -zc9 -zm8 -zs3 -f5 %(in)s arg: default: '-q' quiet: '-q' diff --git a/ui/desktop.html b/ui/desktop.html index 04f44f648..e2bb8a2db 100644 --- a/ui/desktop.html +++ b/ui/desktop.html @@ -342,7 +342,7 @@ -
+
{{'Selection' | translate}}
@@ -441,6 +441,9 @@ gmf-map-map="mainCtrl.map" gmf-map-manage-resize="mainCtrl.manageResize" gmf-map-resize-transition="mainCtrl.resizeTransition" + gmf-contextualdata="" + gmf-contextualdata-display="mainCtrl.contextualdataActive" + gmf-contextualdata-map="::mainCtrl.map" > { + // @ts-ignore: webpack + $templateCache.put('gmf/contextualdata', contextualDataHtmlTemplate); + }, + ], +); + geomapfishModule.controller('DesktopController', Controller); export default geomapfishModule; diff --git a/ui/src/interfaces/contextualdata.html.js b/ui/src/interfaces/contextualdata.html.js new file mode 100644 index 000000000..bcdb68dbe --- /dev/null +++ b/ui/src/interfaces/contextualdata.html.js @@ -0,0 +1,31 @@ +export default ` + + + + + + + + + + + + + + + + + + + + + + + + +
Swiss grid (LV95){{coord_2056|ngeoNumberCoordinates:0:'{x} / {y}'}}
Swiss grid (LV03){{coord_21781|ngeoNumberCoordinates:0:'{x} / {y}'}}
Wgs Coord.{{coord_4326|ngeoNumberCoordinates:2:'{y} / {x}'}}
Wgs Coord. DMS{{coord_4326|ngeoDMSCoordinates:0:'{y} {x}'}}
Elevation (SRTM){{srtm | number}} [m]
Elevation (Aster){{aster | number}} [m]
+Google StreetView`;