rl2tool1
Cli tool for rasterlite2
Usage
FCrl2toolF [0]
mode
[ARGLIST]
Overview
rl2tool is a CLI tool for RasterLite2.
Options
Mode: CREATE
will create a new RasterLite2 Raster Coverage
FC
|
RasterLite2 DB path |
|---|---|
FC
|
Coverage's name |
FC
|
Sample Type keyword (see list) |
FC
|
Pixel Type keyword (see list) |
FC
|
Number of Bands |
FC
|
Compression keyword (see list) |
FC
|
Compression Quality [0-100] |
FC
|
Tile Width [pixels] |
FC
|
Tile Height [pixels] |
FC
|
SRID value |
FC
|
No SRID |
FC
|
pixel resolution(X and Y) |
FC
|
pixel resolution(X specific) |
FC
|
pixel resolution(Y specific) |
FC
|
NO-DATA pixel value |
SampleType Keywords:
1-BIT 2-BIT 4-BIT INT8 UINT8 INT16 UINT16 INT32 UINT32 FLOAT DOUBLE
PixelType Keywords:
MONOCHROME PALETTE GRAYSCALE RGB MULTIBAND DATAGRID
Compression Keywords:
NONE DEFLATE LZMA GIF PNG JPEG WEBP LL_WEBP FAX3 FAX4
Mode: DROP
will drop an existing RasterLite2 Raster Coverage
FC
|
RasterLite2 DB path |
|---|---|
FC
|
Coverage's name |
Mode: IMPORT
will create a new Raster Section by importing an external image or raster file
FC
|
RasterLite2 DB path |
|---|---|
FC
|
input Image/Raster path |
FC
|
input directory path |
FC
|
extension file extension (e.g. .tif) |
FC
|
Coverage's name |
FC
|
optional: force SRID value |
FC
|
requires a Worldfile |
FC
|
immediately build Pyramid levels |
Mode: EXPORT
will export an external image from a Coverage
FC
|
RasterLite2 DB path |
|---|---|
FC
|
output Image/Raster path |
FC
|
Coverage's name |
FC
|
pixel resolution (X and Y) |
FC
|
pixel resolution (X specific) |
FC
|
pixel resolution (Y specific) |
FC
|
X coordinate (lower-left corner) |
FC
|
Y coordinate (lower-left corner) |
FC
|
X coordinate (upper-right corner) |
FC
|
Y coordinate (upper-left corner) |
FC
|
X coordinate (center) |
FC
|
Y coordinate (center) |
FC
|
image width (in pixels) |
FC
|
image height (in pixels) |
In order to export a raster you are expected to specify:
- - the intended resolution (FC
-resF[0] OR FC-xresF[0] AND FC-yresF[0])
- - the output image size (FC
-outwF[0] AND FC-outhF[0])
- - a single tie-point, defined as one of:
-
- - Output Image Center point: FC
-cxF[0] AND FC-cyF[0]
- - Output Image LowerLeft corner: FC
-minxF[0] AND FC-minyF[0]
- - Output Image LowerRight corner: FC
-maxxF[0] AND FC-minyF[0]
- - Output Image UpperLeft corner: FC
-minxF[0] AND FC-maxyF[0]
- - Output Image UpperRight corner: FC
-maxxF[0] AND FC-maxyF[0]
- - Output Image Center point: FC
Mode: DELETE
will delete a Raster Section
FC
|
RasterLite2 DB path |
|---|---|
FC
|
Coverage's name |
FC
|
Section's name |
Mode: PYRAMIDIZE
will (re)build all Pyramid levels supporting a Coverage
- FC
-dbF[0] pathname, FC--db-pathF[0] pathname -
RasterLite2 DB path
- FC
-covF[0] string, FC--coverageF[0] string -
Coverage's name
- FC
-secF[0] string, FC--sectionF[0] string -
optional: Section's name
default is "All Sections"
- FC
-fF[0], FC--forceF[0] -
optional: rebuilds from scratch
Mode: PYRAMIDIZE-MONOLITHIC
will (re)build all Pyramid levels (Monolithic) supporting a Coverage
- FC
-dbF[0] pathname, FC--db-pathF[0] pathname -
RasterLite2 DB path
- FC
-covF[0] string, FC--coverageF[0] string -
Coverage's name
- FC
-levF[0] number, FC--virt-levelsF[0] number -
number of virt-levels
could be one of: 1, 2 or 3
Mode: DE-PYRAMIDIZE
will delete Pyramid levels
- FC
-dbF[0] pathname, FC--db-pathF[0] pathname -
RasterLite2 DB path
- FC
-covF[0] string, FC--coverageF[0] string -
Coverage's name
- FC
-secF[0] string, FC--sectionF[0] string -
optional: Section's name
default is "All Sections"
Mode: LIST
will list Raster Sections within a Coverage
- FC
-dbF[0] pathname, FC--db-pathF[0] pathname -
RasterLite2 DB path
- FC
-covF[0] string, FC--coverageF[0] string -
Coverage's name
- FC
-secF[0] string, FC--sectionF[0] string -
optional: Section's name
default is "All Sections"
Mode: MAP
will output a PNG Map representing all Raster Sections within a Coverage
FC
|
RasterLite2 DB path |
|---|---|
FC
|
Coverage's name |
FC
|
output Image/Raster path |
FC
|
image width (in pixels) |
FC
|
image height (in pixels) |
Mode: CATALOG
will list all Coverages from within a RasterLite2 DB
- FC
-dbF[0] pathname, FC--db-pathF[0] pathname -
RasterLite2 DB path
Mode: HISTOGRAM
will create a PNG showing a band Histogram
- FC
-dbF[0] pathname, FC--db-pathF[0] pathname -
RasterLite2 DB path
- FC
-covF[0] string, FC--coverageF[0] string -
Coverage's name
- FC
-secF[0] string, FC--sectionF[0] string -
optional: Section's name
default is "All Sections"
- FC
-bndF[0] integer, FC--band-indexF[0] integer -
a valid band index
default is band index 0
- FC
-dstF[0] pathname, FC--dst-pathF[0] pathname -
output PNG path
default is FC./hist_cov_sec_idx.pngF[0]
optional DB specific settings:
FC
|
DB cache size (how many pages) |
|---|---|
FC
|
using IN-MEMORY database |
FC
|
unsafe [but faster] mode |
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.