[Mapserver-users] Tiled TIFFs - Error 4 - Problem Resolved

Robert A Carr racarr at fs.fed.us
Thu Jan 29 15:41:02 EST 2004




In December, 2000 I sent to the list a message describing problems I
experienced while implementing scale-dependent raster layers using image
tiles.  A few weeks ago, with a minor change in technique, and no change in
versions or executables, I was able to successfully create image catalogs
for each zoom level,  and had no problem displaying them in MapServer.
Unlikely as it seems,  the fix that worked for me was to change a line in
the arc/info grid procedure which directed the output of the 'gridimage'
command to the system directory I was using for the MapServer data sources.
Previously, the output was going to a GIS workspace,  and the images were
then moved to the MapServer directories using the Windows Explorer 'Move to
Folder' menu choice.  In both cases, 'gdaltindex' and 'shptree' were ran
against the tiffs after they had been moved to the final directory.

I'm not sure what  (if anything) the 'Move to Folder' operation might have
introduced  to the inner file names used by Windows, but abandoning its use
seems to have solved my problem.   I've created enough tiled layers with
the new procedure to believe the fix is real.

Dell Latitude 640
Windows 2000 Professional
MapServer version 4.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF SUPPORTS =PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLI ENT
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

---
Bob Carr
USDA Forest Service - Eastern Region
racarr at fs.fed.us           (414) 297-1057




More information about the mapserver-users mailing list