[gdal-dev] Raster masking/clipping with c++
Mateusz Loskot
mateusz at loskot.net
Thu Aug 1 04:56:42 PDT 2019
On Thu, 1 Aug 2019, 13:08 Ahmet Temiz, <ahmettemiz88 at gmail.com> wrote:
> Hi,
>
> How can I do raster masking / clipping with c++.
> I will appreciate for any guidance.
>
Read the code, how it's done in gdal_translate utility implementation (1)
which is also available as a library (2) or from Python API (3)
(1)
https://github.com/OSGeo/gdal/blob/master/gdal/apps/gdal_translate_lib.cpp
(2)
http://erouault.blogspot.com/2015/10/gdal-and-ogr-utilities-as-library.html
(3) https://gis.stackexchange.com/a/237412
--
Mateusz Loskot
(Sent from mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190801/f6da4e40/attachment.html>
More information about the gdal-dev
mailing list