GDAL-RASTER(1)
π NAME π
okay so hi bestie, welcome to gdal-raster β the entry point for raster commands β¨ it's giving main character energy for the whole raster side of GDAL.
she's new-new, btw: added in version 3.11 π
The man page you're reading is gdal-raster(1), from the GDAL manual β¨
π¦ SYNOPSIS π¦
so here's the vibe check on how you actually call her:
Usage: gdal raster <SUBCOMMAND> [OPTIONS]
where <SUBCOMMAND> is one of:
- as-features: Create features from pixels of a raster dataset
- aspect: Generate an aspect map
- blend: Blend/compose two raster datasets
- calc: Perform raster algebra
- clean-collar: Clean the collar of a raster dataset, removing noise.
- clip: Clip a raster dataset.
- color-map: Generate a RGB or RGBA dataset from a single band, using a color map
- compare: Compare two raster datasets.
- contour: Creates a vector contour from a raster elevation model (DEM).
- convert: Convert a raster dataset.
- create: Create a new raster dataset.
- edit: Edit a raster dataset.
- fill-nodata: Fill nodata raster regions by interpolation from edges.
- footprint: Compute the footprint of a raster dataset.
- hillshade: Generate a shaded relief map
- index: Create a vector index of raster datasets.
- info: Return information on a raster dataset.
- mosaic: Build a mosaic, either virtual (VRT) or materialized.
- neighbors: Compute the value of each pixel from its neighbors (focal statistics) (alias: neighbours)
- nodata-to-alpha: Replace nodata value(s) with an alpha band.
- overview: Manage overviews of a raster dataset.
- pansharpen: Perform a pansharpen operation.
- pipeline: Process a raster dataset applying several steps.
- pixel-info: Return information on a pixel of a raster dataset.
- polygonize: Create a polygon feature dataset from a raster band.
- proximity: Produces a raster proximity map.
- reclassify: Reclassify values in a raster dataset
- reproject: Reproject a raster dataset.
- resize: Resize a raster dataset without changing the georeferenced extents.
- rgb-to-palette: Convert a RGB image into a pseudo-color / paletted image.
- roughness: Generate a roughness map
- scale: Scale the values of the bands of a raster dataset.
- select: Select a subset of bands from a raster dataset.
- set-type: Modify the data type of bands of a raster dataset.
- sieve: Remove small polygons from a raster dataset.
- slope: Generate a slope map
- stack: Combine together input bands into a multi-band output, either virtual (VRT) or materialized.
- tile: Generate tiles in separate files from a raster dataset.
- tpi: Generate a Topographic Position Index (TPI) map
- tri: Generate a Terrain Ruggedness Index (TRI) map
- unscale: Convert scaled values of a raster dataset into unscaled values.
- update: Update the destination raster with the content of the input one.
- viewshed: Compute the viewshed of a raster dataset.
- zonal-stats: Calculate raster zonal statistics
Common Options:
-h, --help Display help message and exit
--json-usage Display usage as JSON document and exit
--config <KEY>=<VALUE> Configuration option [may be repeated]
Options:
--drivers Display raster driver list as JSON document
like, literally a whole menu of slay π
πΈ Common Options πΈ
-h,--helpβ show the help message and dip out. classic, iconic, never fails π«Ά--json-usageβ prints the usage as a JSON document and exits, for when you want your help in machine-readable form π€--config <KEY>=<VALUE>β set a configuration option. this one may be repeated (stack 'em up bestie) β¨
β Options β
--driversβ spits out the raster driver list as a JSON document. so you can see every driver format she fw π
π AVAILABLE SUB-COMMANDS π
the full roster, no cap, nothing skipped:
gdal raster infogdal raster aspectgdal raster blendgdal raster calcgdal raster clean-collargdal raster clipgdal raster color-mapgdal raster comparegdal raster convertgdal raster creategdal raster footprintgdal raster fill-nodatagdal raster hillshadegdal raster indexgdal raster mosaicgdal raster neighborsgdal raster nodata-to-alphagdal raster overviewgdal raster pipelinegdal raster pixel-infogdal raster polygonizegdal raster proximitygdal raster reprojectgdal raster resizegdal raster rgb-to-palettegdal raster roughnessgdal raster scalegdal raster selectgdal raster sievegdal raster slopegdal raster stackgdal raster tilegdal raster tpigdal raster trigdal raster unscalegdal raster updategdal raster viewshed
no, bestie,as-features,contour,reclassify,set-typeandzonal-statsare in the usage list up top but not in this available-sub-commands list. that's just how the page is. i report, you enjoy π
π EXAMPLES π
β¨ Example 1: Getting information on the file utm.tif (with text output) β¨
$ gdal raster info utm.tif
text output, classic, clean, vibe check passed π
π Example 2: Converting file utm.tif to GeoPackage raster π
$ gdal raster convert utm.tif utm.gpkg
one line and she's converted, it's giving effortless π¦
π Example 3: Getting the list of raster drivers (with JSON output) π
$ gdal raster --drivers
JSON drippp π₯
π AUTHOR π
Even Rouault <even.rouault@spatialys.com> β the actual legend behind this, we stan π«Ά
π COPYRIGHT π
1998-2026
and that's the whole page bestie, that's a wrap on gdal-raster(1) β sourced from GDAL, version stamped Aug 18, 2026. go forth and raster, you ate π
β¨ π
π¦ where this page comes from
- alpine 3.24: gdal-doc 3.13.3-r0 Β· MIT
- arch rolling: gdal 3.13.3-6 Β· MIT
- ubuntu stonking: gdal-bin 3.13.3+dfsg-1ubuntu4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms