[mapserver-users] GetFeatureInfo layout in plain text
Jörg Thomsen (WhereGroup)
joerg.thomsen at wheregroup.com
Thu Nov 10 03:59:50 PST 2016
so, what do you have to style? Perhaps you could create a text-format
output with templates to create a sort of ascii-tables, you don't have
to use html-tags within the templates. But in this case the request has
to be format=text/html.
Jörg
Am 10.11.2016 um 12:39 schrieb Yves Jacolin:
> 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
>
Viele Grüße,
Jörg Thomsen
--
********************************************
Where2B Konferenz 2016
15. Dezember 2016 in Bonn
www.where2b-conference.com
********************************************
-------------------------------
Jörg Thomsen
WhereGroup GmbH & Co. KG
Gillweg 3
14193 Berlin
Germany
Fon: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 89 09 53 11
joerg.thomsen at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
More information about the MapServer-users
mailing list