# dwtkns/gdal-cheat-sheet

Cheat sheet for GDAL/OGR command-line tools

Repository: https://github.com/dwtkns/gdal-cheat-sheet
Canonical: https://ross.abutalabs.com/products/gdal-cheat-sheet
License Family: other
Last push: 2024-06-13T09:13:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4967, "days_push": 811, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1222, forks 270 (observed 2026-08-28T04:04:02.472832+00:00)

## What it is
A community cheat sheet of copy-paste command-line recipes for GDAL/OGR, the standard open-source geospatial data abstraction tools. It covers vector operations like format conversion, reprojection, clipping, dissolving, merging, querying, and reading from PostGIS or ESRI REST endpoints.

## Use cases
- convert shapefiles to geo from the command line
- reproject vector data to epsg:4326 with ogr2ogr
- clip a shapefile by a bounding box or another polygon
- merge and dissolve vector features by attribute
- extract features from a shapefile with a where query
- pull data from postgis into geo
- read zipped geodata directly with vsizip

## When to choose
- you already use GDAL/OGR and need quick command syntax for common vector tasks
- you want a concise reference instead of the long official GDAL docs
- you are learning geospatial command-line workflows

## When to avoid
- you need a GUI or programmatic library for geoprocessing rather than CLI commands
- you need raster (gdal) command examples, which are less covered here
- you need guaranteed up-to-date documentation for a specific GDAL version

## Facets
- artifact type: learning-resource
- maturity: stable
- function: documentation, geospatial, cli, developer-tools
- domain: developer-tools, documentation
- platform: cli, cross-platform
- tags: gdal, ogr, cheat-sheet, gis, command-line-tools, reference, geospatial, command-line

## Member repositories
- dwtkns/gdal-cheat-sheet (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:02.472832+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:15:37.241444+00:00, confidence not recorded.
  - readme: https://github.com/dwtkns/gdal-cheat-sheet (fetched 2026-08-28T04:04:02.472832+00:00, sha e7e146fd0338)
- Data as of 2026-08-30T08:39:29.467469+00:00.
