[mapguide-users] WMS from MGOS can't be read by QGIS
Rémy Gourrat
rgourrat at ag-carto.fr
Fri Jan 25 10:02:12 PST 2013
1/ I have seen in your config panel for the server name => 213.133.229.149:80 just after you call from Qgis with this domain => localhost:80
On my PC dev I try to be coherent if I put “localhost:80” in the config I call with localhost, if I put “213.133.229.149:80” in config I call “213.133.229.149”
I remember have some issues with this…
2/ I remember this precious information about MapGuide 2.2 (True under 2.4 ?) I have seen on the Web :
Open the file C:\Program Files\OSGeo\MapGuide\Server\Wms\OgcWmsService.config.awd
And fin this section, it’s too funny for you !! You speak about 21781 isn’it ?
Near the end of file Check that you have this section :
<!-- This definition allows a site to override the behavior of -->
<!-- the SRS= parameter of requests. -->
<!-- Add translate elements here to map any particularly -->
<!-- troublesome SRS to some appropriate WKT. -->
<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/01",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["false_easting",600000.000],PARAMETER["false_northing",200000.000],PARAMETER["latitude_of_origin",46.95240555555556],PARAMETER["central_meridian",7.43958333333333],UNIT["Meter",1.00000000000000]]</translate>
Follow this link ; http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=11768491&linkID=9242178
3/ Clean the second EPSG:4326
I don’t enjoy that you put another time the EPSG:4326 in you raw header layer, delete it ! you don’t need. Look below we have 2 EPSG:4326 under Qgis with your wms layer not secure
[cid:image001.png at 01CDFB2B.AA3CF6E0]
image001.png (100K) <http://osgeo-org.1560.n6.nabble.com/attachment/5029957/0/image001.png>
-----
AG-Carto - Bayonne
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/WMS-from-MGOS-can-t-be-read-by-QGIS-tp5029828p5029957.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130125/16ec7cb9/attachment.html>
More information about the mapguide-users
mailing list