A raster is a grid that is formed by a matrix of cells (or pixels) that are organized into rows and columns. Each cell contains attribute values that represent the information for the area within the cell. These values are also known as raster data.
- Thematic data: The value of each cell represents a measurement or a classification to describe the information, such as the pollutant concentration, rainfall, land ownership types, or vegetation types.
- Image data: Image data is also called remote sensing image. It refers to a film or image taken by using ground remote sensing, aerial remote sensing, or aerospace remote sensing technologies to record the electromagnetic wave size of various ground objects. Image data includes both aerial images and remote sensing satellite images.
A raster is also called a spatio-temporal raster because raster data contains both spatial and temporal attributes. In terms of time, spatio-temporal raster data can also be used to manage time series.
DLA Ganos Raster
DLA Ganos Raster is a spatio-temporal data engine and toolset. It is used to manage and process raster data. DLA Ganos Raster allows you to use ApsaraDB for HBase Enhanced Edition (Lindorm) to store, index, query, analyze, and transmit raster data and related metadata. Raster data is stored in ApsaraDB for HBase Enhanced Edition (Lindorm) as tiles or blocks. A primary key is assigned to each tile or block. You can perform spatial and temporal queries based on the primary key. DLA Ganos Raster also allows you to integrate and analyze raster data from multiple sources, such as remote sensing, photogrammetry, and thematic maps. It also supports data service release features such as the Tile Map Service (TMS) and Web Map Tile Service (WMTS). DLA Ganos Raster can be used in fields such as location-based services, geographic image archiving, environmental monitoring and assessment, geological engineering and exploration, natural resource management, national defense, emergency response, telecommunications, transportation, urban planning, and national security.
Data model of DLA Ganos Raster
- Image: specifies a remote sensing image, for example, a Tagged Image File Format (TIFF) file.
- Catalog: specifies a data catalog, which is similar to a database. A catalog is a logical concept. It consists of all layers and a metadata table in ApsaraDB for HBase Enhanced Edition (Lindorm). Each layer is stored in a table. The metadata of each layer is stored in a row of the metadata table.
- Cover or coverage: specifies a dataset that consists of multiple rasters, which is the same as a mosaic dataset.
- Layer: specifies a 2D raster data layer that consists of multiple tiles. Each tile has a row number and a column number.
- Tile or block: specifies a tile or block that is a collection of pixels. A tile is the basic unit that is used to store raster data in a database. Each tile contains several cells. Each tile can be 256 × 256 pixels or 512 × 512 pixels.
- Cell or pixel: specifies a pixel in the tile. It supports various data types, such as BYTE, SHORT, INT, and DOUBLE.
- Key: specifies a key value, which uniquely identifies a tile. Valid values: SpatialKey, SpaceTimeKey, and TimeKey.
- Pyramid: specifies a raster pyramid that is used to speed up the display of raster data. Each pyramid has different levels of raster datasets. Each level corresponds to a layer. Level 0 refers to the raw raster dataset. Metadata: specifies the metadata of a raster, such as the spatial range, projection types, and pixel types. The metadata of the remote sensing platform is excluded.
- Layout definition or layout: defines the chunking mode for tiles in a layer, the geographical range represented by each pixel, and the mapping relationship between a key and the actual coordinate system.
- Layout scheme: A layout scheme consists of the zoom numbers of all layers in a pyramid and the layout definitions. The following figure shows the file representation of raster data and the logical model stored in the database.
Band and layer
DLA Ganos Raster uses a simple and efficient raster data model. This data model is used to manage the thematic data and remote sensing image data. An image consists of several bands that can be represented as a 2D raster layer. Each pixel of a band is represented as a cell. DLA Ganos Raster requires that all cells in each band be of the same data type and have the same projection parameters. This makes it easy for you to store and manage data. Note that different bands of an image can be heterogeneous. Each image has its own metadata. The metadata includes the extent, data types, projection information, row numbers, and column numbers. Raster data is stored as layers in databases. Each layer is stored and managed as a tile in DLA Ganos Raster. Tiles can be classified into two types: single-band tiles and multi-band tiles. Each multi-band tile contains multiple tiles.
- One band corresponds to one layer: For single-band raster data such as the output of a model and the analytical results of a remote sensing image, each pixel includes only one value. If a pyramid model is not built, each band corresponds to a layer.
- Multiple bands form a layer: If a layer of the remote sensing image is composed of RGB, the layer can be represented by a multi-band tile. In this case, the R, G, and B bands form a layer.
- One band includes multiple layers: If you have created a pyramid model for raster data, each band contains multiple zoom levels. Each zoom level corresponds to a layer.
Pyramids speed up the display of the raster data by retrieving only the data at a specific resolution. The resolution varies with the display requirement. If you draw an entire dataset, you can use a pyramid to display tiles or blocks of lower resolutions. As you zoom in, levels with higher resolutions are drawn. However, the performance remains unchanged. The database automatically chooses the best-suited pyramid level for you based on your display scale. After you build pyramids for each raster dataset at a time, these pyramids are accessed each time you view the raster dataset. It requires more time to build a set of pyramids for a larger raster dataset. This also saves you more time in the future.
- EPSG:4326: a commonly used projection coordinate system, which is also known as WGS 84. If this coordinate system is used, data is projected in both latitude and longitude.
- EPSG:3857: a Pseudo-Mercator projection coordinate system, which is also called Web Mercator coordinate system. Mainstream web mapping applications such as Google Maps use this coordinate system.
For more information about the EPSG parameters, see https://epsg.io/.
Primary key and indexes
- SpatialKey: the spatial primary key.
SpatialKey uses a space-filling curve (SFC) to encode and index tiles. Ganos Raster of ApsaraDB for HBase Enhanced Edition (Lindorm) supports three types of space indexes:
- SpaceTimeKey: the spatio-temporal primary key.
SpaceTimeKey is a three-dimensional SFC, which integrates a time dimension based on SpatialKey.
Spatio-temporal raster of DLA Ganos Raster
- ApsaraDB for HBase Enhanced Edition (Lindorm)