public final class GeotiffLayer extends AbstractGridCoverage2DReaderLayer
Reads a GeoTIFF file from an URL.
| Modifier and Type | Class and Description |
|---|---|
static class |
GeotiffLayer.GeotiffParam
The parameters for reading a Geotiff file, either from the server or from a URL.
|
static class |
GeotiffLayer.Plugin
Renders a GeoTIFF image as layer.
|
MapLayer.RenderType| Constructor and Description |
|---|
GeotiffLayer(com.google.common.base.Function<MfClientHttpRequestFactory,org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> reader,
StyleSupplier<org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> style,
java.util.concurrent.ExecutorService executorService,
AbstractLayerParams params)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MapLayer.RenderType |
getRenderType()
Specify whether layer should be rendered as PNG, JPEG or SVG.
|
getImageBufferScaling, getLayersgetFailOnError, getLayerTransformer, getName, getOpacity, prefetchResources, prepareRender, render, supportsNativeRotation, tryAddLayerpublic GeotiffLayer(com.google.common.base.Function<MfClientHttpRequestFactory,org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> reader, StyleSupplier<org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> style, java.util.concurrent.ExecutorService executorService, AbstractLayerParams params)
reader - the reader to use for reading the geotiff.style - style to use for rendering the data.executorService - the thread pool for doing the rendering.params - the parameters for this layerpublic MapLayer.RenderType getRenderType()
MapLayer