Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • Documentation/doc_module_vmap
  • Gwendal/doc_module_vmap
  • carto/doc_module_vmap
3 results
Select Git revision
Show changes
Commits on Source (1)
......@@ -87,3 +87,33 @@ END
Enfin il faudra au travers du formulaire du calque définir que ce dernier est interrogeable au travers de la requête GetFeatureInfo.
![Administration couche GetFeatureInfo](../images/getfeatureinfo/admin_calque.jpg)
### Informations au format GML
Afin de retourner les informations de la requête GetFeatureInfo au format GML, plusieurs paramètres sont obligatoires :
* Dans le mode MapServer à l'objet web : `"wms_getfeatureinfo_formatlist" "application/vnd.ogc.gml"` et `"wms_feature_info_mime_type" "gml"`.
Exemple :
```
WEB
METADATA
"wms_title" "{WMSSERVICE_ID}"
"wms_onlineresource" "{WMSSERVICE_URL}"
"wms_getfeatureinfo_formatlist" "application/vnd.ogc.gml"
"wms_feature_info_mime_type" "gml"
"wms_srs" "EPSG:2154"
"wms_enable_request" "*"
END
# Les attributs TEMPLATE, IMAGEPATH et IMAGEURL sont ajoutés dynamiquement lors des tests. Ils sont inutiles en production
END
```
* Dans chaque couche, ajouter le paramètre `"gml_include_items" "all"` afin de retourner tous les attributs.
Exemple :
```
METADATA
"gml_include_items" "all"
END
```