![]() Height: Describes the height of the image, alternatively the map in an OpenLayers. It defaults to 512 pixels and can be calculated based on the height and the aspect ratio of the bounding box. Width: Describes the width of the image, alternatively the size of the map in an OpenLayers. Alternatives include image/jpeg (good for raster backgrounds), image/png8 (8 bit colors, smaller files) and image/gif It is a comma separated list of the layers you wish to include in your image or OpenLayers application.įormat: The default output format is image/png. ![]() Layers: This is the only mandatory parameter. Its strength is what it does with the parameters you do not specify, which is explored in the next section. The styles parameter is derived by using the default style as configured by GeoServer for each layer specified in the layers parameter.Īny parameter you send with a WMS request is also legitimate when requesting data from the reflector. The following table lists all the defaults used: requestĪny of these defaults can be overridden when specifying the request. As stated above the reflector fills in sensible defaults for the rest of the parameters. The only mandatory parameter to a WMS reflector call is the layers parameter. To use the WMS reflector all one must do is specify wms/reflect? as opposed to wms? in a request.
0 Comments
Leave a Reply. |