From c1bf6159e78937e6baac12a8843fff5e798fc0b5 Mon Sep 17 00:00:00 2001 From: mneige <90412486+mneige@users.noreply.github.com> Date: Mon, 29 Apr 2024 09:51:37 -0400 Subject: [PATCH] mapfiles test --- proxy.conf.json | 2 +- src/contexts/_default.json | 43 ++++++--------------------------- src/environments/environment.ts | 9 +++++++ 3 files changed, 18 insertions(+), 36 deletions(-) diff --git a/proxy.conf.json b/proxy.conf.json index 84c2419be..dc208768b 100644 --- a/proxy.conf.json +++ b/proxy.conf.json @@ -1,6 +1,6 @@ { "/ws/": { - "target": "https://testgeoegl.msp.gouv.qc.ca", + "target": "https://geodev8.sso.msp.gouv.qc.ca", "secure": false, "changeOrigin": true }, diff --git a/src/contexts/_default.json b/src/contexts/_default.json index 7cdf186b0..c7ec51355 100644 --- a/src/contexts/_default.json +++ b/src/contexts/_default.json @@ -3,45 +3,18 @@ "base": "_base", "layers": [ { - "title": "MSP DESSERTE MUN 911", + "title": "points_feux_test", + "baseLayer": false, + "visible": true, "sourceOptions": { - "type": "wms", - "url": "https://geoegl.msp.gouv.qc.ca/apis/ws/igo_gouvouvert.fcgi", - "params": { - "layers": "MSP_DESSERTE_MUN_911", - "version": "1.3.0" - }, - "queryable": false, - "queryFormat": "gml2", - "queryTitle": "Municipalite" - } - }, - { - "title": "MSP Tel. Urgence", - "sourceOptions": { - "type": "wms", - "url": "https://geoegl.msp.gouv.qc.ca/apis/ws/igo_gouvouvert.fcgi", - "params": { - "layers": "telephone_urg", - "version": "1.3.0" - }, + "url": "/test/all.fcgi", "queryable": true, - "queryFormat": "gml2", - "queryTitle": "desclocal" - } - }, - { - "title": "Établissements MTQ", - "sourceOptions": { - "type": "wms", - "url": "https://ws.mapserver.transports.gouv.qc.ca/swtq", + "queryFormat": "htmlgml2", + "queryHtmlTarget": "iframe", "params": { - "layers": "etablissement_mtq", - "version": "1.3.0" + "layers": "points_feux_1" }, - "queryable": true, - "queryFormat": "gml2", - "queryTitle": "nometablis" + "type": "wms" } } ] diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 9f367ed6f..ac0e10a03 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -40,6 +40,11 @@ export const environment: AppEnvironmentOptions = { },*/ catalog: { sources: [ + { + id: '1', + title: 'Geodev', + url: '/ws/all.fcgi' + }, { id: 'Image Arcgis Rest', title: 'Image Arcgis Rest', @@ -213,6 +218,10 @@ export const environment: AppEnvironmentOptions = { } ] }, + // context: { + // url: '/apis/igo2', + // defaultContextUri: '5' + // }, depot: { url: '/apis/depot' },