[gdal-dev] Can't read get a spatial reference from Geotiffs exported from QGIS (c++ API)

Alan Snow alansnow21 at gmail.com
Wed Apr 22 05:59:12 PDT 2020


Hi Craig,

Providing to this information might give us more clues:

What version of GDAL are you using? What version of GDAL is QGIS using?
What operating system are you using?


On Wed, Apr 22, 2020, 7:35 AM Craig Delancy <
cdelancy at blackfangtechnologies.com> wrote:

> Hello.
>
>
>
> I am building an application around GDAL using the C++ API, but I have ran
> into a snag.
>
> Normally, after using GDAL Open on a Geotiff file, I am able to get a
> spatial reference containing all the information I need about the
> projection.
>
> However, when I try to get a spatial reference from a Geotiff that was
> specifically exported from QGIS, it is always NULL.
>
>
>
> Does anyone know why this is or have suggestions for me to look into?
>
> So far, the only files like this are specifically from QGIS, which is
> strange to me.
>
>
>
> Thank you.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200422/cdfda075/attachment.html>


More information about the gdal-dev mailing list