RE: [mapserver-users] MapScript WMS request

2011-09-10 Thread Nicol Hermann
): > 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: [mapserve

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-09 Thread Mr. Puneet Kishor
org] On Behalf Of Mr. 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, >> >&g

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
half Of Mr. 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

Re: [mapserver-users] MapScript WMS request

2011-09-09 Thread Mr. Puneet Kishor
1 9:32 PM > To: Daniel Morissette > Cc: mapserver-users@lists.osgeo.org > 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

Re: [mapserver-users] MapScript WMS request

2011-09-09 Thread Smith, Michael ERDC-CRREL-NH
el Morissette >Cc: mapserver-users@lists.osgeo.org >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,

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
David. -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] MapScrip

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... t

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Daniel Morissette
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 a hint... wow! this is a super-awesome debugging tech

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_A

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 65.6251237164987,170.158

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Mr . Puneet Kishor
On Sep 8, 2011, at 7:16 PM, Mr. Puneet Kishor wrote: > > 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 t

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 laye

Re: [mapserver-users] MapScript WMS request

2011-09-08 Thread Daniel Morissette
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 changed: if you have multiple layers with the same name then th

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
Great suggestions Daniel. Here is what I have to report -- On Sep 8, 2011, at 6:27 PM, Daniel Morissette wrote: > 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. It is already reduced to a single la

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 name

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", "*");