[Gdal-dev] What are georeferenced coordinates?
Kent Eschenberg
eschenbe at psc.edu
Thu Jul 19 17:23:00 EDT 2007
Thanks! Here's the command and results:
======
$ gdal_translate -projwin -121 36 -113 31 ./R/relief.tif test.tif
Input file size is 25740, 17280
Computed -srcwin 11313 5194 0 0 from projected window.
-srcwin 11313 5194 0 0 falls outside raster size of 25740x17280
or is otherwise illegal
======
That should be an area covering southern California. I'm supplying the output
from gdalinfo as an attached file since it is long.
TIA!
kent
Ethan Alpert wrote:
>
> The output of gdalinfo on your source image file as well as your command
> line invocation of gdal_translate would be useful in determining your
> problem.
>
> -e
>
> -----Original Message-----
> From: gdal-dev-bounces at lists.maptools.org
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Kent
> Eschenberg
> Sent: Thursday, July 19, 2007 2:52 PM
> To: GDAL
> Subject: [Gdal-dev] What are georeferenced coordinates?
>
> What are georeferenced coordinates? I can't find a definition in any of
> the
> GDAL documents. I would guess they are longitude and latitude.
>
> I'm trying to use the "-projwin" option for gdal_translate with valid
> longitude
> and latitude. But this always fails saying they are outside the bounds
> of the
> input image. "-srcwin" works as expected.
>
> "gdal_translate --version" yields "GDAL 1.4.2.0, released 2007/06/27".
> I'm
> using a Redhat Fedora Core 5 system.
>
> TIA!
> Kent
>
-------------- next part --------------
Driver: GTiff/GeoTIFF
Size is 25740, 17280
Coordinate System is:
PROJCS["TIFF 6.0, GeoTIFF Revision 1.0",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.2572221010042,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4269"]],
PROJECTION["Lambert_Azimuthal_Equal_Area"],
PARAMETER["latitude_of_center",45],
PARAMETER["longitude_of_center",-100],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (-2262900.000000000000000,1038900.000000000000000)
Pixel Size = (200.000000000000000,-200.000000000000000)
Metadata:
AREA_OR_POINT=Point
TIFFTAG_IMAGEDESCRIPTION=USA Lower 48 elevation tints
TIFFTAG_SOFTWARE=Arc/Info
TIFFTAG_XRESOLUTION=0.0049999999
TIFFTAG_YRESOLUTION=0.0049999999
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Corner Coordinates:
Upper Left (-2262900.000, 1038900.000) (132d43'42.07"W, 50d 2'25.05"N)
Lower Left (-2262900.000,-2417100.000) (121d28'10.03"W, 20d35'58.80"N)
Upper Right ( 2885100.000, 1038900.000) ( 59d31'54.76"W, 47d31'42.21"N)
Lower Right ( 2885100.000,-2417100.000) ( 72d47'14.96"W, 19d 4'10.39"N)
Center ( 311100.000, -689100.000) ( 96d25'32.42"W, 38d43'59.57"N)
Band 1 Block=25740x1 Type=Byte, ColorInterp=Red
Band 2 Block=25740x1 Type=Byte, ColorInterp=Green
Band 3 Block=25740x1 Type=Byte, ColorInterp=Blue
More information about the Gdal-dev
mailing list