[gdal-dev] Can't read get a spatial reference from Geotiffs exported from QGIS (c++ API)
Even Rouault
even.rouault at spatialys.com
Wed Apr 22 10:27:29 PDT 2020
On mercredi 22 avril 2020 14:58:15 CEST Craig Delancy wrote:
> Here is a link to the test file:
> I cannot find any other file created during the export process.
>
> This is the full report I receive from GDALInfo:
OK, your gdalinfo output indeed lacks the CRS. But I do get it on my installation with your
file:
PROJCRS["ETRS89 / UTM zone 30N",
BASEGEOGCRS["ETRS89",
DATUM["European Terrestrial Reference System 1989",
ELLIPSOID["GRS 1980",6378137,298.257222101,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4258]],
CONVERSION["UTM zone 30N",
METHOD["Transverse Mercator",
ID["EPSG",9807]],
PARAMETER["Latitude of natural origin",0,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8801]],
PARAMETER["Longitude of natural origin",-3,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8802]],
PARAMETER["Scale factor at natural origin",0.9996,
SCALEUNIT["unity",1],
ID["EPSG",8805]],
PARAMETER["False easting",500000,
LENGTHUNIT["metre",1],
ID["EPSG",8806]],
PARAMETER["False northing",0,
LENGTHUNIT["metre",1],
ID["EPSG",8807]]],
CS[Cartesian,2],
AXIS["(E)",east,
ORDER[1],
LENGTHUNIT["metre",1]],
AXIS["(N)",north,
ORDER[2],
LENGTHUNIT["metre",1]],
USAGE[
SCOPE["unknown"],
AREA["Europe - 6°W to 0°W and ETRS89 by country"],
BBOX[35.26,-6,80.53,0]],
ID["EPSG",25830]]
I'm wondering if it is not something with your installation. Perhaps PROJ_LIB not pointing to
the PROJ resource directory.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200422/1308471b/attachment.html>
More information about the gdal-dev
mailing list