Package-level declarations

Types

Link copied to clipboard
open class OwsException(val exceptionReport: OwsExceptionReport) : Exception
Link copied to clipboard
class Wcs100ElevationCoverage(val serviceAddress: String, val coverageName: String, val outputFormat: String, tileMatrixSet: TileMatrixSet, elevationSourceFactory: ElevationSourceFactory) : TiledElevationCoverage, WebElevationCoverage

Generates elevations from OGC Web Coverage Service (WCS) version 1.0.0. Wcs100ElevationCoverage requires the WCS service address, coverage name, and coverage bounding sector. Get Coverage requests generated for retrieving data use the WCS version 1.0.0 protocol and are limited to the EPSG:4326 coordinate system. Wcs100ElevationCoverage does not perform version negotiation and assumes the service supports the format and coordinate system parameters detailed here.

Link copied to clipboard
open class Wcs100ElevationSourceFactory(serviceAddress: String, coverageName: String, outputFormat: String, coordinateSystem: String = "EPSG:4326") : ElevationSourceFactory

Factory for constructing WCS version 1.0.0 URLs associated with WCS Get Coverage requests.

Link copied to clipboard
class Wcs100ElevationTileSource(val serviceAddress: String, val coverageName: String, val outputFormat: String, val tileMatrixSet: TileMatrixSet, val coordinateSystem: String = "EPSG:4326", headers: Map<String, String> = emptyMap(), connectTimeoutMs: Long = 5.seconds.inWholeMilliseconds, requestTimeoutMs: Long = 30.seconds.inWholeMilliseconds, clientConfig: HttpClientConfig<*>.() -> Unit = {}) : HttpTileSource

HttpTileSource for OGC Web Coverage Service (WCS) 1.0.0 elevation endpoints. Mirrors the URL convention used by Wcs100ElevationSourceFactory — same BBOX-keyed GetCoverage request — but emits raw elevation tile bytes that the cache decorator can persist through a earth.worldwind.layer.cache.TileStore.

Link copied to clipboard

Generates elevations from OGC Web Coverage Service (WCS) version 2.0.1. Wcs201ElevationCoverage requires the WCS service address, coverage name, and coverage bounding sector. Get Coverage requests generated for retrieving data use the WCS version 2.0.1 protocol and are limited to the "image/tiff" format and the EPSG:4326 coordinate system. Wcs201ElevationCoverage does not perform version negotiation and assumes the service supports the format and coordinate system parameters detailed here. The subset CRS is configured as EPSG:4326 and the axis labels are set as "Lat" and "Long". The scaling axis labels are set as: http://www.opengis.net/def/axis/OGC/1/i and http://www.opengis.net/def/axis/OGC/1/j

Link copied to clipboard
open class Wcs201ElevationSourceFactory(serviceAddress: String, coverageName: String, outputFormat: String, axisLabels: List<String> = listOf("Lat", "Long"), coordinateSystem: String = "EPSG:4326") : ElevationSourceFactory
Link copied to clipboard
class Wcs201ElevationTileSource(val serviceAddress: String, val coverageName: String, val outputFormat: String, val tileMatrixSet: TileMatrixSet, val axisLabels: List<String> = listOf("Lat", "Long"), val coordinateSystem: String = "EPSG:4326", headers: Map<String, String> = emptyMap(), connectTimeoutMs: Long = 5.seconds.inWholeMilliseconds, requestTimeoutMs: Long = 30.seconds.inWholeMilliseconds, clientConfig: HttpClientConfig<*>.() -> Unit = {}) : HttpTileSource

HttpTileSource for OGC Web Coverage Service (WCS) 2.0.1 elevation endpoints. Mirrors the SUBSET/SCALESIZE URL convention used by Wcs201ElevationSourceFactory but emits raw elevation tile bytes that the cache decorator can persist through a earth.worldwind.layer.cache.TileStore.

Link copied to clipboard

Factory that creates a RenderableLayer populated with features retrieved from an OGC Web Feature Service. The factory negotiates an output format with the server (preferring GeoJSON via GeoJsonLayerFactory, falling back to GML 3.1 / 3.2 via WfsGmlReader), and tries WFS 2.0.0 first then 1.1.0. Returns an unstyled RenderableLayer; pass a customLogicToApplyProperties callback to colour or label features per server attribute.

