From: Norman V. <nh...@ca...> - 2008-06-24 19:44:47
|
Chung, James - AES writes: > > > This is the contents of my world file, obtained from TerraServer USA: > > 32.000000 > 0.000000 > 0.000000 > -32.000000 > 275200.000000 > 4332800.000000 Ah this is a UTM image but I have to guess at the zone > > Am I correct in thinking there's a problem with handling the UTM > coordinates? The TerraServer USA does not seem to give a grid > specification, but I guess the lat-long coordinates can be used to > deduce that. If I am correct, how do I get gdal_translate to > handle the > UTM coordinates correctly (e.g. how do I specify the grid)? > Seems like I > would use a different -a_srs argument -- I've tried -a_srs "+proj=utm > +zone=18S +datum=WGS84", but that puts the image in the Indian Ocean > rather than northern Virginia. > > Can you clue me in on what I'm doing wrong? Ah this image is for Virginia Try -a_srs EPSG:32618 Following from Proj4 epsg file # WGS 84 / UTM zone 18N <32618> +proj=utm +zone=18 +ellps=WGS84 +datum=WGS84 +units=m +no_defs no_defs <> Note ossimPlanet will work best with latlon images You can use orthoigen or gdalwarp to reproject an image HTH Norman |