Geo::GDAL(3)

πŸ“¦
version 3.4.3 Β· 3 versions
, in epel 9

πŸ’… Geo::GDAL β€” the Perl extension for the GDAL library for geospatial data

Okay so bestie, welcome to Geo::GDAL, a Perl module (manual section 3, iykyk) that wraps the GDAL library for geospatial data πŸ—ΊοΈβœ¨


✨ SYNOPSIS ✨

Here's the vibe, exactly as written β€” code is sacred, no touching:

  use Geo::GDAL;

  my $raster_file = shift @ARGV;

  my $raster_dataset = Geo::GDAL::Open($file);

  my $raster_data = $dataset->GetRasterBand(1)->ReadTile;

  my $vector_datasource = Geo::OGR::Open('./');

  my $vector_layer = $datasource->Layer('borders'); # e.g. a shapefile borders.shp in current directory

  $vector_layer->ResetReading();
  while (my $feature = $vector_layer->GetNextFeature()) {
      my $geometry = $feature->GetGeometry();
      my $value = $feature->GetField($field);
  }
Yes, $raster_file gets declared and then $file shows up instead, and $dataset is used too β€” that's literally how the page says it, so type it exactly like this, no "fixing" it, okay? πŸ’€ Copy. Verbatim. Periodt.

🌸 DESCRIPTION 🌸

This Perl module lets you manage geospatial data β€” and by manage we mean read, analyse, and write it, all three slay β€” when that data is stored in several formats. Multiple formats, one module, main character energy πŸ‘‘πŸ¦‹

πŸŽ€ EXPORT πŸŽ€

  • None by default. Nope, nothing gets exported unless you ask. Lowkey polite of it ngl πŸ™ˆ

🧚 SEE ALSO 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Ari Jolma 🫢


Copyright (C) 2005- by Ari Jolma and GDAL bindings developers.

This library is free software; you can redistribute it and/or modify it under the terms of MIT License πŸ’œ

<https://opensource.org/licenses/MIT>


πŸ“ REPOSITORY πŸ“

<https://trac.osgeo.org/gdal> β€” the source of truth, go bookmark it ⭐


and that's the whole page, bestie, we ate and left no crumbs πŸŽ€ this was perl v5.32.1, dated 2026-01-08, filed under Geo::GDAL(3) β€” catch you in the next manpage πŸ’…πŸ’–

πŸ“¦ where this page comes from