Format | Syntax | Notes |
PNG | format=image/png | Default |
PNG8 | format=image/png8 | Same as PNG, but computes an optimal 256 color (8 bit) palette, so the image size is usually smaller |
JPEG | format=image/jpeg | |
GIF | format=image/gif | |
TIFF | format=image/tiff | |
TIFF8 | format=image/tiff8 | Same as TIFF, but computes an optimal 256 color (8 bit) palette, so the image size is usually smaller |
GeoTIFF | format=image/geotiff | Same as TIFF, but includes extra GeoTIFF metadata |
GeoTIFF8 | format=image/geotiff8 | Same as TIFF, but includes extra GeoTIFF metadata and computes an optimal 256 color (8 bit) palette, so the image size is usually smaller |
SVG | format=image/svg | |
format=application/pdf | ||
GeoRSS | format=rss | |
KML | format=kml | |
KMZ | format=kmz | |
OpenLayers | format=application/openlayers | Generates an OpenLayers HTML application. |
http://localhost:8081/geoserver/nurc/wms service=WMS&version=1.1.0&request=GetMap&layers=nurc:Arc_Sample&styles=&bbox=-183.6,-183.6,183.6,183.6&width=512&height=512&srs=EPSG:4326&format=image/png
可以从geoserver服务器得到一张图片nurc-Arc_Sample.png
原文地址:http://www.cnblogs.com/cugwx/p/3725333.html