|
NASA World Wind WMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.servers.wms.generators.EsatGenerator
public class EsatGenerator
A MapGenerator implementation that serves a collection of Landsat imagery. The imagery is presumed to be broken up into 2x2 degree tiles, with a naming scheme of dd{ns}ddd{ew}.tif".
The GDAL utility gdalwarp is used to extract subregions from the tiles.
The implementation also attempts to use wavelet encodings of these files to reconstruct small-scale representations of the files. These encodings reside in files named after the individual tiles with a ".wvt" suffix appended. The encodings are presumed to be co-located with the tiles, unless otherwise specified with an optional configuration property (see below).
Several optional properties may be included in the XML configuration of the corresponding
MapSource element:
<!-- if a tile's footprint in a map request is below this size (in pixels),
the image is reconstructed from a wavelet encoding -->
<property name="wavelet_image_threshold" value="..." />
<!-- amount of wavelet encodings to preload ( size in pixels, sq.), -->
<property name="wavelet_preload_size" value="..." />
<!-- root directory where the wavelet encodings reside; the encodings are
otherwise presumed to be co-located with the image tiles. -->
<property name="wavelet_encoding_root_dir" value="..." />
<!-- A color value (integer in range 0 -- 255), whereby a pixel is considered
to be transparent of all three of its color components are below this value -->
<property name="background_color_threshold" value="..." />
| Nested Class Summary | |
|---|---|
class |
EsatGenerator.EsatServiceInstance
|
| Nested classes/interfaces inherited from interface gov.nasa.worldwind.servers.wms.MapGenerator |
|---|
MapGenerator.ServiceInstance |
| Constructor Summary | |
|---|---|
EsatGenerator()
|
|
| Method Summary | |
|---|---|
gov.nasa.worldwind.geom.Sector |
getBBox()
Returns the bounding-box for the geospatial dataset managed by the MapGenerator instance. |
String[] |
getCRS()
Returns the coordinate-reference systems (CRS) that the MapGenerator is capable of using to generate map requests. |
MapGenerator.ServiceInstance |
getServiceInstance()
Called by the WMS to return an instance of ServiceInstance to field a GetMap request. |
boolean |
initialize(MapSource mapSource)
Gives the MapGenerator implementation an opportunity to perform any needed initialization, prior to fielding GetMap requests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EsatGenerator()
| Method Detail |
|---|
public gov.nasa.worldwind.geom.Sector getBBox()
MapGenerator
getBBox in interface MapGeneratorpublic String[] getCRS()
MapGenerator
getCRS in interface MapGeneratorpublic MapGenerator.ServiceInstance getServiceInstance()
MapGenerator
getServiceInstance in interface MapGenerator
public boolean initialize(MapSource mapSource)
throws IOException,
WMSServiceException
MapGenerator
initialize in interface MapGeneratorIOException
WMSServiceException
|
NASA World Wind WMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||