[mapguide-users] MGOS as WMS server and EPSG/WKT problem?
Chris Claydon
chris.claydon at autodesk.com
Fri Jan 12 12:14:51 EST 2007
Hi Robert,
Can you send me the WKT string that works for MGE? I'll see if I can figure out why it's failing on MGOS. Please also send me an example of the "Bounds" setting for one of the layers that uses this coordinate system.
Also, when you stop your web server following a modification to OgcWmsService.config.awd, please check that all mapagent.exe processes have terminated (and end them manually if necessary) before re-starting it. This will ensure that a cached version of the old file does not get used.
Thanks,
Chris Claydon.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of robert fritz
Sent: January 12, 2007 8:26 AM
To: mapguide_users at lists.osgeo.org
Subject: [mapguide-users] MGOS as WMS server and EPSG/WKT problem?
Hello,
It took me a few hours to configure MGE as an WMS server - but I do not want to complain, now it works.
I transfered the data to MG OS and now I 've got new problems.
As I have read, MGOS uses a different coordinate system library. It was clear to me that I have to modify the OgCWmsService.config.awd file again.
But it does not work!
In the WebTierTest GUI of the mapagent (localhost/mapguide/mapagent/index.html) I used the "ConvertEpsgCodeToWkt" function to get the WKT String for my local coordinate system (EPSG:31466) and inserted the string in "OgCWmsService.config.awd" (yes, and I restartet the server).
Starting an getMapRequest I get the message:
<ServiceException code="InvalidCRS">
The coordinate system is invalid.
....
Could not parse the OGC WKT.<details>The coordinate system is invalid. "PROJCS["DHDN / Gauss-Kruger zone
....
If I take the WKT String from the Error-Message and put it in the "ConvertWktToCoordinateSystemCode" it is parsed, but the there is now a different epsg code: EPSG:31462. If I modify the EPSG Code in my OgCWmsService.config.awd file (from 31466 to 31462) I get this:
...
The spatial reference system specified is not supported. (Found SRS=EPSG:31462)
...
Where do I get a valid WKS String for DHDN.Gauss3d-2 / EPSG:31466? I 've got for MGE, I need it for MGOS.
I 'm using server version 1.0.2
regards
robert
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list