VertiGIS Studio Web supports the GetFeatureInfo Identify request for WMS layers.
Identify is supported only when all of the following conditions are met:
•The response contains point geometries only.
•The layer featureInfoFormats is one of the following:
If the layer contains multiple supported featureinfoFormats, the WMS layer automatically uses the first supported format detected. Refer to Esri's WMSLayer documentation for more information.
•The response structure matches one of the expected formats described below.
For application/json and application/geojson, the expected response format is:
{
"features": [
{
"properties": {
"colour": "red"
},
"geometry": {
"type": "point",
"coordinates": [1, 2, 3]
},
"layerName": "layer name",
"id": "abc"
}
]
}
Data Dictionary
Property |
Type |
|---|---|
features |
Array |
properties |
Record<string, string> |
geometry |
GeoJSON |
layerName |
string |
id |
string |
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": null,
"properties": {
"OBJECTID": "12322159",
"Straßenname": "A 8"
},
"layerName": "strassennetz"
}
]
}
For text/xml, the expected response format may be either:
•a FeatureInfoResponse containing FIELDS elements, or
The expected format can be either a FeatureCollection or a FeatureInfoResponse with FIELDS tags. See this article for more information.
<?xml version="1.0" encoding="UTF-8"?>
<FeatureInfoResponse xmlns:esri_wms="http://www.esri.com/wms" xmlns="http://www.esri.com/wms">
<FIELDS OBJECTID="248" PROJEKTNR="0/090144/00/00" SIGNATUR="R11NRT" TEXT="T114"
SUCHNAME="Vorranggebiet Nr. T114 für die öffentliche Wasserversorgung Gde. Dasing, Adelzhausen, Eurasburg, Lkr. AIC-FDB"
GLOBALID="{17CAE694-A035-4113-A1F6-F600CA3A9F63}" Shape="Polygon"
SHAPE_Length="27850,037637" SHAPE_Area="16759489,071055"></FIELDS>
<FIELDS OBJECTID="1577" PROJEKTNR="0/090219/00/00" SIGNATUR="R11NBL" TEXT="19"
SUCHNAME="Landschaftliches Vorbehaltsgebiet Nr. 19 "Waldgebiete östlich von Augsburg", Lkr. Aichach-Friedberg"
GLOBALID="{8B945393-12E9-4F7B-A08D-ECDC4BA72C03}" Shape="Polygon"
SHAPE_Length="83654,054688" SHAPE_Area="51414238,864559"></FIELDS>
<FIELDS OBJECTID="14" PROJEKTNR="0/091000/00/00" SIGNATUR="R30RRG"
SUCHNAME="Region 9 Augsburg "
GLOBALID="{E4D6D789-5BED-4CB2-8D44-A5D560E89D13}" Shape="Polygon"
SHAPE_Length="686453,238518" SHAPE_Area="4062909942,74893"></FIELDS>
</FeatureInfoResponse>
<?xml version='1.0' encoding='UTF-8'?>
<FeatureCollection xmlns="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
http://www.opengis.net/gml/3.2
https://gdiserv.bayern.de/srv112940/services/schulsprengel-wms?request=GetFeatureInfoSchema&layers=Mittelschulverbundsprengel,Grundschulsprengel,Mittelschulsprengel"
<gml:featureMember>
<gmss:Mittelschulsprengel xmlns:gmss="http://gdi.bayern/gmss"
fid="Mittelschulsprengelc0d1e7da-81bb-468b-87fd-5e674dee0d53">
<gmss:schulNr>8513</gmss:schulNr>
<gmss:schulname>Mittelschule Augsburg-Herrenbach</gmss:schulname>
<gmss:verbundname>Mittelschulverbund Augsburg Mitte-Ost</gmss:verbundname>
</gmss:Mittelschulsprengel>
</gml:featureMember>
</FeatureCollection>