-
Notifications
You must be signed in to change notification settings - Fork 0
RL2_Types_Data_Image_Compression
Mark Johnson edited this page Aug 30, 2015
·
26 revisions
Data/Sample, Pixel/Image and Compression Types
- often needed for ['RL2_CreateRasterCoverage'] (RL2_CreateRasterCoverage)
[--> 'List of Sql-Commands'] (Home#commands)
[<-- 'Index Page for RasterLite2 - Commands'] (RasterLite2-Index#commands)
Tip:
When in doubt about:
- under what conditions
- who belongs to what
- to be used where
- who belongs to what
Look into the sql-text of the
-
raster_coverages
-
BEFORE INSERT
triggers
-
That is where all of these conditions are being inforced.
**Data/Sample Types**:
-
1-BIT:
-
yesie's:
- Compression Types == (NONE,DEFLATE_?,LZMA_?, CCITTFAX4 and PNG) are permitted
- Image/Pixel Types == (MONOCHROME,PALETTE) are permitted
-
yesie's:
-
2-BIT:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE) is permitted
-
no-no's:
- Compression Types == (CCITTFAX4) is not permitted
-
yesie's:
-
4-BIT:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE) is permitted
-
no-no's:
- Compression Types == (CCITTFAX4) is not permitted
-
yesie's:
-
INT8:
-
yesie's:
- Compression Types == (NONE,DEFLATE_?,LZMA_?) are permitted
- Image/Pixel Types == (DATAGRID) is permitted
-
yesie's:
-
UINT8:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE,RGB,MULTIBAND,DATAGRID) are permitted
-
no-no's:
- Compression Types == (CCITTFAX4) is not permitted
-
yesie's:
-
INT16:
-
yesie's:
- Compression Types == (NONE,DEFLATE_?,LZMA_?) are permitted
- Image/Pixel Types == (DATAGRID) is permitted
-
yesie's:
-
UINT16:
-
yesie's:
- Image/Pixel Types == (RGB,MULTIBAND,DATAGRID) are permitted
-
no-no's:
- Compression Types == (CCITTFAX4) is not permitted
-
yesie's:
-
INT32:
-
yesie's:
- Compression Types == (NONE,DEFLATE_?,LZMA_?) are permitted
- Image/Pixel Types == (DATAGRID) is permitted
-
yesie's:
-
UINT32:
-
yesie's:
- Compression Types == (NONE,DEFLATE_?,LZMA_?) are permitted
- Image/Pixel Types == (DATAGRID) is permitted
-
yesie's:
-
FLOAT:
-
yesie's:
- Compression Types == (NONE,DEFLATE_?,LZMA_?) are permitted
- Image/Pixel Types == (DATAGRID) is permitted
-
yesie's:
-
DOUBLE:
-
yesie's:
- Compression Types == (NONE,DEFLATE_?,LZMA_?) are permitted
- Image/Pixel Types == (DATAGRID) is permitted
-
yesie's:
**Image/Pixel Types**:
-
MONOCHROME:
-
no-no's:
- bands <> 1 are not permitted
- Compression Types == (CHARLS, ?_WEBP and ?_JP2) are not permitted
- Data/Sample Types <> 1-BIT are not permitted
-
no-no's:
-
PALETTE:
-
yesie's:
- all Compression Types are permitted
-
no-no's:
- bands <> 1 are not permitted
- Data/Sample Types <> 1-BIT are not permitted
-
yesie's:
-
GRAYSCALE:
-
no-no's:
- bands <> 1 are not permitted
- Compression Type == CCITTFAX4 is not permitted
- Data/Sample Types <> (2-BIT, 4-BIT or UINT8) are not permitted
-
no-no's:
-
RGB:
-
yesie's:
- Data/Sample Types == (UINT8 and UINT16) are permitted
- Compression Types == (JPEG,?_WEBP) are only permitted with
- Data/Sample Types == UINT8
-
no-no's:
- bands <> 3 are not permitted
- Compression Type == CCITTFAX4 is not permitted
-
yesie's:
-
MULTIBAND:
-
yesie's:
- Data/Sample Types == (UINT8 and UINT16) are permitted
- for bands (<> 3 or 4) only the following Compression Types are allowed:
- (NONE and DEFLATE_ *)
- Compression Type == ?_WEBP is only permitted with
- Data/Sample Types == UINT8
- Compression Type == LOSSLESS_JP2 is only permitted with
- Data/Sample Types == UINT16
-
no-no's:
- bands (== 1) and (> 255) are not permitted
- Compression Type == (CCITTFAX4 and JPEG) are not permitted
-
yesie's:
-
DATAGRID:
-
yesie's:
- Compression Types == (NONE, DEFLATE_? and LZMA_?) are permitted
- Compression Types == (PNG,CHARLS,?_JP2) are only permitted with
- Data/Sample Types == (UINT8 and UINT16)
-
no-no's:
- bands <> 1 are not permitted
- Data/Sample Types == (1-BIT, 2-BIT and 4-BIT) are not permitted
-
yesie's:
**Compression Types**:
-
NONE:
-
yesie's:
- all Data/Sample Types are permitted
- all Image/Pixel Types are permitted
-
yesie's:
-
DEFLATE:
-
yesie's:
- all Data/Sample Types are permitted
- all Image/Pixel Types are permitted
-
yesie's:
-
DEFLATE_NO:
-
yesie's:
- all Data/Sample Types are permitted
- all Image/Pixel Types are permitted
-
yesie's:
-
LZMA:
-
yesie's:
- all Data/Sample Types are permitted
- all Image/Pixel Types are permitted
-
yesie's:
-
LZMA_NO:
-
yesie's:
- all Data/Sample Types are permitted
- all Image/Pixel Types are permitted
-
yesie's:
-
PNG:
-
yesie's:
- Image/Pixel Types == (MONOCHROM,GRAYSCALE,PALETTE,RGB) are permitted
- Image/Pixel Types == (MULTIBAND,DATAGRID) are only permitted with
- for bands (== 3 or 4)
- Data/Sample Types == (UINT8 and UINT16)
- for bands (== 3 or 4)
-
no-no's:
- Data/Sample Types == (UINT32, DOUBLE and FLOAT) are not permitted
-
yesie's:
-
JPEG:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE) is permitted
- Image/Pixel Type == (RGB) is only permitted with
-
- Data/Sample Type == UINT8
-
-
yesie's:
-
LOSSY_WEBP:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE) is permitted
- Image/Pixel Types == (RGB, MULTIBAND) are only permitted with
-
- Data/Sample Type == UINT8
-
-
yesie's:
-
LOSSLESS_WEBP:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE) is permitted
- Image/Pixel Types == (RGB, MULTIBAND) are only permitted with
-
- Data/Sample Type == UINT8
-
-
yesie's:
-
CCITTFAX4:
-
yesie's:
- Data/Sample Types == 1-BIT is permitted
- Image/Pixel Types == MONOCHROME is permitted
-
yesie's:
-
CHARLS:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE,RGB) are permitted
- Image/Pixel Types == (MULTIBAND,DATAGRID) are only permitted with
- for bands (== 3 or 4)
- Data/Sample Types == (UINT8 and UINT16)
- for bands (== 3 or 4)
-
no-no's:
- Data/Sample Types == (1-BIT,UINT32, DOUBLE and FLOAT) are not permitted
-
yesie's:
-
PNG:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE,RGB) are permitted
- Image/Pixel Types == (MULTIBAND,DATAGRID) are only permitted with
- for bands (== 3 or 4)
- Data/Sample Types == (UINT8 and UINT16)
- for bands (== 3 or 4)
-
no-no's:
- Data/Sample Types == (UINT32, DOUBLE and FLOAT) are not permitted
-
yesie's:
-
LOSSY_JP2:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE,RGB) are permitted
- Image/Pixel Types == (MULTIBAND,DATAGRID) are only permitted with
- for bands (== 3 or 4)
- Data/Sample Types == (UINT8 and UINT16)
- for bands (== 3 or 4)
-
no-no's:
- Data/Sample Types == (1-BIT,UINT32, DOUBLE and FLOAT) are not permitted
-
yesie's:
-
LOSSLESS_JP2:
-
yesie's:
- Image/Pixel Types == (GRAYSCALE,RGB) are permitted
- Image/Pixel Types == (MULTIBAND,DATAGRID) are only permitted with
- for bands (== 3 or 4)
- Data/Sample Types == (UINT8 and UINT16)
- for bands (== 3 or 4)
-
no-no's:
- Data/Sample Types == (1-BIT,UINT32, DOUBLE and FLOAT) are not permitted
-
yesie's:
2015-08-30: Mark Johnson, Berlin Germany