[mapserver-users] Display many Raster maps

Till Adams adams at terrestris.de
Thu Sep 25 00:36:45 PDT 2008


Clemens,

use gdaltindex to create a raster catalog for your rasters, this is a 
shapefile, in the example called "index.shp".
(need to install gdal-utils)

Then create a layer like this:

LAYER
  NAME 'luftbild'
  TYPE RASTER
  TILEINDEX '/path/to/index.shp'
  TILEITEM 'location'
  STATUS ON

  METADATA
    'WMS_SRS' 'epsg:[EPSG]'
    WMS_TITLE 'Rasters ..'
  END

  PROJECTION
    'init=epsg:[EPSG]'
  END

END

Reagrds, Till

> Dear List,
>
> I got a couple of Rater images (geoTIFF) and I wonder how I can get 
> them all into one mapserver application. It's actually a big map 
> composed of many tiles. The mapfile actually allowas only one 
> TIFF-file to display, or am I completely wrong?
>
> thanks,
> Clemens / TU Darmstadt
>
>
>

-- 
----------------------------------------------------------
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
adams at terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
---------------------------------------------------------

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams




More information about the MapServer-users mailing list