[Geotiff] cropping of a GeoTiff

John Mitchell mitchelljj98 at gmail.com
Mon Dec 11 08:18:52 PST 2006


Matt,

I was able to successfully crop a raster image using your gdal_translate
suggestion:
"Clipping using projection coordinates":
http://yukongis.ca/bin/view/Main/GDAL

I still curious what I did wrong when trying to do the same thing using
OpenEV.

John Mitchell




On 12/11/06, John Mitchell <mitchelljj98 at gmail.com> wrote:
>
> 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




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


More information about the Geotiff mailing list