GDAL-VECTOR-READ(1)

πŸ“¦ version 3.13.3, in alpine 3.24, arch rolling, ubuntu stonking

πŸ’– GDAL-VECTOR-READ(1) πŸ’–

okay bestie, welcome to the gdal-vector-read page β€” it lives in the GDAL manual and honestly? it's giving "small but mighty". πŸ’…


✨ NAME ✨

gdal-vector-read β€” read a vector dataset (pipeline only, no cap)

Added in version 3.11. πŸŽ€


🌸 DESCRIPTION 🌸

so the read operation is literally only for use inside a gdal pipeline, okay? it reads one single input vector dataset, that's it, that's the whole job. and it's the first step of a pipeline β€” the opening act, the main character walking on stage, the vibe-setter for everything that comes after. πŸ¦‹


πŸ’œ SYNOPSIS πŸ’œ

* read [OPTIONS] <INPUT>
------------------------

Read a vector dataset.

Positional arguments:
  -i, --input <INPUT>                       Input vector datasets [required]

Options:
  -l, --layer, --input-layer <INPUT-LAYER>  Input layer name(s) [may be repeated]

Advanced Options:
  --if, --input-format <INPUT-FORMAT>       Input formats [may be repeated]
  --oo, --open-option <KEY>=<VALUE>         Open options [may be repeated]

🌈 STANDARD OPTIONS 🌈

  • --if, --input-format <format> β€” the format/driver name you want it to attempt when opening the input file(s). ngl you usually do not need to specify this at all πŸ™ˆ, but it's there for when automatic driver detection is being messy and fails to pick the right driver β€” then you can step in and skip the auto-detection entirely. you can repeat this option several times to list several candidate drivers. ⚠️ but heads up: it does not force those drivers to open the dataset. in particular, some drivers have requirements on file extensions. so yeah, it's a suggestion, not a command. πŸ’€
    • May be repeated.
  • --oo, --open-option <NAME>=<VALUE> β€” a dataset open option (format specific, so like… check your driver's docs bestie). πŸ”₯
    • May be repeated.

🫢 EXAMPLES 🫢

πŸŽ€ Example 1: Read a GeoPackage file

$ gdal vector pipeline read input.gpkg ! ... [other commands here] ...

see how read kicks off the pipeline and then ! pipes the vibe along to the next command? iconic. ⭐


πŸ‘‘ AUTHOR πŸ‘‘

Even Rouault <even.rouault@spatialys.com> β€” we stan. πŸ’–


1998-2026


okay so that's the whole page bestie, no skips, no shortcuts, every flag accounted for. go read some vectors. slay. πŸ’…βœ¨

this was the GDAL manual's GDAL-VECTOR-READ(1) page, from GDAL, dated Aug 18, 2026 β€” mwah, bye! πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from