https://bugzilla.novell.com/show_bug.cgi?id=876241 https://bugzilla.novell.com/show_bug.cgi?id=876241#c0 Summary: GDAL fails to recognize projection in GeoTIFF DEM files (disables DEM in QLandkarteGT) Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: opensuse-communityscreening@forge.provo.novell.com ReportedBy: pierre.baldensperger@numericable.fr QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 Until today, I was using QLandkarteGT 1.7.6 and GDAL 1.10.1 from the Application:Geo OBS repository. Since January or so, I had noticed that the DEM functionality in QLandkarteGT had ceased working (only in the OpenSuSE version and not in the Windows version). Today, after discussing the matter with QLandkarteGT author Oliver Eichler through the QLandkarteGT mailing list (see http://article.gmane.org/gmane.comp.gis.qlandkartegt.user/1486), we apparently narrowed this down to a failure to recognize (and conversely generate) projection information in GeoTIFFs with the "Application:Geo" version of GDAL (version 1.10.1, arch x86_64 at least). Note that I updated this package several times since January so it is not a recent issue. Just un-installing that version and recompiling the latest GDAL from source magically fixes the problem. According to Oliver Eichler, it may be due to some binary mismatch between GDAL and one of its support libraries, so a simple "compilation refresh" might resolve the whole issue, but we are not sure. Reproducible: Always Steps to Reproduce: 1. Generate a GeoTIFF DEM file from NASA SRTM data following the instructions on the QLandkarteGT wiki : http://sourceforge.net/apps/mediawiki/qlandkartegt/index.php?title=Use_SRTM_... 2. Run the resulting file through the "gdalinfo" utility : the projection information is missing. 3. Uninstall OBS GDAL and recompile latest GDAL (1.11.0) from source (straightforward : configure->make->install). 4. Regenerate (again) the same GeoTIFF DEM file with the newly compiled GDAL. 5. Run the new GeoTIFF file through the new "gdalinfo" utility : the projection information has reappeared. Actual Results: For GeoTIFF files created according to the instructions of the QLandkarteGT wiki (see "steps" above), the "gdalinfo" should explicitly report parameters of the Mercator projection used, but those are completely absent (no "PROJECTION" information is reported at all). Expected Results: On such GeoTIFF DEM files, the "gdalinfo" output should report something along the lines of : PROJECTION["Mercator_1SP"], PARAMETER["central_meridian",0], PARAMETER["scale_factor",1], PARAMETER["false_easting",0], PARAMETER["false_northing",0], This problem prevents QLandkarteGT (also from Application:Geo repository) from working properly with Digital Elevation Models. Adding DEMs to maps silently fails and no altitude information is ever available. Even DEM files that load perfectly on other platforms (e.g. Windows version of QLGT) fail to load. After compiling the latest QLandkarteGT version 1.7.6 from source against the newly compiled GDAL 1.11.0, the QLGT DEM functionality is restored and works perfectly (but any GeoTIFFS generated with the "faulty" GDAL must first be regenerated). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.