[Geotiff] cropping of a GeoTiff

John Mitchell mitchelljj98 at gmail.com
Mon Dec 11 06:45:30 PST 2006


Hi Matt,

Thanks for the suggestions.  I tried your suggestion below:
Cropping can be done interactively with OpenEV, see
http://yukongis.ca/bin/view
>
> /Main/ClipRasterWithoutArcInfo for an example.


I followed all your steps and it ran the translation but when I opened up
the translated file it still is the entire image not the cropped image that
I outlined.

John Mitchell

On 12/10/06, maphew (matt wilkie) <maphew at zworg.com> wrote:
>
> John Mitchell wrote:
> > Hi,
> >
> > I need the capability to be able to crop a GeoTiff based on either
> > rectangular coordinates or against a shape rectangular object.
>
>
> gdal_translate with the either the -srcwin  or -projwin parameters do
> the former. Srcwin uses pixel coordinates and projwin uses projection
> coordinates. I'm always getting the order of the coordinates mixed up so
> I wrote up this little helper (after asking the list for help...),
> "Clipping using projection coordinates":
> http://yukongis.ca/bin/view/Main/GDAL
>
> Croppign can be done interactively with OpenEV, see
> http://yukongis.ca/bin/view/Main/ClipRasterWithoutArcInfo for an example.
>
> cheers,
>
> -matt
>



-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotiff/attachments/20061211/4deae760/attachment.html>


More information about the Geotiff mailing list