List Info

Thread: RE: Geotiff problem with "small" images???




RE: Geotiff problem with "small" images???
user name
2008-07-23 13:20:46
Duncan,
both images in ArcMap located at the same upper-left corner and rotated
around it about 45 degrees clockwise:
Is it location you are expecting? Looks fine for me.
Did mention that both images have 0 resolution:

Image width=1360, length=1024 (1392640 pixels)
resolution: 0.00/0.00 pixels/inch
scan line size =4080
bits/sample =8
photometric ;RGB color model
samples/pixel =3
compression JPEG DCT compression
 
Somebody on dev list might give you more insights.
 
Happy programming!
Gennady
 

From: Duncan Mercer [mailto:d.merceracfr.usyd.edu.au]
Sent: Tuesday, July 22, 2008 4:51 PM
To: geotifflists.maptools.org
Subject: [Geotiff] Geotiff problem with "small" images???

Hi

I'm new to the world of geotiff and I'm running
into a problem when generating small area coverage
geotiffs

I'm collecting images using a robotic submarine (an AUV)
and want to use geotiff to locate these images for use in a
GIS etc. Typical footprint for the images is 1m x 1.5m

If I write the geotiff tags using the correct size then the
image appears badly distorted when viewed in openev and
in arcgis. If however I keep everything else the same and
pretend that the image is 1Km x 1.5Km the image will appear
undistorted.

Has anyone come across this issue before, is there some fundamental
lower limit on the image size that I've not picked up on? Or can someone
tell me how to search the mailing list archives for similar issues?

Example images are available at.
http://www-personal.acfr.usyd.edu.au/d.mercer/geotiff
Large image appears ok, but oversized. Small image is distorted
(at least in openev. I haven't been able to check this one in arcgis
but I have seen the issue with other images I have generated in the past)




FYI.
I am using libgeotiff and writing the following geotags...

  TIFFSetField(tif_ptr, TIFFTAG_GEOTRANSMATRIX, 16, position.transform);

  GTIFKeySet(gtif_ptr, GTModelTypeGeoKey, TYPE_SHORT, 1, ModelTypeProjected);
  GTIFKeySet(gtif_ptr, GTRasterTypeGeoKey, TYPE_SHORT, 1, RasterPixelIsArea);
 
 ; GTIFKeySet(gtif_ptr, ProjectedCSTypeGeoKey, TYPE_SHORT, 1, utm_zone);
  GTIFKeySet(gtif_ptr, PCSCitationGeoKey, TYPE_ASCII, PCS_Zone.str().length(), PCS_Zone.str().c_str());


Any help or suggestions gratefully received.
Best regards
Duncan


--
Dr Duncan Mercer
Australian Centre for Field Robotics
The Rose Street Building, J04
The University of Sydney.
2006 NSW, Australia
Tel: +61 (0) 2 9036 7178
Fax: +61 (0) 2 9351 7474
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )