<div dir="ltr"><div>Jukka,  thank you for the reminder on -t_srs, I had forgotten about that. It makes sense if using the shapefile index to build that in the srs you plan to output. Now that I have been reminded of that feature of gdaltindex I can see that would be faster than parsing a large vrt file.<br>
</div>Thanks.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 1:14 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le vendredi 27 juin 2014 22:01:37, Rahkonen Jukka (Tike) a écrit :<br>
<div class="">> Hi,<br>
><br>
> Use gdaltindex with -t_srs <a href="http://www.gdal.org/gdaltindex.html" target="_blank">http://www.gdal.org/gdaltindex.html</a> and all your<br>
> troubles are solved.<br>
<br>
</div>Jukka's advice is good, make sure to use MapServer 6.4 for mixed SRS support.<br>
You'll likely have to use -t_srs EPSG:4326 to have a SRS that is compatible<br>
with 9 UTM zones (or any other global SRS).<br>
<br>
There's no spatial index mechanism within VRT files. If the number of files in a<br>
VRT is reasonnably small (let's say < 100), the performance should still be OK<br>
hopefully.<br>
<br>
><br>
> Jukka Rahkonen<br>
><br>
> ________________________________<br>
> Lähettäjä: Mark Korver<mailto:<a href="mailto:mwkorver@gmail.com">mwkorver@gmail.com</a>><br>
<div class="">> Lähetetty: ‎27.‎6.‎2014 21:57<br>
</div>> Vastaanottaja: mapserver-users<mailto:<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br>
<div class="HOEnZb"><div class="h5">> Aihe: [mapserver-users] large # of GeoTiffs mapfile/index strategy<br>
><br>
> Hi Experts,<br>
> I need a little advice on how to do lots of aerial image GeoTiffs quickly.<br>
> I have a large region with many GeoTiffs covering 9 UTM zones. Typically I<br>
> would put together a map file with layers per utm zone and use shapefile<br>
> index to point at the GeoTiffs. I know that declaring the extent per layer<br>
> is important when you have a lot of layers. The GeoTiffs are RGB,<br>
> internally tiled, and jpeg compressed. They are also about 20-30MB in<br>
> size.<br>
><br>
> My question is, has anyone done any testing between doing this via<br>
> shapefile index vs GDAL .vrt files? Which would perform faster? My current<br>
> setup is using Mapserver behind nginx in fastcgi mode.<br>
> Thanks for any help on this.<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Geospatial professional services<br>
<a href="http://even.rouault.free.fr/services.html" target="_blank">http://even.rouault.free.fr/services.html</a><br>
</font></span></blockquote></div><br></div>