[mapserver-users] Mapserver as wms client error trace

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Jul 25 15:29:19 PDT 2012


Great news Sowmya!  (I can go happily enjoy my dinner now ha)

And welcome to the world of MapServer!  (fun isn't it?!  you're going to
fall in love)

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 12-07-25 7:16 PM, Sowmya Tiramdasu wrote:
> 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: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Sowmya
> Tiramdasu
> Sent: Wednesday, July 25, 2012 3:50 PM
> To: 'Jeff McKenna'; mapserver-users at lists.osgeo.org
> 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: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jeff McKenna
> Sent: Wednesday, July 25, 2012 3:18 PM
> To: mapserver-users at lists.osgeo.org
> 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
> 
> 
> 





More information about the MapServer-users mailing list