<html>
<body>
<font size=3>Bart,<br><br>
You can do this operation using the freely distributed gis/rs software
called SPRING, which is available from INPE-Brasil. The SPRING link
is
<a href="http://www.dpi.inpe.br/spring/index.html" eudora="autourl">
http://www.dpi.inpe.br/spring/index.html</a><br>
You can load GeoTiff, Tiff w/ TFW, etc and shapefiles to SPRING.
There is a tool to do this under the Tools Menu. Also, INPE has
developed an open source GIS classes and functions library called
Terralib that may have the tool available. The link to Terralib is
<a href="http://www.terralib.org/" eudora="autourl">
http://www.terralib.org/<br><br>
</a>Hope it helps. Reinaldo <br><br>
At 06:35 PM 6/23/2005, you wrote:<br>
<blockquote type=cite class=cite cite="">Quoting Bart van den Eijnden
<BEN@Syncera-ITSolutions.NL>:<br><br>
<blockquote type=cite class=cite cite="">Hi list,<br><br>
is it possible using GDAL to clip a raster using a polygon from eg a
shapefile and have all the rest turn into NODATA values? If it is
possible, how does it work?<br><br>
Thanks in advance.<br><br>
Best regards,<br>
Bart</blockquote><br>
Bart,<br>
I don't know if there is a programaticaly way of doing it with gdal.<br>
However, you can do it with my "Mirone" program.<br>
Mirone doesn't know about shape files, but you can import simple
ascii<br>
files. If they are closed you are ofered the possibility to "Crop
grid"<br>
and to specify the outside polygon value (the NodataValue)<br><br>
See<br>
w3.ualg.pt/~jluis/mirone<br>
but try instead (if you want, off course) the more updated versions
at<br>
<a href="ftp://ftp.ualg.pt/users/jluis/m_gmt/tmp" eudora="autourl">
ftp.ualg.pt/users/jluis/m_gmt/tmp</a><br><br>
_______________________________________________<br>
Gdal-dev mailing list<br>
Gdal-dev@xserve.flids.com<br>
<a href="http://xserve.flids.com/mailman/listinfo/gdal-dev" eudora="autourl">
http://xserve.flids.com/mailman/listinfo/gdal-dev</a></blockquote>
<x-sigsep><p></x-sigsep>
Reinaldo Escada Chohfi, Ph.D.<br>
Diretor <br>
GeoDesign Internacional<br><br>
<u><a href="http://www.geodesign.com.br/" eudora="autourl">
www.geodesign.com.br<br><br>
</a></u>E-mail: rec@geodesign.com.br<br><br>
Tel./Fax: 0-XX-12-3153-5115 (Local)<br>
55-12-3153-5115 (Intl.)<br><br>
Inteligência e Tecnologia Espacial de Ponta<br><br>
Urbanismo, Estudos Ambientais, Monitoriamento Ambiental,<br>
Geoprocessamento, GIS, Processamento de Imagens Geográficas,<br>
Sensoriamento Remoto: Imagens de Satélites <br><br>
Compressão de Imagens e Documentos Escanerizados<br>
Servidor de Conteúdo - Integração de Sistemas<br><br>
Revendedor Autorizado da LizardTech no Brasil<br><br>
Vila Peralta, 42<br>
12607-040 - Lorena - SP - Brasil<br><br>
Informação confidencial. Não retransmitir sem autorização.<br>
Copyright (c) 2005 GeoDesign Internacional<br>
Todos os direitos reservados.<br>
</font></body>
</html>