[mapserver-users] How do I configure Mapfile to use image pyramids
Brent Fraser
bfraser at geoanalytic.com
Thu Aug 19 07:01:05 PDT 2010
Mike:
Two ways:
1. External Overview Pyramid
- see http://mapserver.org/input/raster.html#rasters-and-tile-indexing and
http://mapserver.org/input/raster.html#raster-display-performance-tips
- Make image pyramid levels with gdal_translate
- create tile indexes for each level of pyramid with gdaltindex
- add one LAYER entry in your map file for each level of your pyramid (and
carefully select a MIN/MAXSCALEDENOM for each)
or
2. Internal Overviews
- create a GDAL VRT file with gdalbuildvrt
- create image overviews with gdaladdo
- add only one LAYER to your map file referencing the VRT file (and let GDAL
figure out the pyramids)
I haven't tried the second approach but it sounds interesting.
Best Regards,
Brent Fraser
Mike Quentel wrote:
> I meant gdaladdo for the pyramids (of GeoTIFF).
>
>
>
> Mike Quentel
>
>
>
>
>
> *From:* mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Mike Quentel
> *Sent:* 18 August 2010 11:45
> *To:* MapServer Users
> *Subject:* [mapserver-users] How do I configure Mapfile to use image
> pyramids
>
>
>
> How do I configure the Mapfile to point to image pyramids? Does
> Mapserver automagically recognise pyramids? Do I simply generate my
> pyramids of GeoTIFF images using gdal_translate, then point to a tile
> index in the Mapfile?
>
>
>
> Sorry if this is the Nth time someone has asked this question, but
> oddly, it does not explicitly appear anywhere obvious on the web site,
> nor in the manual. If so, please point it out (eg: “you can find the
> information about using pyramids on page # of the manual, or at this
> link ____”). I have tried doing a search for the term “pyramid” in the
> manual; nothing returned. Wish there were a chapter subheading under
> Data Input-->Raster Data--> “Using Pyramids”.
>
>
>
> Many thanks.
>
>
>
> Mike Quentel
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list