public class NcWmsGetMetadataRequest extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COLORSCALERANGE |
static String |
COLORSCALERANGE_DEFAULT_VALUE |
static int |
CONNECTION_TIMEOUT |
static String |
GET_METADATA |
static org.apache.log4j.Logger |
logger |
static String |
WMS_VERSION_1_3_0 |
Constructor and Description |
---|
NcWmsGetMetadataRequest() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getColorScaleRange(String wmsServerUri,
String wmsVersion,
String bbox,
String layerName,
String crs,
String width,
String height,
int connectionTimeout)
Gets the color scale range
Calls a ncWMS GetMetadata request with item = minmax.
|
static void |
main(String[] args)
The main method.
|
public static final String GET_METADATA
public static final int CONNECTION_TIMEOUT
public static org.apache.log4j.Logger logger
public static final String COLORSCALERANGE
public static final String WMS_VERSION_1_3_0
public static final String COLORSCALERANGE_DEFAULT_VALUE
public static String[] getColorScaleRange(String wmsServerUri, String wmsVersion, String bbox, String layerName, String crs, String width, String height, int connectionTimeout) throws Exception
wmsServerUri
- the WMS Server UriwmsVersion
- the wms versionbbox
- the bboxlayerName
- the layer namecrs
- the crswidth
- the widthheight
- the heightconnectionTimeout
- the connection timeoutException
- the exceptionpublic static void main(String[] args)
args
- the argumentsCopyright © 2016. All Rights Reserved.