[mapserver-users] How to use the new templating mechanism (via WMS)?

Steve Lime Steve.Lime at dnr.state.mn.us
Thu May 21 16:39:27 EDT 2009


I think the problem you're running into is that templated formats are not properly being made available
via WMS. That's a different problem and most likely a bug as I bet that code knows nothing about the 
template driver. Can you create a ticket and we can try to address in 5.4.1?

Steve

>>> On 5/21/2009 at 10:55 AM, in message <1242921314.4679.3.camel at localhost>, Nicol
Hermann <mapserver at geoworld.de> wrote:
> 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
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list