large scale image tiling

cinco cinco at xs4all.nl
Wed Apr 4 09:27:12 PDT 2001


Hi, i have a question about tiff photos
I read the answer Steve gave to tom (see below) but i am not quite sure howe to 
create such a layer. 
I made a polygon shapefile and put in the corresponding dbf file the imagepath 
and name of the tiff files. 
I also made the world files. 
My question is how to put all of this in the mapfile?
has anyone an example?
thanks in advance 
Cinco



-------------------------------------------------------------------------------
MapServer tile indexes are themselves shapefiles. You can use MapScript
to build that index. From within perl/python or whatever you'd:

  1) create a polygon shapefile

  2) create a corresponding dbf file with at least one item to hold image path 
and name

  3) for each world file

    - create a polygon object from the world file coordinates
    - write the polygon to the shapefile
    - write the location information to the dbf file

  4) close the files



More information about the MapServer-users mailing list