Re: [gdal-dev] building geotransform with lower left and upper right coordinates

2012-02-13 Thread Brice Lambi
Hi Brian, Thanks for the help, you were correct that I just needed to inverse my dy value in the geotransform. Cheers, Brice On 02/13/2012 10:44 AM, Brian Case wrote: Brice, After some thought your image might not be bottom up. if thats the case calc the origin the way you did before, but

Re: [gdal-dev] building geotransform with lower left and upper right coordinates

2012-02-13 Thread Brian Case
Brice, After some thought your image might not be bottom up. if thats the case calc the origin the way you did before, but don't convert back to lat lon Brian On Mon, 2012-02-13 at 05:40 -0700, la...@ucar.edu wrote: > Hello, > > I have a raster where I know the projection and the lower left and

Re: [gdal-dev] building geotransform with lower left and upper right coordinates

2012-02-13 Thread Brian Case
Brice, with that projection the origin should be in meters. convert the ll to meters and try setting dy to dy * -1 Brian On Mon, 2012-02-13 at 05:40 -0700, la...@ucar.edu wrote: > Hello, > > I have a raster where I know the projection and the lower left and upper > right coordinates and pixel s

[gdal-dev] building geotransform with lower left and upper right coordinates

2012-02-13 Thread lambi
Hello, I have a raster where I know the projection and the lower left and upper right coordinates and pixel size but I don't know the upper left coordinate. It is a lambert conformal conic projection: "+proj=lcc +lon_0=95W +lat_0=25N +lat_1=25N" where the lower left is -113.1333, 16.3691 upper