logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rl2tool - CLI tool for RasterLite2

Description

rl2tool is a CLI tool for RasterLite2.

Name

       rl2tool - CLI tool for RasterLite2

Options

       Mode: CREATE

       will create a new RasterLite2 Raster Coverage

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -smpkeyword, --sample-typekeyword
              Sample Type keyword (see list)

       -pxlkeyword, --pixel-typekeyword
              Pixel Type keyword (see list)

       -bdsinteger, --num-bandsinteger
              Number of Bands

       -cprkeyword, --compressionkeyword
              Compression keyword (see list)

       -qtyinteger, --qualityinteger
              Compression Quality [0-100]

       -tlwinteger, --tile-widthinteger
              Tile Width [pixels]

       -tlhinteger, --tile-heightinteger
              Tile Height [pixels]

       -sridinteger, --sridinteger
              SRID value

       -nosrid, --no-srid
              No SRID

       -resnumber, --resolutionnumber
              pixel resolution(X and Y)

       -xresnumber, --x-resolnumber
              pixel resolution(X specific)

       -yresnumber, --y-resolnumber
              pixel resolution(Y specific)

       -ndpixel, --no-datapixel
              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

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       Mode: IMPORT

       will create a new Raster Section by importing an external image or raster file

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -srcpathname, --src-pathpathname
              input Image/Raster path

       -dirpathname, --dir-pathpathname
              input directory path

       -extstring, --file-extstring
              extension file extension (e.g. .tif)

       -covstring, --coveragestring
              Coverage's name

       -sridinteger, --sridinteger
              optional: force SRID value

       -wf>, --worldfile
              requires a Worldfile

       -pyr, --pyramidize
              immediately build Pyramid levels

       Mode: EXPORT

       will export an external image from a Coverage

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -dstpathname, --dst-pathpathname
              output Image/Raster path

       -covstring, --coveragestring
              Coverage's name

       -resnumber, --resolutionnumber
              pixel resolution (X and Y)

       -xresnumber, --x-resolnumber
              pixel resolution (X specific)

       -yresnumber, --y-resolnumber
              pixel resolution (Y specific)

       -minxnumber, --min-xnumber
              X coordinate (lower-left corner)

       -minynumber, --min-ynumber
              Y coordinate (lower-left corner)

       -maxxnumber, --max-xnumber
              X coordinate (upper-right corner)

       -maxynumber, --max-ynumber
              Y coordinate (upper-left corner)

       -cxnumber, --center-xnumber
              X coordinate (center)

       -cynumber, --center-ynumber
              Y coordinate (center)

       -outwnumber, --out-widthnumber
              image width (in pixels)

       -outhnumber, --out-heightnumber
              image height (in pixels)

       In order to export a raster you are expected to specify:

       - the intended resolution (-res OR -xres AND -yres)

       - the output image size (-outw AND -outh)

       - a single tie-point, defined as one of:

              - Output Image Center point: -cx AND -cy

              - Output Image LowerLeft corner: -minx AND -miny

              - Output Image LowerRight corner: -maxx AND -miny

              - Output Image UpperLeft corner: -minx AND -maxy

              - Output Image UpperRight corner: -maxx AND -maxy

       Mode: DELETE

       will delete a Raster Section

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -secstring, --sectionstring
              Section's name

       Mode: PYRAMIDIZE

       will (re)build all Pyramid levels supporting a Coverage

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -secstring, --sectionstring
              optional: Section's name

              default is "All Sections"

       -f, --force
              optional: rebuilds from scratch

       Mode: PYRAMIDIZE-MONOLITHIC

       will (re)build all Pyramid levels (Monolithic) supporting a Coverage

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -levnumber, --virt-levelsnumber
              number of virt-levels

              could be one of: 1, 2 or 3

       Mode: DE-PYRAMIDIZE

       will delete Pyramid levels

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -secstring, --sectionstring
              optional: Section's name

              default is "All Sections"

       Mode: LIST

       will list Raster Sections within a Coverage

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -secstring, --sectionstring
              optional: Section's name

              default is "All Sections"

       Mode: MAP

       will output a PNG Map representing all Raster Sections within a Coverage

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -dstpathname, --dst-pathpathname
              output Image/Raster path

       -outwnumber, --out-widthnumber
              image width (in pixels)

       -outhnumber, --out-heightnumber
              image height (in pixels)

       Mode: CATALOG

       will list all Coverages from within a RasterLite2 DB

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       Mode: HISTOGRAM

       will create a PNG showing a band Histogram

       -dbpathname, --db-pathpathname
              RasterLite2 DB path

       -covstring, --coveragestring
              Coverage's name

       -secstring, --sectionstring
              optional: Section's name

              default is "All Sections"

       -bndinteger, --band-indexinteger
              a valid band index

              default is band index 0

       -dstpathname, --dst-pathpathname
              output PNG path

              default is ./hist_cov_sec_idx.png

       optional DB specific settings:

       -csnum, --cache-sizenum
              DB cache size (how many pages)

       -m, --in-memory
              using IN-MEMORY database

       -jo, --journal-off
              unsafe [but faster] mode

                                                  06 March 2025                                       rl2tool(1)

Synopsis

rl2toolmode [ARGLIST]

See Also