GetFeatureInfo on ESRI binary grid
Jim
jim at E-MASI.COM
Mon Sep 20 07:33:59 PDT 2004
ok I guess I didnt understand what kind of file you were using. Your right,
you can provide the directory or a filename.
Did you read this document?
http://www.remotesensing.org/gdal/frmt_various.html#AIG
Jim Burnett
Visual Basic GIS Project Leader
http://www.visualbasicgis.com/
http://www.gisforums.com/
----- Original Message -----
From: "Frans Knibbe" <frans at geodan.nl>
To: "Jim" <jim at e-masi.com>
Cc: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Monday, September 20, 2004 10:22 AM
Subject: Re: [UMN_MAPSERVER-USERS] GetFeatureInfo on ESRI binary grid
> Jim wrote:
>
> >For raster layers you need the file extension too.
> >DATA "E:\data\elevation.tif" or whatever it is.
> >
> >
> Are you sure? An ArcInfo grid is not a single file, but a directory
> containing several files. I have just tried using a filename
> (E:\data\elevation\w001001.adf), but I got the same results: GetMap
> works, but GetFeatureInfo doesn't. If I should use a filename in stead
> of the directoryname, which of the files should I use?
>
> >-jim
> >
> >Jim Burnett
> >Visual Basic GIS Project Leader
> >http://www.visualbasicgis.com/
> >http://www.gisforums.com/
> >
> >
> >----- Original Message -----
> >From: "Frans Knibbe" <frans at GEODAN.NL>
> >To: <MAPSERVER-USERS at LISTS.UMN.EDU>
> >Sent: Monday, September 20, 2004 9:11 AM
> >Subject: [UMN_MAPSERVER-USERS] GetFeatureInfo on ESRI binary grid
> >
> >
> >
> >
> >>Hello people,
> >>
> >>I am using mapserver 4.2.3 with GDAL and I have a problem. Maybe someone
> >>can help? I am trying to get the GetFeatureInfo request to work on an
> >>ArcInfo grid. The grid displays well. Here is a part of the map file in
> >>its current shape:
> >>
> >> LAYER
> >> NAME "elevation"
> >> DATA "E:\data\elevation"
> >> TYPE RASTER
> >> END
> >>
> >> LAYER
> >> STATUS ON
> >> NAME "elevation_query"
> >> DATA "E:\data\elevation"
> >> TYPE QUERY
> >> DUMP TRUE
> >> TEMPLATE template.htm
> >> END
> >>
> >>As you can see, I have defined two layers, one for display and one for
> >>query. This is because I could not get the "type raster" layer to become
> >>queryable. When I request the capabilities, the second layer is reported
> >>to be queryable, but the first not. However, a getFeatureInfo request
> >>results in the following error:
> >>
> >><ServiceException>
> >> msSHPOpenFile(): Unable to access file. (E:\data\elevation)
> >> msSHPOpenFile(): Unable to access file. (E:\data\elevation)
> >> </ServiceException>
> >>
> >>Is there something I am obviously doing wrong? Is there another raster
> >>format that might work better?
> >>
> >>Thanks in advance,
> >>
> >>Frans
> >>
> >>
> >
> >
> >
> >
>
More information about the MapServer-users
mailing list