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

Ed McNierney ed at topozone.com
Thu Jan 29 13:29:40 PST 2004


Bob -

It is hard to imagine how the Move command would make a difference.
However, it is also possible (from your scenario) that for some reason
the ARC/INFO script was incorrectly creating those files when writing
them to a different location.  I'm not saying either scenario sounds
likely, but they're both consistent with the results!

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242  

-----Original Message-----
From: Robert A Carr [mailto:racarr at fs.fed.us] 
Sent: Thursday, January 29, 2004 3:41 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Tiled TIFFs - Error 4 - Problem Resolved





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

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list