Skip to main content
Name:

gdalos

Authors:

Idan Miara

Ben Avrahami

license

gdalos is a simple Python library and GUI for raster processing using GDAL:

  • creating Cloud Optimized GeoTIFFs

  • adding overviews

  • cropping

  • transforming

  • and more!

What is Cloud Optimized GeoTIFF?

A Cloud Optimized GeoTIFF (COG) is a regular GeoTIFF file, aimed at being hosted on a HTTP file server, with an internal organization that enables more efficient workflows on the cloud. It does this by leveraging the ability of clients issuing ​HTTP GET range requests to ask for just the parts of a file they need.

What is GDAL? GDAL

GDAL is a translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source License by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing.

What is gdalos?

gdalos is a simple multi platform GDAL translate/warp/addo python wrapper for raster batch processing. It uses the gdal python interface and on top of it many rules to automate the batch processing. gdalos can be used to make a Cloud Optimized GeoTIFF easily with proper overviews from any raster that can be read with GDAL. I hope some of you might find it useful. look at example.py for some examples.

  • What is gdalos_qt?

    gdalos_qt is a simple GUI wrapper for gdalos using the Qt5 library with the PyQt5 or PySide backends. gdalos package includes both gdalos and gdalos_qt

Installation

gdalos requires Python >= 3.6. If you want to use the gdalos_qt GUI you would need Python >= 3.7. gdalos also requires gdal to be installed on your Python. You can use install gdal in multiple ways, depending on your OS and configuration:

You can install gdalos using pip using one of these options:

$ pip install gdalos          # Installs gdalos without the gdalos_qt UI dependencies
$ pip install gdalos[pyqt]    # If you want to use gdalos_qt with the PyQt backend
$ pip install gdalos[pyside]  # If you want to use gdalos_qt with the PySide backend

Usage - Running:

  • Run with the Graphical UI:

    $ python -m gdalos_qt
  • Creating a cog in via the Python shell:

    >>> from gdalos import gdalos_trans
    >>> gdalos_trans('/maps/srtm.tif')
    

Using the gdalos_qt GUI:

  • gdalos main UI is very minimalistic…
    • press on the ‘…’ button next to button “0” to open the “New job GUI”

    /data/images/gdalos_main_ui.png
  • New Job UI
    • press on the ‘…’ button next to “source file” to select a source file

    • (optional) use whichever additional process you like
      • cropping

      • wrapping

      • output

    • press OK

    • (optional) press on the “0” button to add more job rows and repeat the above

    • press OK to start

    /data/images/gdalos_add_job.png

Support

If you find any issue on gdalos or have questions, please open an issue on our repository

Contributing

You want to contribute? Awesome!

We recommend this GitHub workflow to fork the repository. To run the tests, use tox:

$ tox

Before you send us a pull request, remember to reformat all the code:

$ tox -e reformat

This will apply black, isort, and lots of love ❤️

License

license

gdalos is released under the MIT license, hence allowing commercial use of the library. Please refer to the LICENSE file.

Metadata

Release files for gdalos 0.65.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for gdalos 0.65.0
File Interpreter ABI Platform
gdalos-0.65.0-py3-none-any.whl Python 3 none any Details

Release files / gdalos-0.65.0-py3-none-any.whl

Download URL gdalos-0.65.0-py3-none-any.whl
Size 87.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4551b4d3f41c3bcad34c128a52516178fa5b32d37b074be6e7adaa23ecf7214c
BLAKE2b-256 checksum
How to use checksums
b03dad42abe32e46ac19058099527050ef05c4de7495658a34f84deb6af210e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.65.0 This release

1 release file

0.64.1

1 release file

0.64.0

1 release file

0.63.0

1 release file

0.62.4

2 release files

0.62.3

1 release file

0.62.2

1 release file

0.62.1

1 release file

0.62.0

1 release file

0.61.2

1 release file

0.61.0

1 release file

0.60.7

1 release file

0.60.6

1 release file

0.60.5

1 release file

0.60.4

1 release file

0.60.3

1 release file

0.60.2

1 release file

0.60.1

1 release file

0.60.0

1 release file

0.59.0

1 release file

0.58.3

1 release file

0.58.2

1 release file

0.58.1

1 release file

0.58.0

1 release file

0.56.0

1 release file

0.55.4

1 release file

0.55.3

1 release file

0.55.2

1 release file

0.55.1

1 release file

0.54.0

1 release file

0.53.3

1 release file

0.53.1

1 release file

0.53.0

1 release file

0.52.0

1 release file

0.50.4

1 release file

0.50.3

1 release file

0.50.2

1 release file

0.50.1

1 release file

0.50.0

1 release file

0.48.1

1 release file

0.48.0

1 release file

0.47.8

1 release file

0.47.7

1 release file

0.47.6

1 release file

0.47.5

1 release file

0.47.3

1 release file

0.47.1

1 release file

0.47.0

1 release file

0.46.0

1 release file

0.45.4

2 release files

0.45.2

2 release files

0.45.0

2 release files

0.43.6

2 release files

0.43.5

2 release files

0.43.4

2 release files

0.43.3

2 release files

0.43.2

2 release files

0.43.1

2 release files

0.43.0

2 release files

0.42.6

2 release files

0.42.4

2 release files

0.42.3

2 release files

0.42.2

2 release files

0.42.1

2 release files

0.41.3

2 release files

0.41.2

2 release files

0.33.8

2 release files

0.33.7

2 release files

0.33.6

2 release files

0.33.0

1 release file

0.32.0

1 release file

0.31.0

1 release file

0.30.0

1 release file

0.29.0

1 release file

0.28.0

1 release file

0.27.0

1 release file

0.26.0

1 release file

0.24.0

1 release file

0.21.0

1 release file

0.20.0

1 release file

0.19.0

1 release file

0.16.0

1 release file

0.15.0

1 release file

0.13.0

1 release file

0.12.0

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page