find_map_features
Search a geo.admin MapServer layer for features by attribute value, such as municipality names, to locate specific map objects.
Instructions
Find geo.admin features on one ech MapServer layer by an attribute value. Identify a point first if you need the attribute names. Example: layer ch.swisstopo.swissboundaries3d-gemeinde-flaeche.fill, search_field gemname, search_text Bern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | Layer id from search_map_layers. | |
| limit | No | Maximum features (default 10, max 25). | |
| contains | No | When true (default), match values that contain the text. When false, match the whole value. | |
| search_text | Yes | Value to search for. | |
| search_field | Yes | Attribute name to search (e.g. gemname, name, label). | |
| include_historical | No | Keep historical versions when a layer has an is_current_jahr attribute (default false). |