[Mapserver-users] grouping layer {Scanned}

Siki Zoltan siki at agt.bme.hu
Tue Mar 16 14:10:49 EST 2004


Hi,

On Tue, 16 Mar 2004, Heiko Kehlenbrink wrote:

> hi list,
> 
> i have a bunch of raster layer like the following:
> 
>  LAYER
>     NAME "5243"
>     GROUP "Ortho"
>     STATUS OFF
>     TYPE RASTER
>     TEMPLATE "ttt.html"
>     DATA "/srv/www/htdocs/world/data/16webbay/2995243.tif"
>     PROJECTION
>       "init=epsg:26915"
>     END
>   END
> 
>   LAYER
>     NAME "5244"
>     GROUP "Ortho"
>     STATUS OFF
>     TYPE RASTER
>     TEMPLATE "ttt.html"
>     DATA "/srv/www/htdocs/world/data/16webbay/2995244.tif"
>     PROJECTION
>       "init=epsg:26915"
>     END
>   END
> 
> 
> I hoped that i could select them all with the GROUP - Name but did not
> succseded.
> How must i define a layer which brings all Layers of one Group to view?
> 

Why did you give the same template for each layers?
I think you should add template name once in the WEB section.
Then you can refere to the GROUP name where you can the layer name.
It works for me.
You had better to use TILEINDEX for the orthophotos ...

Bye
Zoltan





More information about the mapserver-users mailing list