Package gov.nasa.worldwind.ogc
Class Wcs201TileFactory
- java.lang.Object
-
- gov.nasa.worldwind.ogc.Wcs201TileFactory
-
- All Implemented Interfaces:
TiledElevationCoverage.TileFactory
public class Wcs201TileFactory extends java.lang.Object implements TiledElevationCoverage.TileFactory
-
-
Constructor Summary
Constructors Constructor Description Wcs201TileFactory(java.lang.String serviceAddress, java.lang.String coverageId)
Constructs a WCS Get Coverage URL builder with the specified WCS service address and coverage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageSource
createTileSource(TileMatrix tileMatrix, int row, int column)
java.lang.String
getCoverageId()
Indicates the coverage name used to build Get Coverage URLs.java.lang.String
getServiceAddress()
Indicates the WCS service address used to build Get Coverage URLs.void
setCoverageId(java.lang.String coverageId)
Sets the coverage name used to build Get Coverage URLs.void
setServiceAddress(java.lang.String serviceAddress)
Sets the WCS service address used to build Get Coverage URLs.
-
-
-
Constructor Detail
-
Wcs201TileFactory
public Wcs201TileFactory(java.lang.String serviceAddress, java.lang.String coverageId)
Constructs a WCS Get Coverage URL builder with the specified WCS service address and coverage. The generated URL will be pursuant to version 2.0.1 WCS specification and use image/tiff as the format and EPSG:4326 as the coordinate reference system. The requests will also include a GeoServer specific parameter 'overviewpolicy' which expedites requests server side. This parameter should be ignored when server implementations other than GeoServer are used.- Parameters:
serviceAddress
- the WCS service addresscoverageId
- the WCS coverage name- Throws:
java.lang.IllegalArgumentException
- If any of the parameters are null
-
-
Method Detail
-
getServiceAddress
public java.lang.String getServiceAddress()
Indicates the WCS service address used to build Get Coverage URLs.- Returns:
- the WCS service address
-
setServiceAddress
public void setServiceAddress(java.lang.String serviceAddress)
Sets the WCS service address used to build Get Coverage URLs.- Parameters:
serviceAddress
- the WCS service address- Throws:
java.lang.IllegalArgumentException
- If the service address is null
-
getCoverageId
public java.lang.String getCoverageId()
Indicates the coverage name used to build Get Coverage URLs.- Returns:
- the coverage name
-
setCoverageId
public void setCoverageId(java.lang.String coverageId)
Sets the coverage name used to build Get Coverage URLs.- Parameters:
coverageId
- the coverage id- Throws:
java.lang.IllegalArgumentException
- If the coverage name is null
-
createTileSource
public ImageSource createTileSource(TileMatrix tileMatrix, int row, int column)
- Specified by:
createTileSource
in interfaceTiledElevationCoverage.TileFactory
-
-