[gdal-dev] from projection coordinates to pixel coords
Ivan Lucena
ivan.lucena at outlook.com
Wed Jul 31 06:41:21 PDT 2019
Hi Ahmet,
I would suggest for your to look into the raster tutorial page and search for all the occurrences of "adfGeoTransform" and read the comments and code related to that.
https://gdal.org/tutorials/raster_api_tut.html
Another good source code to take a look is the gdal_translate_lib.cpp code where you can search for the same variable name and see how the parameters "-srcwin" and "-srcproj" are handled on that. That is what you need, right?
https://github.com/OSGeo/gdal/blob/master/gdal/apps/gdal_translate_lib.cpp
Of course you can also check the GDAL API documentation:
https://gdal.org/api/gdaldataset_cpp.html
Best regards,
Ivan
________________________________
From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> on behalf of Ahmet Temiz <ahmettemiz88 at gmail.com>
Sent: Wednesday, July 31, 2019 6:56 AM
To: gdal-dev <gdal-dev at lists.osgeo.org>
Subject: [gdal-dev] from projection coordinates to pixel coords
Hi,
How can we transform from projection coordinates to pixel coords with gdal c++ ?
regards
--
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem Dairesi Başkanlığı-CBS Grubu
________________________
Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190731/8fc0a1e3/attachment.html>
More information about the gdal-dev
mailing list