Raster DatasetPixel Format

In SuperMap, Raster Data consists of two parts: Raster Dataset (GRID) and Image Dataset (IMAGE). The former is mostly used for Raster Analysis, and the latter is mostly used for display or as a map. In view of the complex representation of Raster Dataset, SuperMap provides a variety of Pixel Formats, and users can select the appropriate Pixel Format for operation according to the actual needs of their work.

Raster Dataset's Pixel Format

Pixel Format Format Description
1 bit   Range 0, 1. No value defaults to 0. In some cases, it defaults to 1 or -9999.
4 bits Bit Range 0, 15. No value defaults to 0. In some cases, it defaults to 1 or -9999.
8 bits (single byte) Byte Range 0,255. No value defaults to 0. In some cases, it defaults to 1 or -9999.
16 bits (two bytes) TByte Range -2 e + 15, 2 e + 15 -1. No value defaults to -9999.
24 bits (three bytes)   Range -2 e + 2 3, 2e + 2 3 -1. No value defaults to -9999.
32-bit (integer) Int Range -2 e + 31, 2e + 31 -1. No value defaults to -9999.
64-bit (Long) Long Range -2 e + 6 3,2 e + 6 3-1. No value defaults to -9999.
Single Float Range -2 e + 31, 2e + 31 -1. No value defaults to -9999.
Double Double Range -2 e + 64, 2 e + 64 -1. No value defaults to -9999.

Pixel Format for Image Dataset

Pixel Format Format Description
Monochrome   Both black and white colors can be represented.
16 colors Bit Can represent 16 colors, which are index colors that can be defined in the color table.
256 colors Byte Colors that can represent 256 gradients. These 256 colors are index colors that can be defined in the color table.
Color TByte Each pixel is represented by 16 bits, red, green, and blue are each represented by 5 bits, and the remaining 1 bit is unused.
True color RGB Each pixel is represented by 24 bits, and red, green, and blue are each represented by 8 bits.
Enhance true color RGBA Each pixel is represented by 32 bits, and red, green, blue, and alpha are each represented by 8 bits. Multi-band images are not supported.