Skip to content

Commit

Permalink
mapfiles test
Browse files Browse the repository at this point in the history
  • Loading branch information
mneige committed Apr 29, 2024
1 parent 40a190b commit c1bf615
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 36 deletions.
2 changes: 1 addition & 1 deletion proxy.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/ws/": {
"target": "https://testgeoegl.msp.gouv.qc.ca",
"target": "https://geodev8.sso.msp.gouv.qc.ca",
"secure": false,
"changeOrigin": true
},
Expand Down
43 changes: 8 additions & 35 deletions src/contexts/_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
Expand Down
9 changes: 9 additions & 0 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -213,6 +218,10 @@ export const environment: AppEnvironmentOptions = {
}
]
},
// context: {
// url: '/apis/igo2',
// defaultContextUri: '5'
// },
depot: {
url: '/apis/depot'
},
Expand Down

0 comments on commit c1bf615

Please sign in to comment.