generate_map
Create custom map images by specifying layers, styles, bounding box, dimensions, and format using WMS GetMap functionality in the GeoServer MCP Server.
Instructions
Generate a map image using WMS GetMap.
Args:
layers: List of layers to include (format: workspace:layer)
styles: Optional styles to apply (one per layer)
bbox: Bounding box [minx, miny, maxx, maxy]
width: Image width in pixels
height: Image height in pixels
format: Image format (png, jpeg, etc.)
Returns:
Dict with map information and URL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bbox | No | ||
format | No | png | |
height | No | ||
layers | Yes | ||
styles | No | ||
width | No |
Input Schema (JSON Schema)
{
"properties": {
"bbox": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Bbox"
},
"format": {
"default": "png",
"title": "Format",
"type": "string"
},
"height": {
"default": 600,
"title": "Height",
"type": "integer"
},
"layers": {
"items": {
"type": "string"
},
"title": "Layers",
"type": "array"
},
"styles": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Styles"
},
"width": {
"default": 800,
"title": "Width",
"type": "integer"
}
},
"required": [
"layers"
],
"title": "generate_mapArguments",
"type": "object"
}