[mapserver-users] Indexing Shape files
Hankley, Chip
Chip.Hankley at gasai.com
Tue Oct 29 08:58:44 PST 2002
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
More information about the MapServer-users
mailing list