wms_get_feature_info
Query feature information from a WMS layer at a WGS84 point, with optional buffer and info format parameters.
Instructions
Run WMS GetFeatureInfo at a WGS84 point against any WMS layer.
url/layer identify the service and layer (as for wms_add_layer).
The query point is always given as WGS84 lat/lon - even for a WMS
that's usually browsed in another CRS - since GetFeatureInfo's bbox
axis order is CRS/version-dependent and this avoids that ambiguity;
the request is sent with CRS=EPSG:4326, which is the coordinate
system almost every public WMS supports as a fallback. buffer_deg is
the half-width (in degrees) of the query window around the point -
widen it if the target features are small relative to the layer's
render resolution. info_format is usually "text/html", "text/plain",
"application/json", or "application/vnd.ogc.gml" depending on what the
server advertises (check ows_list_capabilities/the server's own docs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| url | Yes | ||
| layer | Yes | ||
| buffer_deg | No | ||
| info_format | No | text/html |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||