Class VectorTilesExtension


  • public class VectorTilesExtension
    extends BaseExtension
    Vector Tiles Extension https://gitlab.com/imagemattersllc/ogc-vtp2/-/blob/master/extensions/1-vte.adoc
    Since:
    4.0.0
    Author:
    jyutzler
    • Constructor Detail

      • VectorTilesExtension

        public VectorTilesExtension​(GeoPackageCore geoPackage)
        Constructor
        Parameters:
        geoPackage - GeoPackage
    • Method Detail

      • getName

        public static String getName()
        Returns:
        the extension name
      • has

        public boolean has()
      • createUserVectorTilesTable

        public boolean createUserVectorTilesTable​(String tableName,
                                                  VectorTilesEncodingExtension vtee)
        Parameters:
        tableName - user tiles table name
        vtee - vector tiles encoding extension
        Returns:
        true if table was created, false if the table already existed
      • getOrCreate

        public List<Extensions> getOrCreate()
        Get or create the extension
        Returns:
        extensions
      • removeExtension

        public void removeExtension()
      • getVectorTilesLayersDao

        public VectorTilesLayersDao getVectorTilesLayersDao()
        Get the Layers DAO
        Returns:
        layers dao
      • getVectorTilesLayersDao

        public static VectorTilesLayersDao getVectorTilesLayersDao​(GeoPackageCore geoPackage)
        Get the Layers DAO
        Parameters:
        geoPackage - GeoPackage
        Returns:
        layers dao
      • getVectorTilesFieldsDao

        public VectorTilesFieldsDao getVectorTilesFieldsDao()
        Get the Fields DAO
        Returns:
        fields dao
      • getVectorTilesFieldsDao

        public static VectorTilesFieldsDao getVectorTilesFieldsDao​(GeoPackageCore geoPackage)
        Get the Fields DAO
        Parameters:
        geoPackage - GeoPackage
        Returns:
        fields dao
      • createVectorTilesTables

        public boolean createVectorTilesTables()
        Create the Vector Tiles Extension
        Returns:
        true if created