And if you wanted to skip mapnik, you can also have tilecache just read a GDAL layer directly with it's GDAL driver ... eg <div><br></div><div><span class="Apple-style-span" style="font-family: courier; font-size: 14px; color: rgb(68, 67, 64); ">[mylayer]<br>
type=GDAL<br>file=/tmp/myimage.tif_or.vrt<br>spherical_mercator=true<br>tms_type=google<br>metatile=yes</span></div><div><br></div><div>As noted before, you need to have your images already transformed to the appropriate projection for your tiles.</div>
<div><br></div><div> -Josh</div><div>
<br><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 8:50 AM, Dane Springmeyer <span dir="ltr"><<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If you can either merge all your tiffs into one large file using<br>
gdal_merge.py or you can use Gdal to build a VRT file and point a<br>
single Mapnik layer at that VRT:<br>
<br>
<a href="http://www.gdal.org/gdalbuildvrt.html" target="_blank">http://www.gdal.org/gdalbuildvrt.html</a><br>
<font color="#888888"><br>
Dane<br>
</font><div><div></div><div class="h5"><br>
<br>
On Nov 2, 2009, at 8:33 AM, Tyler Durden wrote:<br>
<br>
> Thanks for the tip.<br>
> One question, the example on the page is for one tiff, how can I<br>
> accomplish with multiple tiffs?<br>
> I've got to add one by one?<br>
> Right now I have the TIFF files with one .tfw file with metadata, I've<br>
> got to add all of them?<br>
><br>
> Thanks<br>
><br>
> On Mon, Nov 2, 2009 at 4:25 PM, Dane Springmeyer<br>
> <<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>> wrote:<br>
>> Use the Mapnik GDAL driver and a RasterSymbolizer:<br>
>> <a href="http://trac.mapnik.org/wiki/RasterSymbolizer" target="_blank">http://trac.mapnik.org/wiki/RasterSymbolizer</a><br>
>><br>
>> However, be aware that Mapnik does not support reprojection of<br>
>> Rasters, so<br>
>> you'll need to use gdalwarp to project them into your target<br>
>> projection<br>
>> first.<br>
>><br>
>> If you need complex stylization of the rasters or on-the-fly<br>
>> reprojection<br>
>> I'd recommend MapServer.<br>
>><br>
>> Dane<br>
>><br>
>> On Nov 2, 2009, at 7:58 AM, Tyler Durden wrote:<br>
>><br>
>>> Hi all,<br>
>>> Right now I'm using TileCache + Mapnik for my vector data.<br>
>>> But now, I have various orthos in ECW or TIFF format that I want to<br>
>>> make tiles and serve with TileCache.<br>
>>> I'm kind of lost how I accomplish this.<br>
>>> Someone can point me directions?<br>
>>><br>
>>> Thanks<br>
>>> _______________________________________________<br>
>>> Tilecache mailing list<br>
>>> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
>>> <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
>><br>
>><br>
> _______________________________________________<br>
> Tilecache mailing list<br>
> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
<br>
_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
</div></div></blockquote></div><br></div>