GeoServer MCP Server

by mahdin75
Verified
MIT License
2
  • Linux
  • Apple

query_features

Extract vector layer data from GeoServer using CQL filters to specify query conditions, return properties, and limit results.

Instructions

Query features from a vector layer using CQL filter.

Args: workspace: The workspace containing the layer layer: The layer to query filter: Optional CQL filter expression properties: Optional list of properties to return max_features: Maximum number of features to return Returns: GeoJSON FeatureCollection with query results

Input Schema

NameRequiredDescriptionDefault
filterNo
layerYes
max_featuresNo
propertiesNo
workspaceYes

Input Schema (JSON Schema)

{ "properties": { "filter": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Filter" }, "layer": { "title": "Layer", "type": "string" }, "max_features": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 10, "title": "Max Features" }, "properties": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Properties" }, "workspace": { "title": "Workspace", "type": "string" } }, "required": [ "workspace", "layer" ], "title": "query_featuresArguments", "type": "object" }

You must be authenticated.

Other Tools from GeoServer MCP Server

Related Tools

ID: dcvyllecj0