---
name: "Geo::GDAL"
section: "3pm"
platform: "linux"
package: "libgdal-perl"
version: "3.2.2+dfsg-2+deb11u2"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/Geo::GDAL"
---

# Geo::GDAL(3pm)

Perl extension for the GDAL library for geospatial data

## NAME

Geo::GDAL - Perl extension for the GDAL library for geospatial data

## SYNOPSIS

```
  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);
  }
```

## DESCRIPTION

This Perl module lets you to manage (read, analyse, write) geospatial data stored in several formats.

### EXPORT

None by default.

## SEE ALSO

The GDAL home page is \<http://gdal.org/\>

The documentation of this module is written in Doxygen format. See \<http://arijolma.org/Geo-GDAL/snapshot/\>

## AUTHOR

Ari Jolma

## COPYRIGHT AND LICENSE

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\>
