|
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.ElevationSrtm30
public class ElevationSrtm30
| Nested Class Summary | |
|---|---|
class |
ElevationSrtm30.Srtm30ServiceInstance
|
| Nested classes/interfaces inherited from interface gov.nasa.worldwind.servers.wms.MapGenerator |
|---|
MapGenerator.ServiceInstance |
| Field Summary | |
|---|---|
protected boolean |
debug
|
static short |
DTED_MISSING_DATA_COLOR
|
static short |
SRTM_MISSING_DATA_COLOR
|
protected java.lang.String |
threadId
|
static double |
WWCLIENT_MISSING_DATA_COLOR
|
| Constructor Summary | |
|---|---|
ElevationSrtm30()
|
|
| Method Summary | |
|---|---|
protected static gov.nasa.worldwind.data.DataRaster |
createDataRaster(int width,
int height,
gov.nasa.worldwind.geom.Sector sector,
gov.nasa.worldwind.avlist.AVList params)
|
gov.nasa.worldwind.geom.Sector |
getBBox()
Returns the bounding-box for the geospatial dataset managed by the MapGenerator instance. |
java.lang.String[] |
getCRS()
Returns the coordinate-reference systems (CRS) that the MapGenerator is capable of using to generate map requests. |
java.lang.String |
getDataType()
Returns 'true' if the MapSource returns imagery data, and 'false' for elevation data |
java.awt.image.BufferedImage |
getImageFromSource(java.lang.String sourceFile,
gov.nasa.worldwind.geom.Sector extent,
int width,
int height)
|
MapSource |
getMapSource()
|
double |
getPixelSize()
|
java.lang.String |
getPixelType(java.lang.String format)
|
protected double |
getProperty(java.util.Properties props,
java.lang.String key,
double defaultVal,
java.lang.String name)
|
protected int |
getProperty(java.util.Properties props,
java.lang.String key,
int defaultVal,
java.lang.String name)
|
protected java.lang.String |
getProperty(java.util.Properties props,
java.lang.String key,
java.lang.String defaultVal,
java.lang.String name)
|
MapGenerator.ServiceInstance |
getServiceInstance()
Called by the WMS to return an instance of ServiceInstance to field a GetMap request. |
java.lang.String |
getThreadId()
|
boolean |
hasCoverage(gov.nasa.worldwind.geom.Sector sector)
Returns 'true' if the MapSource has imagery or elevation available for a given sector. |
boolean |
initialize(MapSource mapSource)
Gives the MapGenerator implementation an opportunity to perform any needed initialization, prior to fielding GetMap requests. |
java.awt.image.BufferedImage |
mosaic(java.io.File[] sourceFiles,
gov.nasa.worldwind.geom.Sector extent,
int width,
int height,
short srcNoData,
short destNoData)
|
static java.nio.ByteBuffer |
readFileToBuffer(java.io.File file)
|
void |
setMapSource(MapSource mapSource)
|
void |
setThreadId(java.lang.String prefix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short DTED_MISSING_DATA_COLOR
public static final short SRTM_MISSING_DATA_COLOR
public static final double WWCLIENT_MISSING_DATA_COLOR
protected boolean debug
protected java.lang.String threadId
| Constructor Detail |
|---|
public ElevationSrtm30()
| Method Detail |
|---|
public gov.nasa.worldwind.geom.Sector getBBox()
MapGenerator
public java.lang.String[] getCRS()
MapGenerator
public double getPixelSize()
public MapGenerator.ServiceInstance getServiceInstance()
MapGenerator
public boolean initialize(MapSource mapSource)
throws java.io.IOException,
WMSServiceException
MapGenerator
java.io.IOException
WMSServiceExceptionpublic java.lang.String getDataType()
MapGenerator
public java.lang.String getPixelType(java.lang.String format)
throws WMSServiceException
WMSServiceException
public java.awt.image.BufferedImage mosaic(java.io.File[] sourceFiles,
gov.nasa.worldwind.geom.Sector extent,
int width,
int height,
short srcNoData,
short destNoData)
public static java.nio.ByteBuffer readFileToBuffer(java.io.File file)
throws java.io.IOException
java.io.IOException
protected static gov.nasa.worldwind.data.DataRaster createDataRaster(int width,
int height,
gov.nasa.worldwind.geom.Sector sector,
gov.nasa.worldwind.avlist.AVList params)
public java.awt.image.BufferedImage getImageFromSource(java.lang.String sourceFile,
gov.nasa.worldwind.geom.Sector extent,
int width,
int height)
public MapSource getMapSource()
getMapSource in interface MapGenerator
protected double getProperty(java.util.Properties props,
java.lang.String key,
double defaultVal,
java.lang.String name)
protected int getProperty(java.util.Properties props,
java.lang.String key,
int defaultVal,
java.lang.String name)
protected java.lang.String getProperty(java.util.Properties props,
java.lang.String key,
java.lang.String defaultVal,
java.lang.String name)
public java.lang.String getThreadId()
public boolean hasCoverage(gov.nasa.worldwind.geom.Sector sector)
MapGenerator
hasCoverage in interface MapGeneratorpublic void setMapSource(MapSource mapSource)
setMapSource in interface MapGeneratorpublic void setThreadId(java.lang.String prefix)
|
NASA World Wind WMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||