Apply Dynamic Styling To Map
POST version of WMS GetMap that accepts the SLD_BODY as an application/x-www-form-urlencoded form field in the request body. All standard WMS parameters (REQUEST, SERVICE, VERSION, LAYERS, STYLES, CRS, BBOX, WIDTH, HEIGHT, FORMAT, etc.) are provided as query parameters.
Example:
- REQUEST=GetMap
- SERVICE=WMS
- VERSION=1.3.0
- LAYERS=World
- CRS=EPSG:4326
- BBOX=37.786,-122.274,37.814,-122.240
- WIDTH=1062
- HEIGHT=853
- FORMAT=image/png
- TRANSPARENT=TRUE
- SLD_BODY (in request body as form field)
Authorization: Requires a valid Bearer JWT or API key (see security schemes below). As with the GET WMS entrypoint, no per-layer EXECUTE-permission check is performed.
Request
- Base URL: https://api.cloud.precisely.com
- URL: https://api.cloud.precisely.com/v1/spatial/wms
- Auth: one of:
- HTTP bearer
- API key in header Authorization
Query parameters
WMS operation — must be GetMap for POST
Service type (always WMS)
WMS version (1.1.1 or 1.3.0)
Comma-separated list of layer names
Comma-separated list of style names
Coordinate Reference System (WMS 1.3.0)
Spatial Reference System (WMS 1.1.1)
Bounding box (minx,miny,maxx,maxy)
Image width in pixels
Image height in pixels
Image format
Transparency (TRUE/FALSE)
Background color (hex)
Exception format
Headers
Optional request correlation ID for tracing and logging.
Response
Map image returned successfully
Changes
No recorded changes to this operation across all 1 revision of this API.