Class VPFLibrary

    • Constructor Detail

      • VPFLibrary

        public VPFLibrary​(SimpleFeature libraryFeature,
                          File dir,
                          URI namespace)
                   throws IOException,
                          SchemaException
        Constructor which defaults the containing database to null and looks up the first (and presumably only) entry in the library attribute table
        Parameters:
        dir - the containing directory
        namespace - the namespace to create features with.
        Throws:
        SchemaException - For problems making one of the feature classes as a FeatureType.
        IOException
    • Method Detail

      • getCoverages

        public List<VPFCoverage> getCoverages()
        Returns the coverages contained by the library
        Returns:
        a List value which contains VPFCoverage objects
      • getXmax

        public double getXmax()
        Getter for property xmax.
        Returns:
        Value of property xmax.
      • getXmin

        public double getXmin()
        Getter for property xmin.
        Returns:
        Value of property xmin.
      • getYmax

        public double getYmax()
        Getter for property ymax.
        Returns:
        Value of property ymax.
      • getYmin

        public double getYmin()
        Getter for property ymin.
        Returns:
        Value of property ymin.
      • toString

        public String toString()
        Overrides:
        toString in class Object
      • getTileMap

        public Map<Short,​String> getTileMap()
        Returns a map containing the tiles used by this library. The map has Short keys and and string values.
        Returns:
        a Map value
      • createTypeNames

        protected List<Name> createTypeNames()
                                      throws IOException
        Description copied from class: ContentDataStore
        Creates a set of qualified names corresponding to the types that the datastore provides.

        Namespaces may be left null for data stores which do not support namespace qualified type names.

        Specified by:
        createTypeNames in class ContentDataStore
        Returns:
        A list of Name.
        Throws:
        IOException - Any errors occuring connecting to data.
      • getDirectory

        public File getDirectory()
      • getTypeSchema

        public SimpleFeatureType getTypeSchema​(String typeName)
                                        throws IOException
        Throws:
        IOException
      • getCoordinateReferenceSystem

        public CoordinateReferenceSystem getCoordinateReferenceSystem()
        Returns the coordinate reference system appropriate for this library. If the coordinate reference system cannot be determined null will be returned.