[mapserver-users] How to use the new templating mechanism?

Nicol Hermann mapserver at geoworld.de
Thu May 21 08:55:14 PDT 2009


Dear list,

can someone please share some code snippets how to use the new
templating mechanism?
(http://mapserver.org/development/rfc/ms-rfc-36.html)
My goal is to create a JOSN string from a getFeatureInfo Request
(mapserver version 5.2).
I understand that i have to create an outputformat which refers e.g. to
a JavaScript file.
What i do not understand is, how i approach this outputformat?
I followed the instructions in this posting
http://lists.osgeo.org/pipermail/mapserver-dev/2009-January/008168.html
and I tried to specify 
&INFO_FORMAT=application/json&
in the GetFeatureInfo-Request but this leads to an exception.

Any hints?
Thanks a lot
Nicol




More information about the MapServer-users mailing list