Skip to content

Instantly share code, notes, and snippets.

@h0st1le
Created April 21, 2012 02:46
Show Gist options
  • Save h0st1le/2433403 to your computer and use it in GitHub Desktop.
Save h0st1le/2433403 to your computer and use it in GitHub Desktop.
WMS Server Spec and Generic Request Example
Generic GetCapabilities Request for WMS server and Additional Info on the Spec
?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
Additional Requests:
GetMap, GetFeatureInfo
Further info on the WMS Spec:
VERSION=version: Request version
REQUEST=GetMap: Request name
LAYERS=layer_list: Comma-separated list of one or more map layers. Optional if SLD parameter is present.
STYLES=style_list: Comma-separated list of one rendering style per requested layer. Optional if SLD parameter is present. Set “STYLES=” with an empty value to use default style(s). Named styles are also supported and are controlled by CLASS GROUP names in the mapfile.
SRS=namespace:identifier: Spatial Reference System.
BBOX=minx,miny,maxx,maxy: Bounding box corners (lower left, upper right) in SRS units.
WIDTH=output_width: Width in pixels of map picture.
HEIGHT=output_height: Height in pixels of map picture.
FORMAT=output_format: Output format of map.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment