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 On 28/05/2010 14:24, Sebastian Schweizer wrote: > 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 >> > > ------------------------------------------------------------------------------ > > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users