Skip to main content

A package to extract geospatial extent from files and directories

Project description


Python package Build Status PyPI version Binder Project Status: Active – The project has reached a stable, usable state and is being actively developed. DOI SWH SWH

Python library for extracting geospatial extent of files and directories with multiple data formats

This project is developed as part of the DFG-funded research project Opening Reproducible Research (o2r,


System requirements

Python: 3.x

The package relies on common system libraries for reading geospatial datasets, such as GDAL and NetCDF. On Debian systems, the UbuntuGIS project offers easy installation of up to date versions of those libraries.

See the packages list in travis.yml for a full list of dependencies on Linux.

Install from PyPI

You must install a suitable version of pygdal manually first, see instructions and this related SO thread with different helpful answers. We use pygdal for better compatibility with virtual environments.

# pip install pygdal=="`gdal-config --version`.*"
pip install geoextent

Source installation

git clone
cd geoextent
pip install -r requirements.txt

pip install -e .



geoextent --help

to see usage instructions.

Supported data formats

  • GeoJSON (.geojson)
  • Tabular data (.csv)
  • Shapefile (.shp)
  • GeoTIFF (.geotiff, .tif)


All help is welcome: asking questions, providing documentation, testing, or even development.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

See for details.

How to cite

Nüst, Daniel; Garzón, Sebastian and Qamaz, Yousef. (2021, May 11). o2r-project/geoextent (Version v0.7.1). Zenodo.

See also the CITATION.cff and codemeta.json files in this repository, which can possibly be imported in the reference manager of your choice.


geoextent is licensed under MIT license, see file LICENSE.

Copyright (C) 2020 - o2r project.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geoextent-0.7.1.tar.gz (19.1 kB view hashes)

Uploaded source

Built Distribution

geoextent-0.7.1-py3-none-any.whl (22.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page