[QGIS-trac] Re: [Quantum GIS] #2444: Discrepancy between gdalinfo
and QGIS raster metadata
Quantum GIS
qgis at qgis.org
Mon Feb 15 07:03:15 EST 2010
#2444: Discrepancy between gdalinfo and QGIS raster metadata
-----------------------------------------------------+----------------------
Reporter: alobo | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.5.0
Component: Rasters | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Debian
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by mmassing):
Looking at the sample file you provided, I think the issue here is that
the generated .tif
is not north-up (i.e. the geotransform contains a non-zero rotational
component or, in this case, a positive scale factor for the y-axis).
Such coordinate systems are perfectly valid, but some software may not be
prepared to handle
this general case.
QGis handles this type of files by reprojecting them on the fly (using the
gdal VRT
mechanism). Other applications which do not explicitly support a
rotated/flipped coordinate
system may require you to warp the input file into a north-up orientation
(e.g. by using "gdalwarp test2.tif test2-nu.tif", or by wrapping it in an
appropriate
VRT file).
Manuel
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2444#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list