Hi,

wms_srs is a list (white space separated) about the projections which will be 
supported as WMS output. You will need to add the web Mercator on your list if 
it is what you want to read with Openlayers. This parameter is well documented 
in 
http://mapserver.org/ogc/wms_server.html#setting-up-a-wms-server-using-mapserver

I would recommend to test WMS services first with anything else than 
Openlayers. First with shp2img or with a web browser with hand written WMS 
requests, next perhaps with a GIS WMS client (QGis, OpenJUMP etc) for avoiding 
problems arising from the Openlayers code and not having anything to do with 
WMS server.

-Jukka Rahkonen-

jjwang wrote:
> 
> Thank you Steve,
> But it seems no difference with the map in other projections.
> It still cannot match the base layer map (see my first posted 
> question).
> Actually I need to get this map through WMS server (Openlayer)
> I found something I'm not sure.
> WEB
>     TEMPLATE global.html
>     IMAGEPATH "/ms4w/tmp/ms_tmp/"
>     IMAGEURL "/ms_tmp/"
>     
>     METADATA
>       "wms_title" "My Global Map WMS Server"
>       *"wms_srs" "EPSG:4326"*
>       "ows_enable_request"   "*"
>     END
>   END
> 
> "wms_srs" "EPSG:4326" - about this statement:
> What's this used for?
> Does this define the projection of the map I will get through WMS?
> 
> JJ
> 
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Question-about-projecti
> on-tp6714933p6718867.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> 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

Reply via email to