---
name: "rasterlite_tool"
section: "1"
platform: "linux"
package: "rasterlite-bin"
version: "1.1g-4+b2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/rasterlite_tool"
---

# rasterlite\_tool(1)

generate rasters from a SpatiaLite DB

## NAME

rasterlite\_tool - generate rasters from a SpatiaLite DB

## SYNOPSIS

**rasterlite\_tool**  \[**-?**\] \[**-o** *pathname*\] \[**-d** *pathname*\] \[**-T** *name*\] \[**-x** *coordinate*\] \[**-y** *coordinate*\] \[**-r** *num*\] \[**-w** *num*\] \[**-h** *num*\] \[**-i** \[JPEG \| GIF \| PNG \| TIFF\] \] \[**-q** *num*\] \[**-c** *0xRRGGBB*\] \[**-b** *0xRRGGBB*\]

## DESCRIPTION

**rasterlite\_tool** is a tool for generating rasters from a SpatiaLite DB

## OPTIONS

- FC**-?**F\[0\], FC**--help**F\[0\]

  print help message

- FC**-o**F\[0\] *pathname*, FC**--output**F\[0\] *pathname*

  the image path

- FC**-d**F\[0\] *pathname*, FC**--db-path**F\[0\] *pathname*

  the SpatiaLite db path

- FC**-T**F\[0\] *name*, FC**--table-name**F\[0\] *name*

  DB table name

- FC**-x**F\[0\] *coordinate*, FC**--center-x**F\[0\] *coordinate*

  center-point X coord

- FC**-y**F\[0\] *coordinate*, FC**--center-y**F\[0\] *coordinate*

  center-point Y coord

- FC**-r**F\[0\] *num*, FC**--pixel-ratio**F\[0\] *num*

  map-units per pixel

- FC**-w**F\[0\] *num*, FC**--width**F\[0\] *num*

  raster width

- FC**-h**F\[0\] *num*, FC**--height**F\[0\] *num*

  raster height

- FC**-i**F\[0\] \[JPEG\|GIF\|PNG\|TIFF\], FC**--image-type**F\[0\] \[JPEG\|GIF\|PNG\|TIFF\]

  select image type

- FC**-q**F\[0\] *num*, FC**--quality**F\[0\] *num*

  override the default quality (default = 75(JPEG))

- FC**-c**F\[0\] *0xRRGGBB*, FC**--transparent-color**F\[0\] *0xRRGGBB*

  override the default transparency color (default = NONE)

- FC**-b**F\[0\] *0xRRGGBB*, FC**--background-color**F\[0\] *0xRRGGBB*

  override the default background color (default = 0x000000)
