Thank you so much Sebastian, I was trying to display that layer. Actually now 
the query works well also without template void, and that is really strange 
because last time I tried without it and it was not working... anyway, the only 
thing that I have changed is to add "&" at the end of the url (after 'map').

Thank you so much,

Luana

ps: I'm using the last version of p.mapper (4.0.0)

> Date: Fri, 28 May 2010 10:58:31 +0200
> From: Luana Valentini <luanavalent...@hotmail.it>
> Subject: [pmapper-users] disable wms 'identify'
> To: <pmapper-users@lists.sourceforge.net>
> Message-ID: <blu142-w184553b973624901292573ae...@phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> Hi,
> 
> I have a problem with my p.mapper webgis and I don't know how to solve. In my 
> map I have some WMS layers provided by the Environmental Ministry 
> (http://www.pcn.minambiente.it/PCNDYN/catalogowms.jsp?lan=it) and a shapefile 
> layer. 
> My problem is that if I use the 'identify' tool when a WMS layer is turned on 
> on the 'sapefile' layer I cannot obtain the attribute table, while if I turn 
> off the WMS the query result table is perfectly displayed. My question is: is 
> it possible to disable the query on WMS layers?
> In another case, with different WMS layers, it was sufficient to put the 
> string TEMPLATE "void" in the layer, but this time it doesn't work.
> 
> Thank you in advance.
> 
> Luana
> 
>                                         
> _________________________________________________________________
> Spazio gratis di 25 Gigabyte per archiviare ci? che vuoi
> http://www.windowslive.it/skyDrive.aspx
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 28 May 2010 13:09:49 +0200
> From: Niccolo Rigacci <nicc...@rigacci.org>
> Subject: Re: [pmapper-users] disable wms 'identify'
> To: Luana Valentini <luanavalent...@hotmail.it>
> Cc: pmapper-users@lists.sourceforge.net
> Message-ID: <20100528110949.ga31...@rigacci.org>
> Content-Type: text/plain; charset=us-ascii
> 
> On Fri, May 28, 2010 at 10:58:31AM +0200, Luana Valentini wrote:
> > 
> > In another case, with different WMS layers, it was sufficient 
> > to put the string TEMPLATE "void" in the layer, but this time 
> > it doesn't work.
> 
> If I remember well, putting TEMPLATE "void" means that the layer 
> is queryable, so try to remove it from the WMS.
> 
> -- 
> Niccolo Rigacci
> Firenze - Italy
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 28 May 2010 14:24:12 +0200
> From: "Sebastian Schweizer" <sebast...@aquaterra.it>
> Subject: Re: [pmapper-users] [english 99%] Re:  disable wms 'identify'
> To: <pmapper-users@lists.sourceforge.net>
> Message-ID: <52624a4a65b8431e8cb237635811a...@schweizer>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>       reply-type=original
> 
> Hi Valentina,
> I confirm what you say (I had the same problem): the instruction 'void' for 
> the template has to be set in order to solve your problem.
> Here is the piece of code I used:
> 
> 
> ########Layer WMS#######
> 
> LAYER
>   NAME "ortofoto_colore_06_f32"
>   TYPE RASTER
>   STATUS OFF
>   CONNECTION 
> "http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/ortofoto_colore_06_f32.map&";
>   CONNECTIONTYPE WMS
>   TEMPLATE Void
> #  PROJECTION
> #    "init=epsg:32632"
> #    "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs  no_defs"
> #  END
>   METADATA
>     "DESCRIPTION"         "ORTOFOTO"
>     "wms_srs"             "EPSG:32632"
>     "wms_name"            "ortofoto_colore_06_f32"
>     "wms_style"           ""
>     "wms_server_version"  "1.1.1"
>     "wms_format"          "image/png"
>     "ows_title"           "ortofoto_colore_06_f32"
>   END
> END
> 
> ########
> 
> 
> =================
> 
> Sebastian Schweizer
> Via D. M. Manni, 84r
> 50135 - Firenze
> Italy
> Cell. +393398979963
> Tel. +390556120806
> sebast...@aquaterra.it
> www.aquaterra.it
> 
> 
> 
> 
> --------------------------------------------------
> From: "Niccolo Rigacci" <nicc...@rigacci.org>
> Sent: Friday, May 28, 2010 1:09 PM
> To: "Luana Valentini" <luanavalent...@hotmail.it>
> Cc: <pmapper-users@lists.sourceforge.net>
> Subject: [english 99%] Re: [pmapper-users] disable wms 'identify'
> 
> > On Fri, May 28, 2010 at 10:58:31AM +0200, Luana Valentini wrote:
> >>
> >> In another case, with different WMS layers, it was sufficient
> >> to put the string TEMPLATE "void" in the layer, but this time
> >> it doesn't work.
> >
> > If I remember well, putting TEMPLATE "void" means that the layer
> > is queryable, so try to remove it from the WMS.
> >
> > -- 
> > Niccolo Rigacci
> > Firenze - Italy
> >
> > ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> > 
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Fri, 28 May 2010 19:33:21 +0200
> From: Armin Burger <armin.bur...@gmail.com>
> Subject: Re: [pmapper-users] [english 99%] Re:  disable wms 'identify'
> To: pmapper-users@lists.sourceforge.net
> Message-ID: <4bfffe61.1060...@gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> The value "void" has no effect at all. You could as well write
>    TEMPLATE "pippo"
> and it will do the same, that is the tag TEMPLATE has to exist in order 
> to make a layer queryable. And it needs a value, otherwise the map file 
> parser should give an error.
> 
> I would guess that - also for WMS layers - dropping the TEMPLATE tag 
> should skip querying them, but I'm not completely sure without checking 
> the code...
> 
> Since the thread opener did not provide any information about error logs 
> (if the query does not work, there is very likely a PHP error logged), 
> nor does she mention the version of p.mapper. So there's no way to 
> provide any useful help.
> 
> armin
> 
> 
> 

                                          
_________________________________________________________________
Importa i tuoi amici di Facebook su Messenger
http://www.windowslive.it/importaAmici.aspx
------------------------------------------------------------------------------

_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to