[Mapserver-users] Display ADF grid format through MapServer
mszpak at wp.pl
Wed May 5 11:34:34 EDT 2004
Dnia 2004-04-26 22:34, U¿ytkownik Marcin Zaj±czkowski napisa³:
> I try to display raster map stored in ArcView grid format (ADF). I
> Maybe somebody could point me place with some sample map file (to work
> with grid) or send me one?
After many tests I did it. Below info for people with similar problem.
In my case the problem was with SHAPEPATH in map file. Assigned value
'coused that mapserver looked for raster files in directory for shape
Below some minimal file which works for me.
#some Your extent
EXTENT 3745019.024215 5475485.177366 3753882.753967 5495002.010907
SIZE 400 300
IMAGECOLOR 255 255 255
LAYER # raster layer
DATA "dem" #directory with grid
My files structure:
[szpak at szpak my2]$ ls
[szpak at szpak my2]$ ls dem
dblbnd.adf hdr.adf log prj.adf sta.adf vat.adf w001001.adf
[szpak at szpak my2]$ ls info
arc0003.dat arc0004.dat arc0005.dat arc0005r.001
arc0003.nit arc0004.nit arc0005.nit arc.dir
I the problem still exists, this (probably) means that it isn't problem
with map file. I suggest to read Raster Tutorial (which describe how to
check what format does MapServer actually support).
Hope that it helps someone
More information about the mapserver-users