Image location inside its corner coordinates

Bruno Patini Furtado bpfurtado at GMAIL.COM
Wed Aug 9 10:59:19 EDT 2006


I have a DEM image of which below I've copied the gdalinfo output.

Driver: GTiff/GeoTIFF
Size is 1800, 1200
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.2572235630016,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]
Origin = (-48.000416,-24.000416)
Pixel Size = (0.00083333,-0.00083333)
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_SOFTWARE=IMAGINE TIFF Support
Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: etif.c $ $Revision: 1.10.1.9 $ $Date: 2003/11/13 19:25:49EST $
  TIFFTAG_XRESOLUTION=1
  TIFFTAG_YRESOLUTION=1
  TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Corner Coordinates:
Upper Left  ( -48.0004159, -24.0004163) ( 48d 0'1.50"W, 24d 0'1.50"S)
Lower Left  ( -48.0004159, -25.0004164) ( 48d 0'1.50"W, 25d 0'1.50"S)
Upper Right ( -46.5004159, -24.0004163) ( 46d30'1.50"W, 24d 0'1.50"S)
Lower Right ( -46.5004159, -25.0004164) ( 46d30'1.50"W, 25d 0'1.50"S)
Center      ( -47.2504159, -24.5004163) ( 47d15'1.50"W, 24d30'1.50"S)
Band 1 Block=1800x2 Type=UInt16, ColorInterp=Gray
  Overviews: 450x300, 225x150, 113x75, 57x38

I could take from it the EXTENT to use in my Mapfile using the Lower Left and
Upper Right coordinates. But the problem is that the image is to small
inside this coordinates and I can't find the image location inside then by
this output. Is there some other utility to get this coordinates?


-- 
"Minds are like parachutes, they work best when open."

Bruno Patini Furtado
Software Developer
webpage: http://bpfurtado.net
software development blog: http://bpfurtado.livejournal.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060809/225f414a/attachment.html


More information about the mapserver-users mailing list