public class GDALRasterTileDataSource extends TileDataSource
swigCMemOwn
构造器和说明 |
---|
GDALRasterTileDataSource(int minZoom,
int maxZoom,
java.lang.String fileName)
Constructs a new GDAL raster data source.
|
GDALRasterTileDataSource(int minZoom,
int maxZoom,
java.lang.String fileName,
java.lang.String srs)
Constructs a new GDAL raster data source with explicit reference to SRS.
|
GDALRasterTileDataSource(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(GDALRasterTileDataSource obj) |
MapBounds |
getDataExtent()
Returns the extent of this data source.
|
TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
|
static GDALRasterTileDataSource |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
protected void |
swigDirectorDisconnect() |
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
getCPtr, getDataBounds, getMaxZoom, getMinZoom, getProjection, getTileSize, isIntervalLevel, notifyTilesChanged, setDataBounds, setIntervalLevel, setTileSize
public GDALRasterTileDataSource(long cPtr, boolean cMemoryOwn)
public GDALRasterTileDataSource(int minZoom, int maxZoom, java.lang.String fileName) throws java.io.IOException
minZoom
- The minimum zoom level supported by this data source.maxZoom
- The maximum zoom level supported by this data source.fileName
- The full path of the data filejava.lang.Exception
- If the file could not be opened.java.io.IOException
public GDALRasterTileDataSource(int minZoom, int maxZoom, java.lang.String fileName, java.lang.String srs) throws java.io.IOException
minZoom
- The minimum zoom level supported by this data source.maxZoom
- The maximum zoom level supported by this data source.fileName
- The full path of the data filesrs
- The spatial reference system of the data ("EPSG:34326", for example)java.lang.Exception
- If the file could not be opened.java.io.IOException
public static long getCPtr(GDALRasterTileDataSource obj)
protected void finalize()
finalize
在类中 TileDataSource
public void delete()
delete
在类中 TileDataSource
protected void swigDirectorDisconnect()
swigDirectorDisconnect
在类中 TileDataSource
public void swigReleaseOwnership()
swigReleaseOwnership
在类中 TileDataSource
public void swigTakeOwnership()
swigTakeOwnership
在类中 TileDataSource
public static GDALRasterTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public MapBounds getDataExtent()
public TileData loadTile(MapTile mapTile)
TileDataSource
loadTile
在类中 TileDataSource
mapTile
- The tile to load.public java.lang.String swigGetClassName()
swigGetClassName
在类中 TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 TileDataSource