[mapserver-users] Indexing Shape files
Hankley, Chip
Chip.Hankley@GASAI.Com
Tue, 29 Oct 2002 10:58:44 -0600
Armando -
When you're using a TILEINDEX, you don't need a DATA line... the TILEINDEX
line IS the data line. Here's an example -
LAYER
NAME "LANDCOVER"
MAXSCALE 500000
MAXSCALE 500000
STATUS OFF
TILEINDEX "Raster\lc_tile"
TILEITEM "Location"
TYPE RASTER
OFFSITE 0
END
In this case, TILEINDEX is the path (relative to the mapfile's SHAPEPATH) to
the indexing shapefile, and TILEITEM is the field name in the index
shapefile that points to the individual tile data sources (in this case
images).
HTH.
Chip