hi,
if i try to take an information with [I] button on a vector layer when a
background raster WMS layer is visibile a MAPSERVER error appears inside the
php log file:
[12-Oct-2006 15:46:50] PHP Warning: [MapServer Error]:
msBuildWMSLayerURL(): WMS Connection String must contain the QUERY_LAYERS
parameter to support GetFeatureInfo requests (with name in uppercase).
in C:\myserver\pmapper\incphp\query\squery.php on line 336
and the info window don't show information.
The WMS raster layer definition inside mapfile is:
LAYER
NAME "cr25000"
CONNECTION "http://my-wms-server/wms.asp?"
CONNECTIONTYPE WMS
MAXSCALE 50000
STATUS ON
TYPE RASTER
PROJECTION
"init=epsg:26591"
END
METADATA
"wms_srs" "EPSG:26591"
"wms_name" "cr25000"
"wms_server_version" "1.1.1"
"wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp"
"wms_format" "image/png"
END
END
If i change the WMS Connection String with:
CONNECTION "http://my-wms-server/wms.asp?QUERY_LAYERS=CR25000"
the error don't appears in the php log file but the info window is empty for
vector layer.
thanks for any suggestion
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL:
http://faunalia.it/pipermail/pmapper-users/attachments/20061012/6584399e/attachment.htm