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.ca...@localhost>, >>> Nicol Hermann <[email protected]> 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
