Hi Jeff, Just to let you know. I got it working :)
The problem was with an entry in the shape file. Under the WMS meta data , I gave wms_latlonboundingbox value as my extent. Ideally it should have been wms_extent feature. So was this projection problem. Thanks again for all your guidance, I learnt many things! Thanks, Sowmya. _______________________________ Sowmya Tiramdasu QCoherent Software 9668 Madison Blvd., Suite 202 Madison, AL 35758 (256) 461-8289 Telephone (256) 461-8249 Fax www.geocue.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sowmya Tiramdasu Sent: Wednesday, July 25, 2012 3:50 PM To: 'Jeff McKenna'; [email protected] Subject: Re: [mapserver-users] Mapserver as wms client error trace Hi Jeff, Thanks for your reply. Yes, I tried the example ones and it works fine. The problem is only with my WMS Server. The data I have( shape files, ortho images and the Las file[This is being rendered by my WMS Server]) are all in the same projection and I gave the extents of the map also accordingly. With the same projection and extents I am able to render the ortho images and shape files using map server, but not able to render the image from my WMS Server. How can I check if my extents are right and the projection information I provided is right ? Are there any Tips or best practices to achieve this? Also, can you guide me to a good tutorial where I can understand all this projection stuff. I am fairly new to GIS domain. Thanks again for your patience in trying to help me. Appreciate your help. Regards, Sowmya. _______________________________ Sowmya Tiramdasu QCoherent Software 9668 Madison Blvd., Suite 202 Madison, AL 35758 (256) 461-8289 Telephone (256) 461-8249 Fax www.geocue.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jeff McKenna Sent: Wednesday, July 25, 2012 3:18 PM To: [email protected] Subject: Re: [mapserver-users] Mapserver as wms client error trace Hello Sowmya, Next I would probably test by adding a known working WMS server into your mapfile: you can use the exact example from the docs here (just add a projection object) http://www.mapserver.org/ogc/wms_client.html#adding-a-wms-layer If shp2img shows a GetMap for that new layer, then you know it's a problem with your WMS Server (or a problem regarding coordinates). If all else fails, make a copy of your mapfile, then remove all other layers from it, and any projection objects, and make sure your EXTENT and UNITS match the coordinates of your WMS layer. (yes projections are the hardest part of web mapping) Good luck, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 12-07-25 2:35 PM, Sowmya Tiramdasu wrote: > Hi, > > I checked the trace after running the shp2img.exe. I see that there is no > call made to my wms server. There is a re-projection error seems like. All > the ortho images and output from shape files is coming good.Only the layer > from my WMS server is not being rendered. Here is my mapfile and the error > log. > _______________________________________________ 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 _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
