[mapserver-users] Re: MapScript WMS request

2011-09-08 Thread Mr . Puneet Kishor
a bit more investigation on producing a WMS response via Perl MapScript reveals the following error ?xml version='1.0' encoding=ISO-8859-1 standalone=no ? !DOCTYPE ServiceExceptionReport SYSTEM http://schemas.opengis.net/wms/1.1.0/exception_1_1_0.dtd; ServiceExceptionReport version=1.1.0

Re: [mapserver-users] Re: MapScript WMS request

2011-09-08 Thread thomas bonfort
it goes in map-web-metadata On Thu, Sep 8, 2011 at 19:48, Mr. Puneet Kishor punk.k...@gmail.com wrote: a bit more investigation on producing a WMS response via Perl MapScript reveals the following error  ?xml version='1.0' encoding=ISO-8859-1 standalone=no ?  !DOCTYPE

Re: [mapserver-users] Re: MapScript WMS request

2011-09-08 Thread Mr. Puneet Kishor
On Sep 8, 2011, at 1:03 PM, thomas bonfort wrote: it goes in map-web-metadata I guessed as much, but I can't fathom the syntax. The webObj doesn't seem to have any constructor, and I don't see any documentation. Could you please point me to an example? On Thu, Sep 8, 2011 at 19:48,

Re: [mapserver-users] Re: MapScript WMS request

2011-09-08 Thread thomas bonfort
someone else might, I don't use mapscript On Thu, Sep 8, 2011 at 20:05, Mr. Puneet Kishor punk.k...@gmail.com wrote: On Sep 8, 2011, at 1:03 PM, thomas bonfort wrote: it goes in map-web-metadata I guessed as much, but I can't fathom the syntax. The webObj doesn't seem to have any

Re: [mapserver-users] Re: MapScript WMS request

2011-09-08 Thread Armin Burger
in PHP MapScript should be something like $map-setMetaData(ows_enable_request, *); in Python: map.setMetaData(ows_enable_request, *) armin On 08/09/2011 20:05, Mr. Puneet Kishor wrote: On Sep 8, 2011, at 1:03 PM, thomas bonfort wrote: it goes in map-web-metadata I guessed as much,

Re: [mapserver-users] Re: MapScript WMS request

2011-09-08 Thread Armin Burger
Puneet if you're interested in general in some sample code using PHP or Python MapScript for OWS request handling, please find some classes here: http://p-ows.pmapper.net/trac/browser/p-ows/trunk armin On 08/09/2011 20:05, Mr. Puneet Kishor wrote: On Sep 8, 2011, at 1:03 PM, thomas

Re: [mapserver-users] Re: MapScript WMS request

2011-09-07 Thread Frank Warmerdam
On 11-09-07 08:18 PM, Mr. Puneet Kishor wrote: I would really appreciate insight from someone well-versed in the ins and outs of WMS via MapScript. Looking at the discussion at [http://trac.osgeo.org/mapserver/ticket/670], the `img = wms_map.draw()` step seems to be a crucial part of drawing