"DESCRIPTION" "PAI Bacini idrografici"
>>"wms_name" "0"
>>"wms_server_version" "1.1.1"
>> "wms_srs" "EPSG:32633"
>>"wms_format&quo
version" "1.1.1"
> "wms_srs" "EPSG:32633"
> "wms_format" "image/png"
> "wms_style" "default"
> "wms_feature_info_mime_type" "text/plain&qu
_feature_info_mime_type" "text/plain"
"RESULT_FIELDS" "CODICE,NOME"
"RESULT_HEADERS" "Codice, Nome"
"wms_title" "Bacini Idrografici"
END
TRANSPARENCY 100
PROJ
as already mentioned, you should not need to change the code if you add
"wms_name", but I guess you should just have 1 METADATA block, and not 2...
p.mapper only parses plain text output for features (you get XML
output). I don't know exactly how to tell Mapserver to request the
featureInfo as
Hi Armin, thanks so much!
i modified squeryas below and it runs
function dumpWMSQueryResults()
{
- - - -
$this->qLayer->set("connection", $this->qLayer->connection);
- - - -
and i have this file pm_debug.log
[01-Feb-2011 21:03:22] P.MAPPER debug info
dumpWMSQueryResu
Sandro
checking the code for the query of WMS
...
$query_layers = $this->qLayer->getMetadata("wms_name");
$this->qLayer->set("connection", $this->qLayer->connection .
"QUERY_LAYERS=" . $query_layers);
...
it looks for the METADATA tag "wms_name" defined for your layer. If it
does not exist