<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I have a close functionality in Mirone but it was developed mainly
for grids, though it works also with images.<br>
With a grid/image loaded, load the polygon too. Next right-click on
the polygon line and select <br>
<br>
ROI Crop Tools -> Crop Image (or any of the other related
options)<br>
<br>
and it's done. One thing you may not like is that the resulting
image is not of the same size (extent) as the original. This is so
because I (don't remember anymore why) decided to save only the
extent corresponding to the BoundingBox of the polygon.<br>
<br>
Joaquim<br>
<br>
<blockquote
cite="mid:CAKvvP9gSq=sX2k4g_kTeLEKPG1M2FKMfUyuTpWSUFcGUXR+NFA@mail.gmail.com"
type="cite">
<div>Hi</div>
<div> </div>
<div>I have exacly the same problem. It is resampling to the
extent of the polygon instead of croping just the pixels inside
the polygon and using the pixel frame of the original image. How
can this be fixed?</div>
<div>Regards</div>
<div>Luis Lisboa</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>--------- ORIGINAL MESSAGE------------------------------</div>
<div>
<pre style="color:rgb(0,0,0);text-transform:none;line-height:normal;text-indent:0px;letter-spacing:normal;font-style:normal;font-variant:normal;font-weight:normal;word-spacing:0px;white-space:pre-wrap">Greetings
I have a raster image and a shapefile polygon and I wanted to crop the
raster for just to have valid pixels inside the polygon. I have used
crop_to_cutline but here is a problem:
It produces a raster map but pixels does not geographically match with
the original raster map. So, i produce a raster map but I'm not able to
compare with original image since there is a small displacement. How can
I obtain a raster map without this mismatch?
Thank you
Regards,
Antonio
GDAL version 1.9.1</pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>