RE: [mapserver-users] MapScript WMS request

2011-09-10 Thread Nicol Hermann
: Mr. Puneet Kishor [mailto:punk.k...@gmail.com] Sent: Friday, September 09, 2011 10:00 AM To: Fawcett, David (MPCA) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] MapScript WMS request David, On Sep 9, 2011, at 9:47 AM, Fawcett, David (MPCA) wrote: Puneet

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mr. Puneet Kishor Sent: Thursday, September 08, 2011 9:32 PM To: Daniel Morissette Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] MapScript WMS

Re: [mapserver-users] MapScript WMS request

2011-09-09 Thread Mr. Puneet Kishor
Subject: Re: [mapserver-users] MapScript WMS request On Sep 8, 2011, at 8:28 PM, Daniel Morissette wrote: On 11-09-08 09:02 PM, Mr. Puneet Kishor wrote: On Sep 8, 2011, at 7:43 PM, Daniel Morissette wrote: Maybe call $map-save(/tmp/my.map) in your script after the map and layer have

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
. Puneet Kishor Sent: Friday, September 09, 2011 9:35 AM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] MapScript WMS request On Sep 9, 2011, at 8:39 AM, Fawcett, David (MPCA) wrote: Puneet, As far as I know, OpenLayers still has support for a layer based on MapServer CGI

Re: [mapserver-users] MapScript WMS request

2011-09-09 Thread Mr. Puneet Kishor
-users@lists.osgeo.org Subject: Re: [mapserver-users] MapScript WMS request On Sep 9, 2011, at 8:39 AM, Fawcett, David (MPCA) wrote: Puneet, As far as I know, OpenLayers still has support for a layer based on MapServer CGI. Because MapServer can also serve up WMS well, this layer type

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
DNS issue, should be fixed by Monday... ; (' -Original Message- From: Mr. Puneet Kishor [mailto:punk.k...@gmail.com] Sent: Friday, September 09, 2011 10:00 AM To: Fawcett, David (MPCA) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] MapScript WMS request David

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Mr. Puneet Kishor
top posting, as most of the relevant info is self-contained in this email -- Ok, with the help of the suggestions from many of you, and by adding the following lines to my program, I am no longer getting any error. .. $map-setMetaData(ows_enable_request, *); ..

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Daniel Morissette
Hi Puneet, A few things to try: 1- Reduce your map to a single layer if that's not already the case for your first round of tests. 2- Try a GetCapabilities instead of GetMap, and make sure your layer shows up properly and with no WARNING in the GetCapabilities XML output. Make sure the

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Mr . Puneet Kishor
fwiw, here is the pastebin link to the XML response to my GetCapabilities request. http://pastebin.com/zu8kjNDX On Sep 8, 2011, at 6:44 PM, Mr. Puneet Kishor wrote: Great suggestions Daniel. Here is what I have to report -- On Sep 8, 2011, at 6:27 PM, Daniel Morissette wrote: Hi

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Mr. Puneet Kishor
On Sep 8, 2011, at 6:52 PM, Daniel Morissette wrote: On 11-09-08 07:44 PM, Mr. Puneet Kishor wrote: 2- Try a GetCapabilities instead of GetMap, and make sure your layer shows up properly and with no WARNING in the GetCapabilities XML output. Make sure the name of the layer is not

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Daniel Morissette
On 11-09-08 08:40 PM, Mr. Puneet Kishor wrote: On Sep 8, 2011, at 7:16 PM, Mr. Puneet Kishor wrote: PostGIS. lat/lng. SRID 4326 [...] I should have also added the following macromap=# SELECT ST_AsText(the_geom) FROM gmna LIMIT 1; MULTIPOLYGON(((170.095660072181

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Mr. Puneet Kishor
On Sep 8, 2011, at 7:43 PM, Daniel Morissette wrote: On 11-09-08 08:40 PM, Mr. Puneet Kishor wrote: On Sep 8, 2011, at 7:16 PM, Mr. Puneet Kishor wrote: PostGIS. lat/lng. SRID 4326 [...] I should have also added the following macromap=# SELECT ST_AsText(the_geom) FROM gmna

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Mr. Puneet Kishor
On Sep 8, 2011, at 8:28 PM, Daniel Morissette wrote: On 11-09-08 09:02 PM, Mr. Puneet Kishor wrote: On Sep 8, 2011, at 7:43 PM, Daniel Morissette wrote: Maybe call $map-save(/tmp/my.map) in your script after the map and layer have been populated and paste the result... that may give us