Michal,<br><br>I am assuming that by collar you mean border.<br>WIth gdalwarp, you can set a nodata value using the -dstnodata option or set an alpha band using the -dstalpha option.<br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 2:36 AM, michal_drozdz <span dir="ltr">&lt;<a href="mailto:michufoc@wp.pl">michufoc@wp.pl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi! I have a beginers problem.<br>
<br>
How to crop collar from scanned map with GDAL?<br>
I have set of georeferenced topo maps and polygon layer with boundaries of<br>
each sheet. I used gdalwarp with -cutline and -cl parameters and it worked<br>
but as a result I got map with 0 value at the place of collars. So when I<br>
upload maps into QGIS I still have a problem with overlaping collars. How to<br>
remove it &quot;forever&quot;:)<br>
<br>
Thanks for replys!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Cropping-raster-by-vector-files-tp5271977p5271977.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Cropping-raster-by-vector-files-tp5271977p5271977.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>