Actually the WEB object QUERYFORMAT (I believe) parameter can be used to set mime type for old style templates. Default is text/html. That same parameter can alternatively reference an output format, even an image-based one.
Steve Sent from my iPad On Sep 11, 2011, at 7:58 AM, Richard Greenwood <[email protected]> wrote: > On Sat, Sep 10, 2011 at 10:42 PM, Mr. Puneet Kishor <[email protected]> > wrote: >> [http://osgeo-org.1803224.n2.nabble.com/GeoJSON-output-from-MapServer-td3188987.html] >> >> If I call my template "template.html" I get the output, but I get mime type >> warning and a syntax error in parsing the output. > > Where is the warning originating? I have no problem consuming > mapserver template based JSON in jQuery, despite the incorrect mime > type. I do not know of any way to set the mime type of a mapserver > template. > > Rich > > > -- > Richard Greenwood > [email protected] > www.greenwoodmap.com > _______________________________________________ > 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
