Package gov.nasa.worldwind.ogc
Class Wcs100TileFactory
- java.lang.Object
-
- gov.nasa.worldwind.ogc.Wcs100TileFactory
-
- All Implemented Interfaces:
TiledElevationCoverage.TileFactory
public class Wcs100TileFactory extends java.lang.Object implements TiledElevationCoverage.TileFactory
Factory for constructing WCS version 1.0.0 URLs associated with WCS Get Coverage requests.
-
-
Constructor Summary
Constructors Constructor Description Wcs100TileFactory(java.lang.String serviceAddress, java.lang.String coverage)
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
getCoverage()
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
setCoverage(java.lang.String coverage)
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
-
Wcs100TileFactory
public Wcs100TileFactory(java.lang.String serviceAddress, java.lang.String coverage)
Constructs a WCS Get Coverage URL builder with the specified WCS service address and coverage. The generated URL will be pursuant to version 1.0.0 WCS specification and use image/tiff as the format and EPSG:4326 as the coordinate reference system.- Parameters:
serviceAddress
- the WCS service addresscoverage
- 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
-
getCoverage
public java.lang.String getCoverage()
Indicates the coverage name used to build Get Coverage URLs.- Returns:
- the coverage name
-
setCoverage
public void setCoverage(java.lang.String coverage)
Sets the coverage name used to build Get Coverage URLs.- Parameters:
coverage
- the coverage name- 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
-
-