Link copied to clipboard
open class WmsElevationCoverage(val serviceAddress: String, val coverageName: String, val outputFormat: String, tileMatrixSet: TileMatrixSet, elevationSourceFactory: ElevationSourceFactory) : TiledElevationCoverage, WebElevationCoverage

Generates elevations from OGC Web Map Service (WMS) version 1.3.0.

Link copied to clipboard
class WmsElevationTileSource(val serviceAddress: String, val coverageName: String, val outputFormat: String, val tileMatrixSet: TileMatrixSet, val coordinateSystem: String = "EPSG:4326", val wmsVersion: String = "1.3.0", headers: Map<String, String> = emptyMap(), connectTimeoutMs: Long = 5.seconds.inWholeMilliseconds, requestTimeoutMs: Long = 30.seconds.inWholeMilliseconds, clientConfig: HttpClientConfig<*>.() -> Unit = {}) : HttpTileSource

HttpTileSource for OGC Web Map Service (WMS) elevation endpoints (WMS 1.3.0 GetMap with an elevation-format payload such as application/bil16). Parallels Wcs100ElevationTileSource: indexes TileMatrixSet.entries by z, uses top-down y, and emits raw bytes for the cache decorator to persist via earth.worldwind.layer.cache.TileStore.

Link copied to clipboard
class WmsImageLayer(val serviceAddress: String, val serviceMetadata: String, val layerName: String, val imageFormat: String = "image/png", val isTransparent: Boolean = true, name: String? = null, tiledSurfaceImage: TiledSurfaceImage? = null) : TiledImageLayer, WebImageLayer
Link copied to clipboard
open class WmsLayer @JvmOverloads constructor(displayName: String = "WMS Layer") : TiledImageLayer

Displays imagery from OGC Web Map Service (WMS) layers.
WMSLayer's configuration may be specified at construction or by calling setConfiguration, and must include the following values: service address, WMS protocol version, layer names, coordinate reference system, sector and resolution. All other WMS configuration values may be unspecified, in which case a default value is used.
WmsLayer defaults to retrieving imagery in the PNG format. This may be configured by calling setImageFormat.

Link copied to clipboard
class WmsLayerConfig(var serviceAddress: String, var layerNames: String)

Configuration values for a WMS layer.

Link copied to clipboard
Link copied to clipboard
open class WmsTileFactory(var serviceAddress: String, var wmsVersion: String, var layerNames: String, var styleNames: String?) : TileFactory

Factory for constructing URLs associated with WMS Get Map requests.

Link copied to clipboard
class WmsTileSource(val config: WmsLayerConfig, val levelSet: LevelSet, headers: Map<String, String> = emptyMap(), connectTimeoutMs: Long = 5.seconds.inWholeMilliseconds, requestTimeoutMs: Long = 30.seconds.inWholeMilliseconds, clientConfig: HttpClientConfig<*>.() -> Unit = {}) : HttpTileSource

HttpTileSource for OGC Web Map Service (WMS) endpoints. Converts slippy-map (z, x, y) into the WMS GetMap BBOX URL by consulting the supplied LevelSet for the tile's geographic extent.

Link copied to clipboard
class WmtsImageLayer(val serviceAddress: String, val serviceMetadata: String, val layerName: String, val imageFormat: String = "image/png", name: String? = null, tiledSurfaceImage: TiledSurfaceImage? = null) : TiledImageLayer, WebImageLayer
Link copied to clipboard
Link copied to clipboard
open class WmtsTileFactory(template: String, tileMatrixIdentifiers: List<String>, firstLevelHeight: Int, val imageFormat: String) : TileFactory
Link copied to clipboard
class WmtsTileSource(val template: String, val tileMatrixIdentifiers: List<String>, val imageFormat: String, headers: Map<String, String> = emptyMap(), connectTimeoutMs: Long = 5.seconds.inWholeMilliseconds, requestTimeoutMs: Long = 30.seconds.inWholeMilliseconds, clientConfig: HttpClientConfig<*>.() -> Unit = {}) : HttpTileSource

HttpTileSource for OGC Web Map Tile Service (WMTS) endpoints. Maps slippy-map (z, x, y) directly onto a WMTS URL template using the {TileMatrix} / {TileCol} / {TileRow} tokens (the spec-mandated KVP / RESTful placeholders). [tileMatrixIdentifiers][z] supplies the per-level TileMatrix identifier — WMTS doesn't require numeric levels.