Re: [mapserver-users] How is working TEMPLATE fooOnlyForWMSGetFeatureInfo ?
You should remove the line 64: TEMPLATE 'fooOnlyForWMSGetFeatureInfo' is not useful in the WEB Object. Only the one in METADATA in the LAYER object. See section 'At the map level' vs 'And for each LAYER' in http://mapserver.org/ogc/wms_server.html#setup-a-mapfile-for-your-wms Y. On Thursday, August 11, 2016 14:06:52 Jean-Christophe Bastin wrote: > Hi, > > Thank you for your answer. > > Please find in attachment the MapFile. > > To summarize, I have "WEB TEMPLATE 'fooOnlyForWMSGetFeatureInfo'" and > "LAYER TEMPLATE fooOnlyForWMSGetFeatureInfo", as other samples I have found. > > Regards, > > JCB > > Le 11/08/2016 à 13:57, Yves Jacolin a écrit : > > Hello, > > > > How is your mapfile? Could you share a part of it? > > > > In WMS service, TEMPLATE should have a value, but not a specific value. So > > you can write what you want. > > > > So I guess there is a missing parameter in your mapfile. > > > > Regards, > > > > Y. > > > > On Thursday, August 11, 2016 13:41:13 Jean-Christophe Bastin wrote: > >> Hi all, > >> > >> I don't find good explanations about the use of TEMPLATE > >> fooOnlyForWMSGetFeatureInfo in a Mapfile. > >> In fact, I have a queryable WMS, and when I send a GetFeatureInfo > >> request, I get the following answer : > >> > >> > >> >> "http://www.digitalearth.gov/wmt/xml/exception_1_0_1.dtd;> > >> > >> > >> msReturnPage(): Web application error. Malformed template name > >> (fooOnlyForWMSGetFeatureInfo). > >> > >> > >> > >> What does that mean ? > >> I did a research on "TEMPLATE" and "fooOnlyForWMSGetFeatureInfo", but I > >> don't find how it is used. > >> I only find Mapfile samples using it, but nothing about what and how it > >> is used. > >> > >> Someone can explain me how can I resolve this issue ? > >> > >> Many thanks ! > >> > >> JCB -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] How is working TEMPLATE fooOnlyForWMSGetFeatureInfo ?
Hello, How is your mapfile? Could you share a part of it? In WMS service, TEMPLATE should have a value, but not a specific value. So you can write what you want. So I guess there is a missing parameter in your mapfile. Regards, Y. On Thursday, August 11, 2016 13:41:13 Jean-Christophe Bastin wrote: > Hi all, > > I don't find good explanations about the use of TEMPLATE > fooOnlyForWMSGetFeatureInfo in a Mapfile. > In fact, I have a queryable WMS, and when I send a GetFeatureInfo > request, I get the following answer : > > > "http://www.digitalearth.gov/wmt/xml/exception_1_0_1.dtd;> > > > msReturnPage(): Web application error. Malformed template name > (fooOnlyForWMSGetFeatureInfo). > > > > What does that mean ? > I did a research on "TEMPLATE" and "fooOnlyForWMSGetFeatureInfo", but I > don't find how it is used. > I only find Mapfile samples using it, but nothing about what and how it > is used. > > Someone can explain me how can I resolve this issue ? > > Many thanks ! > > JCB -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] How is working TEMPLATE fooOnlyForWMSGetFeatureInfo ?
Hi all, I don't find good explanations about the use of TEMPLATE fooOnlyForWMSGetFeatureInfo in a Mapfile. In fact, I have a queryable WMS, and when I send a GetFeatureInfo request, I get the following answer : "http://www.digitalearth.gov/wmt/xml/exception_1_0_1.dtd;> msReturnPage(): Web application error. Malformed template name (fooOnlyForWMSGetFeatureInfo). What does that mean ? I did a research on "TEMPLATE" and "fooOnlyForWMSGetFeatureInfo", but I don't find how it is used. I only find Mapfile samples using it, but nothing about what and how it is used. Someone can explain me how can I resolve this issue ? Many thanks ! JCB ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users