| java.lang.Object org.vfny.geoserver.wms.responses.AbstractGetMapProducer org.vfny.geoserver.wms.responses.AbstractRasterMapProducer org.vfny.geoserver.wms.responses.DefaultRasterMapProducer
All known Subclasses: org.vfny.geoserver.wms.responses.map.png.PNGMapProducer, org.vfny.geoserver.wms.responses.map.gif.GIFMapProducer, org.vfny.geoserver.wms.responses.map.geotiff.GeoTiffMapProducer, org.vfny.geoserver.wms.responses.map.tiff.TiffMapProducer, org.vfny.geoserver.wms.responses.map.jpeg.JPEGMapProducer,
DefaultRasterMapProducer | abstract public class DefaultRasterMapProducer extends AbstractRasterMapProducer implements RasterMapProducer(Code) | | Abstract base class for GetMapProducers that relies in LiteRenderer for
creating the raster map and then outputs it in the format they specializes
in.
This class does the job of producing a BufferedImage using geotools
LiteRenderer, so it should be enough for a subclass to implement
Generates a map using the geotools jai rendering classes. Uses the Lite
renderer, loading the data on the fly, which is quite nice. Thanks Andrea and
Gabriel. The word is that we should eventually switch over to
StyledMapRenderer and do some fancy stuff with caching layers, but I think we
are a ways off with its maturity to try that yet. So Lite treats us quite
well, as it is stateless and therefore loads up nice and fast.
author: Chris Holmes, TOPP author: Simone Giannecchini, GeoSolutions version: $Id: DefaultRasterMapProducer.java 7925 2007-12-04 15:28:15Z aaime $ |
DefaultRasterMapProducer | public DefaultRasterMapProducer()(Code) | | |
DefaultRasterMapProducer | public DefaultRasterMapProducer(WMS wms)(Code) | | |
DefaultRasterMapProducer | public DefaultRasterMapProducer(String outputFormat, WMS wms)(Code) | | |
forceIndexed8Bitmask | protected RenderedImage forceIndexed8Bitmask(RenderedImage originalImage)(Code) | | Parameters: originalImage - |
prepareImage | protected RenderedImage prepareImage(int width, int height, IndexColorModel palette, boolean transparent)(Code) | | Sets up a
BufferedImage.TYPE_4BYTE_ABGR if the paletteInverter is
not provided, or a indexed image otherwise. Subclasses may override this
method should they need a special kind of image
Parameters: width - Parameters: height - Parameters: paletteInverter - |
produceMap | public void produceMap() throws WmsException(Code) | | Performs the execute request using geotools rendering.
Parameters: map - The information on the types requested. throws: WmsException - For any problems. |
Fields inherited from org.vfny.geoserver.wms.responses.AbstractRasterMapProducer | protected RenderedImage image(Code)(Java Doc)
|
Methods inherited from org.vfny.geoserver.wms.responses.AbstractRasterMapProducer | public RenderedImage getImage()(Code)(Java Doc)
|
|
|