Raster - GeoPackage
In the
Files
Select .gpkg, .sqlite, or .db files for import.
GeoPackage Table and Table Name
GeoPackage files can contain multiple raster layers or subdatasets. Once a file is selected, the system inspects it locally to find valid raster layers (tiles) and populates the GeoPackage table drop-down list. You must select the specific raster table you wish to import. The system will then automatically generate a unique table name, which you can adjust manually if needed (maximum 254 characters).
Metadata and Coordinate Reference System (CRS)
The system attempts to automatically identify the source Coordinate Reference System from the selected layer's metadata. On the server side, if a valid EPSG code is successfully detected within the file, it will be strictly used to prevent coordinate corruption. However, if the projection is missing or marked as "User Defined" (code 32767), the system will fall back to the CRS specified in the user interface.
Reprojection
You can choose to enable reprojection to transform the raster data into a different Target CRS during the import process.
Options
- Personal Use - Raster tables imported with this option will be linked to your username and will therefore only be visible to you.
- Keep the source file - The system automatically converts the file into a highly optimized format during import. Enable this option if you wish to also upload and safely store the original GeoPackage file in the cloud for later use. The UI will conveniently display the size of the source file to be stored.
- Add Layer to Workspace - This option is enabled by default and will automatically add the resulting raster layer to your current workspace upon completion.
Processing
Large files are uploaded in chunks, with the progress bar displaying the upload speed and completion percentage in real time. Once uploaded, the server converts the GeoPackage raster into a Cloud Optimized GeoTIFF (COG) for fast, tiled map rendering.
The system automatically optimizes the rendering and resampling methods based on the file's data type. For floating-point data (such as Digital Elevation Models), it uses Bilinear resampling. For standard integer imagery (like orthophotos), it applies Cubic resampling. It also forces RGBA (transparency) for standard imagery with three or more bands.
The spatial extent (bounding box) of the raster is mathematically calculated on the server side using the affine transformation (GeoTransform) to ensure complete accuracy, regardless of any missing client metadata. Detailed band statistics (minimum, maximum, mean, standard deviation) and NoData values are also extracted to enhance the layer's metadata. Since processing can take time, the operation continues in the background, and an email notification will be sent upon completion or failure.
