English

igo-logo

Latest update: 20-09-2017 (14:27 UTC)

CC

JSON-EN

This section include all configuration possible in the Web IGO-2.0 Mapping application. With this JSON conguration file, it is possible to build your own context, tools and layers related to each uses.

Here is a repo example for JSON IGO-2.0 contexts: https://github.com/geo-msp/apercu-qc/blob/master/contexts/

Parameters related to JSON :

  • /src/contexts/
{
“map”:{
“view”:{

“projection”:”EPSG:3857”, “center”:[

-72, 52

], “zoom”:6

}

}, “layers”:[

{

“title”:”name_title_alias_wmts”, “type”:”wmts”, “source”:{

“url”:”http://geoegl.msp.gouv.qc.ca/cgi-wms/mapcache.fcgi/wmts”, “matrixSet”:”EPSG_3857”, “format”:”image/jpeg”, “layer”:”layername_wmts”

}

}, {

“title”:”name_title_alias__xyz_tms”, “type”:”xyz”, “source”:{

“url”:”https://geoegl.msp.gouv.qc.ca/cgi-wms/mapcache.fcgi/tms/1.0.0/carte_gouv_qc_ro@EPSG_3857/{z}/{x}/{-y}.png”, “attributions”: ” © <a href=’https://www.droitauteur.gouv.qc.ca/copyright.php’><img src=’/gouvouvert/public/images/quebec/gouv_qc_logo.png’ width=‘64’ height=‘14’>Gouvernement du Québec</a>”

}

}, {

“title”:”name_title_alias_wms”, “type”:”wms”, “opacity” : 0.3, “optionsFromCapabilities”: true, “metadata”: {

“extern”: true

}, “visible”: false, “source”:{

“url”:”http://geoegl.msp.gouv.qc.ca/cgi-wms/igo_gouvouvert.fcgi?”, “params”:{

“LAYERS”:”layername_wms”, “VERSION”:”1.1.1”

}

}

}, {

“title”: “name_title_alias_wms_time”, “type”: “wms”, “source”: {

“url”: “http://geoegl.msp.gouv.qc.ca/cgi-wms/igo_gouvouvert.fcgi”, “params”: {

“layers”: “layername_wms_time”, “version”: “1.3.0”

}

}, “timeFilter”: {

“min”: “2017-01-01”, “max”: “2018-01-01”, “range”: true, “type”: “datetime”

}

},

{

“name” : “WFS”, “title”: “Bassin (WFS)”, “type” : “wfs”, “source”:{

}, “style” : {

“Stroke” : {
“color” : “rgba(140, 140, 255, 1.0)”, “width” : 3

}

}, “version” : “1.3.0”

}, {

“title”:”LayerfromCapabilities”, “type”:”wms”, “optionsFromCapabilities”:true, “alias”:”US-States”, “source”:{

“url”:”http://demo.boundlessgeo.com/geoserver/wms”, “params”:{

“layers”:”topp:states”, “version”:”1.3.0”

}, “serverType”:”geoserver”

}

}

],

“toolbar”: [
“searchResults”, “contextManager”, “mapDetails”, “timeAnalysis”, “print”

], “tools”: [

{
“name”: “searchResults”

}, {

“name”: “contextManager”

}, {

“name”: “mapDetails”, “options”: {

“toggleLegendOnVisibilityChange”: false

}

}, {

“name”: “timeAnalysis”

}, {

“name”: “print”

}

]

}

More information available here: http://igouverte.org/english/.


List of individual code contributeurs.

Note

This documentation is under construction.