GetFeatureInfo on ESRI binary grid
Jim
jim at E-MASI.COM
Mon Sep 20 07:01:33 PDT 2004
For raster layers you need the file extension too.
DATA "E:\data\elevation.tif" or whatever it is.
-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