Error while exporting Polygons from Monteverdi
Mantis Issue 155, reported by sdinot, assigned to mgrizonnet, created: 2010-05-07
Regarding this I decided to pick a Landsat Stack of images and test it... 1- gldainfo file.tif Files: /mnt/GIS/L_pt_jun00_n.tif Size is 7662, 7109 Coordinate System is: LOCAL_CS[" Geocoding information not available Projection Name = ETRS_1989_Transverse_Mercator Units = meters Geo", UNIT["unknown",1]] Origin = (-52163.169232331842068,23020.214927441673353) Pixel Size = (30.000000000000000,-30.000000000000000) Metadata: TIFFTAG_SOFTWARE=IMAGINE TIFF Support Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved @(#)$RCSfile: etif.c $ $Revision: 1.10.1.9.1.9.2.11 $ $Date: 2004/09/15 18:42:01EDT $ TIFFTAG_XRESOLUTION=1 TIFFTAG_YRESOLUTION=1 TIFFTAG_RESOLUTIONUNIT=1 (unitless) AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left ( -52163.169, 23020.215) Lower Left ( -52163.169, -190249.785) Upper Right ( 177696.831, 23020.215) Lower Right ( 177696.831, -190249.785) Center ( 62766.831, -83614.785) Band 1 Block=64x64 Type=Byte, ColorInterp=Red Band 2 Block=64x64 Type=Byte, ColorInterp=Green Band 3 Block=64x64 Type=Byte, ColorInterp=Blue Band 4 Block=64x64 Type=Byte, ColorInterp=Undefined Band 5 Block=64x64 Type=Byte, ColorInterp=Undefined Band 6 Block=64x64 Type=Byte, ColorInterp=Undefined
2- Created visible and big polygons in MONTEVERDI (monteverdi00.png)
3- Open in QGIS and the polygons are placed in the wrong places Is this also a problem related with Geotiff file?
1273219135 - christopthe tifftag give a resolution of 1 and we probably interpret it in the same unit as the coordinates (i.e. meters). We should recompute the spacing from the corner coordinates I guess.
1273808510 - christopSee http://bugs.orfeo-toolbox.org/view.php?id=162
1277282495 - aurelienThe bug is, in this case, due to the use of image coordinates to describe polygons instead of using the image geographic coordinates. The same thing occurs with the "Import Vector Data (ROI)" feature. Both of those features have to be fixed simultaneously.
1477056717 - grizonnetmrelated to old version of monteverdi (not maintained anymore)