You could create a polygon in qgis (or some automated way), find an
unused pixel value in the chart, and then use gdal_rasterize -i to burn
it into the collar area.  You can then use that as the transparency
value. <br><br><div class="gmail_quote">On Wed, Mar 18, 2009 at 3:32 PM, Chris h <span dir="ltr"><<a href="mailto:chris123@magma.ca">chris123@magma.ca</a>></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;">
<div class="im">On Wednesday 18 March 2009 16:07:18 MS wrote:<br>
> I realize this goes into other software on a qgis list, but I wonder<br>
> with GDAL or GRASS one can accomplish this.<br>
><br>
> It is really a raster clip that would work well, especially if the<br>
> next step is mosaic'ing the rasters.  Are these quad ma<br>
<br>
</div>The charts are NOAA BSB rasters.<br>
<br>
Posted the same questions to the grass list and the response was positive:<br>
------------------------------------------------<br>
>> WIth r.in.poly you could "digitize" the area of interest, then use<br>
>> r.mask to remove the outside area, then r.patch everything.<br>
>> With a small script you could generate the ASCII polygon file<br>
>> for r.in.poly based on the map extent.<br>
--------------------------------------------------<br>
<br>
Standalone gdal will not do it, especially if you want to automate the process<br>
and have concerns with the osmerander bug which in a marine charting<br>
environment could be rather interesting. The charts will in fact be tiled and<br>
made available via mapserver wms.<br>
<br>
The only issue for me is that I must learn each step with each application.<br>
Hence I went the easy route first to see what can be done with qgis.<br>
<br>
There is a very good new program out for creating tiles, <a href="http://maptiler.org" target="_blank">maptiler.org</a> and need<br>
to see and learn if the datum and projection can be changed. Its basically a<br>
front end to galtiler.<br>
<br>
Thanks for all the suggestions.<br>
<br>
<br>
--<br>
<font color="#888888">/ch<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></div></blockquote></div><br>