telus-agcg / ffi-gdal

MIT License
80 stars 2 forks source link

feat: initial GDAL Utils support #79

Closed oleksii-leonov closed 6 months ago

oleksii-leonov commented 7 months ago

Very basic support for GDAL Utilities (https://gdal.org/api/gdal_utils.html).

gdal_utils.h provides C API for GDAL Utils (gdalinfo, gdalwarp, gdal_translate, etc).

Python bindings have it (gdal.Warp, gdal.Translate, etc). Those utils are quite useful and it would be great to have them in Ruby.

Notes:

oleksii-leonov commented 6 months ago

@tindron , thank you!

I will try to update this PR to implement all other Utils this weekend (and do some more fine-tuning).

oleksii-leonov commented 6 months ago

@tindron @turboladen

oleksii-leonov commented 6 months ago

@tindron @turboladen

This one is ready to merge.

oleksii-leonov commented 6 months ago

Added:

oleksii-leonov commented 6 months ago

Added:

oleksii-leonov commented 6 months ago

@tindron @turboladen

This PR is ready (and we are already using this code in production).

There are a couple of utils left to add (GDALFootrptint, etc.) to fully cover all utils available via the GDAL C API. But I would prefer to do it in separate PRs. This PR is already quite big, and I will need to add newer versions of GDAL 3.7-3.9 to CI first (as some utils require GDAL 3.7-3.9).