large scale image tiling

Stephen Lime steve.lime at dnr.state.mn.us
Wed Mar 7 10:33:42 EST 2001


That's a bunch of images. Biggest I've used is 1200 images that total
around 22Gb. What you want to do is feasible, no comment on performance
though. Depends on how many images, what type etc you'd see at once.
Any apps I've worked on seem to slow down too much if more than nine
(i.e. one tile plus surround 8) are in view.

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

That should do it.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Tom Kralidis" <tomkralidis at hotmail.com> 03/07/01 08:21AM >>>
Hi,

I have some ~40000 images, with corresponding world files.   The data totals 
~150MB.

I would like to make all images served online as a single layer.

I have checked ArcView's helpfiles on creating an image catalog, and found 
their imgcat.ave script.  However, this means loading each image into a 
view, then running the script.

Is a data product of this size feasible to create a layer for use in 
MapServer?

Can MapServer take the tile index as an ASCII text file, or only .dbf?  If 
yes, a simple Perl script should do it.

Information or examples are appreciated.

..Tom

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the mapserver-users mailing list