[mapserver-users] large # of GeoTiffs mapfile/index strategy

Mark Korver mwkorver at gmail.com
Fri Jun 27 17:27:34 PDT 2014


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.
Thanks.


On Fri, Jun 27, 2014 at 1:14 PM, Even Rouault <even.rouault at mines-paris.org>
wrote:

> Le vendredi 27 juin 2014 22:01:37, Rahkonen Jukka (Tike) a écrit :
> > Hi,
> >
> > Use gdaltindex with -t_srs http://www.gdal.org/gdaltindex.html and all
> your
> > troubles are solved.
>
> Jukka's advice is good, make sure to use MapServer 6.4 for mixed SRS
> support.
> You'll likely have to use -t_srs EPSG:4326 to have a SRS that is compatible
> with 9 UTM zones (or any other global SRS).
>
> There's no spatial index mechanism within VRT files. If the number of
> files in a
> VRT is reasonnably small (let's say < 100), the performance should still
> be OK
> hopefully.
>
> >
> > Jukka Rahkonen
> >
> > ________________________________
> > Lähettäjä: Mark Korver<mailto:mwkorver at gmail.com>
> > Lähetetty: ‎27.‎6.‎2014 21:57
> > Vastaanottaja: mapserver-users<mailto:mapserver-users at lists.osgeo.org>
> > Aihe: [mapserver-users] large # of GeoTiffs mapfile/index strategy
> >
> > Hi Experts,
> > I need a little advice on how to do lots of aerial image GeoTiffs
> quickly.
> > I have a large region with many GeoTiffs covering 9 UTM zones. Typically
> I
> > would put together a map file with layers per utm zone and use shapefile
> > index to point at the GeoTiffs. I know that declaring the extent per
> layer
> > is important when you have a lot of layers. The GeoTiffs are RGB,
> > internally tiled, and jpeg compressed. They are also about 20-30MB in
> > size.
> >
> > My question is, has anyone done any testing between doing this via
> > shapefile index vs GDAL .vrt files? Which would perform faster? My
> current
> > setup is using Mapserver behind nginx in fastcgi mode.
> > Thanks for any help on this.
>
> --
> Geospatial professional services
> http://even.rouault.free.fr/services.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140627/77080035/attachment.html>


More information about the mapserver-users mailing list