[gdal-dev] Cropping raster by vector files

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Jul 9 02:06:12 EDT 2010


Michal,

I am assuming that by collar you mean border.
WIth gdalwarp, you can set a nodata value using the -dstnodata option or set
an alpha band using the -dstalpha option.

On Fri, Jul 9, 2010 at 2:36 AM, michal_drozdz <michufoc at wp.pl> wrote:

>
> Hi! I have a beginers problem.
>
> How to crop collar from scanned map with GDAL?
> I have set of georeferenced topo maps and polygon layer with boundaries of
> each sheet. I used gdalwarp with -cutline and -cl parameters and it worked
> but as a result I got map with 0 value at the place of collars. So when I
> upload maps into QGIS I still have a problem with overlaping collars. How
> to
> remove it "forever":)
>
> Thanks for replys!
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Cropping-raster-by-vector-files-tp5271977p5271977.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100709/e8ec60a4/attachment-0001.html


More information about the gdal-dev mailing list