[Gdal-dev] Warp / rotation

Ed McNierney ed at topozone.com
Tue Aug 19 13:10:09 EDT 2003

Dear Wizard -
The problem is that your "rectangle" isn't a rectangle!  You seem to be trying to reproject your image - can you describe the input and output projections you're using?  Those numbers make it look like your input data might be in UTM (but it could certainly be something else), but what is your desired output projection?
    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: Geographic Wizard [mailto:geowiz at shaw.ca]
Sent: Tuesday, August 19, 2003 12:58 PM
To: gdal-dev at remotesensing.org
Subject: [Gdal-dev] Warp / rotation

Hi, everybody
New to GDAL as well as using georeferenced raster images. I am trying to figure out how to do the following, and any help / insight would be greatly appreciated. I have put some numbers together as an example :
I have an image (tif/jpg/png) 5000 x 5000 that is georef with a world file
I would like to pull a sub image of this that is bound by a rectangle
 669273--------------------------- 670898
5862482--------------------------- 5862538
 669330--------------------------- 670956
I would like line # 1 of the sub-image to be along the top boundary of the rectangle, therefore it needs to be rotated by about 2 degrees cw.
Any help would be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20030819/6254f759/attachment.html

More information about the Gdal-dev mailing list