[mapguide-users] Webstudio and local coordinate systems

Bruce Dechant bruce.dechant at autodesk.com
Thu Oct 19 15:33:30 EDT 2006


Michaela,

The problem is not related to webstudio but rather to the underlying coordinate system library used by MapGuide open source (MGOS), ie: PROJ4.
PROJ4 does not support the coordinate system WKT you have below.

If you have the latest MGOS version (1.0.2) the web tier test pages have a "CheckWkt" page that uses the MapGuide API to check a coordinate system for you.

The default link is: http://localhost:8008/mapguide/mapagent/index.html

Then click on the "Coordinate System" link and select "CheckWkt"

Here is the result I get using MGOS with the WKT below:


Coordinate System API: CheckWkt

OGC WKT:
PROJCS["GK-S4-R95",GEOGCS["LL-RAUEN95",DATUM["RAUEN-95",SPHEROID["BESSEL",6377397,155,299,15281535],TOWGS84[582,0000,105,0000,414,0000,-1,040000,-0,350000,3,080000,8,30000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Gauss_Kruger"],PARAMETER["false_easting",4500000,000],PARAMETER["false_northing",0,000],PARAMETER["scale_factor",1,000000000000],PARAMETER["central_meridian",12,00000000000000],PARAMETER["latitude_of_origin",0,00000000000000],UNIT["Meter",1,00000000000000]]

Status:
Fail

Error:
The coordinate system is invalid. PROJCS["GK-S4-R95",GEOGCS["LL-RAUEN95",DATUM["RAUEN-95",SPHEROID["BESSEL",6377397,155,299,15281535],TOWGS84[582,0000,105,0000,414,0000,-1,040000,-0,350000,3,080000,8,30000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Gauss_Kruger"],PARAMETER["false_easting",4500000,000],PARAMETER["false_northing",0,000],PARAMETER["scale_factor",1,000000000000],PARAMETER["central_meridian",12,00000000000000],PARAMETER["latitude_of_origin",0,00000000000000],UNIT["Meter",1,00000000000000]] Could not create coordinate system forward transformation with specified coordinate systems.

Hope this helps,
Bruce

PS. I also tested this with MGE (MapGuide Enterprise) and it does recognize your WKT.

-----Original Message-----
From: Michaela Schneeberger 
Sent: October 19, 2006 2:54 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Webstudio and local coordinate systems

Hi all,

I'm testing Webstudio with my own local german dataset.
Loading packages was ok, but I got an error because of an invalid coordinatesystem.
In the dataset Gauß-Krüger 4 was used and I've got the following error message:

The coordinate system is invalid. PROJCS["GK-S4-R95",GEOGCS["LL-RAUEN95",DATUM["RAUEN-95",SPHEROID["BESSEL",6377397,155,299,15281535],TOWGS84[582,0000,105,0000,414,0000,-1,040000,-0,350000,3,080000,8,30000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Gauss_Kruger"],PARAMETER["false_easting",4500000,000],PARAMETER["false_northing",0,000],PARAMETER["scale_factor",1,000000000000],PARAMETER["central_meridian",12,00000000000000],PARAMETER["latitude_of_origin",0,00000000000000],UNIT["Meter",1,00000000000000]] Could not create coordinate system forward transformation with specified coordinate systems. Exception occurred in method MgCoordinateSystem.MgCoordinateSystem at line 76 in file c:\build_tux_area\mgdev_opensource\common\service\coordinatesystem\CoordinateSystem.cpp


Does this mean Webstudio only supports certain coordinatesystems or have I'm done something wrong?

Thanks a lot
michaela



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org






More information about the Mapguide-users mailing list