nl.itc.RIMapper
Class WMSRequest
java.lang.Object
nl.itc.RIMapper.WMSRequest
public class WMSRequest
- extends Object
Class for storing an OGC WMS 1.1.1 request.
Note that the class holds the data needed for an OGC compatible
GetMap or GetCapabilities, PLUS extras needed for RIMapperWMS, in the
VendorSpecific GETGUI and ANIMDUR.
©2006-2011 International Institute for Geo-information Science and Earth
Observation (ITC)
Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5
License. see http://creativecommons.org/licenses/by-nc-sa/2.5/
- Version:
- 2.2 [September 2011]
- Author:
- Barend Köbben -
kobben@itc.nl
SUPPORTED_WMS_VERSIONS
public static final String[] SUPPORTED_WMS_VERSIONS
requestMap
public HashMap<String,String[]> requestMap
WMSRequest
public WMSRequest(Map<?,?> paramMap,
String WMSPath,
WMSCapabilities myWMSCapabilities)
throws RIMapperException
- Builds a WMS request object out of the request URL.
- Parameters:
paramMap - the parameters coming in from the servlet (POST or GET request)WMSPath - BaseURL of the WMS instance
- Throws:
RIMapperException
getNumLayers
public int getNumLayers()
- Returns:
- the numLayers
getBBOX
public com.vividsolutions.jts.geom.Envelope getBBOX()
- Returns:
- the bBOX
getFormat
public String getFormat()
- Returns:
- the format
getTime
public WMSTime getTime()
- Returns:
- the Time
getGetGUI
public boolean getGetGUI()
- Returns:
- the getGUI parameter
getAnimDur
public long getAnimDur()
- Returns:
- the AnimDur parameter
getHeight
public int getHeight()
- Returns:
- the height
getLayers
public String[] getLayers()
- Returns:
- the layers
getLayersList
public String getLayersList()
- Returns:
- the layersList
getStylesList
public String getStylesList()
- Returns:
- the stylesList
getSRS
public String getSRS()
- Returns:
- the SRS
getStyles
public String[] getStyles()
- Returns:
- the styles
getWidth
public int getWidth()
- Returns:
- the width
isDefaultExtent
public boolean isDefaultExtent()
- Returns:
- the defaultExtent
getExceptionsFormat
public String getExceptionsFormat()
- Returns:
- the exceptionsFormat
getWMShost
public String getWMShost()
- Returns:
- the WMShost
getService
public String getService()
- Returns:
- the service
getVersion
public String getVersion()
- Returns:
- the version
getRequest
public String getRequest()
- Returns:
- the request
getBBOXstr
public String getBBOXstr()
- Returns:
- the bBOXstr