[mapguide-users] Re: MGOS 2.2 Beta and OpenLayers 2.7
Pietro Ianniello
pietro.ianniello at gmail.com
Wed Aug 25 16:34:28 EDT 2010
Perhaps you should edit "OgcWmsService.config.awd" in
"[MAGUIDEINSTALLDIR]\OSGeo\MapGuide\Server\Wms"
There there is:
<Define item="SRS.WKT.map">
<!-- This example fixes a problem with EPSG:21781 not -->
finding the WKT for EPSG:21781 in the CS library.
-->
<translate
from="EPSG:21781">PROJCS["CH1903.LV03",GEOGCS["LLCH1903",DATUM["CH-1903",SPHEROID["BESSEL",6377397.155,299.15281535],TOWGS84[660.0770,13.5510,369.3440,0.804816,0.577692,0.952236,5.66000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Swiss_Oblique_Cylindrical"],PARAMETER["central_meridian",7.43958333333333],PARAMETER["latitude_of_origin",46.95240555555556],PARAMETER["false_easting",600000.000],PARAMETER["false_northing",200000.000],UNIT["Meter",1.00000000000000],AXIS["Y",NORTH],AXIS["X",EAST]]"</translate>
</Define>
I don't know if it must be replaced or you can just add something like (use
900913 or 3857, because 3785 is deprecated):
<translate from="EPSG:900913">
PROJCS["WORLD-MERCATOR",GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Mercator_2SP"],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],PARAMETER["standard_parallel_1",0.00000000000000],PARAMETER["central_meridian",0.00000000000000],UNIT["Meter",1.00000000000000]]</translate>
I don't use MapGuide as as WMS, so you should try by yourself.
Pietro Ianniello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100825/5d6776dc/attachment.html
More information about the mapguide-users
mailing list