[mapserver-users] GetFeatureInfo layout in plain text

Yves Jacolin yves.jacolin at camptocamp.com
Thu Nov 10 03:39:05 PST 2016


Thanks Jörg,

Unfortunately I should use text format as ArcGIS desktop don't support other 
format (to be confirmed).

Y.
On Thursday, November 10, 2016 11:49:49 Jörg Thomsen wrote:
> Hi Yves,
> 
> text/plain is text/plain, no layout. The Mapserver-templates work with
> html-format. Another way could be using the xml-output and styling it
> with xslt. But you can enable the html-output using templates with
> mapserver and it still will be possible to send text/plain requests.
> 
> Templating ist easy and powerful, so to answer your question: yes, read
> the templating chapter. You'll find a short introduction in the old
> tutorial: http://demo.mapserver.org/tutorial/section3.html (example 3.1)
> 
> Jörg
> 
> Am 10.11.2016 um 11:16 schrieb Yves Jacolin:
> > Hello,
> > 
> > I have to setup a text format for a WMS' GetFeatureInfo service. I would
> > like to know if it is possible to change the layout using a template.
> > 
> > My first test was not working so any feedback is welcome. The
> > documentation
> > said that the user should read the templating chapter so I guess this is
> > possible.
> > 
> > Any confirmation?
> > 
> > Y.
> 
> Viele Grüße,
> Jörg Thomsen

-- 
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.jacolin at camptocamp.com
http://www.camptocamp.com


More information about the mapserver-users mailing list