Package org.geotools.vsi
Class VSIDataset
Object
VSIDataset
Abstraction of the VSI Virtual File System data type used to generate readable VRT virtual files
- Author:
- Matthew Northcott <matthewnorthcott@catalyst.net.nz>
-
Constructor Summary
ConstructorsConstructorDescriptionVSIDataset(String input) Constructor for /vsi-prefixed path to a VSI Virtual File System -
Method Summary
Modifier and TypeMethodDescriptionstatic VSIDatasetfromObject(Object input) Static method for creating aVSIDatasetfrom a generic object typegenerate()Copy the source dataset to a temporary VRT file, applying any GDAL configuration options specified in vsi.properties before doing sogetFile()Get the VRT file representing the VSI Virtual File System
-
Constructor Details
-
VSIDataset
Constructor for /vsi-prefixed path to a VSI Virtual File System- Parameters:
input- sourceStringpath to a VSI Virtual File System
-
-
Method Details
-
fromObject
Static method for creating aVSIDatasetfrom a generic object type- Parameters:
input- sourceObjectwhich is aStringrepresenting the path to a VSI Virtual File System- Returns:
VSIDatasetrepresentation of the input
-
getFile
Get the VRT file representing the VSI Virtual File System- Returns:
Fileobject of the VRT file
-
generate
Copy the source dataset to a temporary VRT file, applying any GDAL configuration options specified in vsi.properties before doing so- Returns:
- generated VRT
Fileobject
-