Class VSIDataset


  • public class VSIDataset
    extends Object
    Abstraction of the VSI Virtual File System data type used to generate readable VRT virtual files
    Author:
    Matthew Northcott
    • Constructor Detail

      • VSIDataset

        public VSIDataset​(String input)
        Constructor for /vsi-prefixed path to a VSI Virtual File System
        Parameters:
        input - source String path to a VSI Virtual File System
    • Method Detail

      • fromObject

        public static VSIDataset fromObject​(Object input)
        Static method for creating a VSIDataset from a generic object type
        Parameters:
        input - source Object which is a String representing the path to a VSI Virtual File System
        Returns:
        VSIDataset representation of the input
      • getFile

        public File getFile()
        Get the VRT file representing the VSI Virtual File System
        Returns:
        File object of the VRT file
      • generate

        public 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 File object