[mapguide][MG428][Modified] Coordinate system libraries fail to initialize in web tier

Bruce Dechant bruce.dechant at autodesk.com
Tue Oct 17 19:04:05 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG428

Type:
Defect

Artifact ID:
MG428 (Coordinate system libraries fail to initialize in web tier)

Modified by:
Bruce Dechant
brucedechant (bruce.dechant at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Steps to Reproduce set to new value:
Old value:
TBD
New value:
Execute the following php script and observe that the EPSG code of 4326 fails to be converted to wkt.

// We have to use a factory because there is no direct access to the MgCoordinateSystem constructor
$ll84 = "GEOGCS [ \"Longitude / Latitude (WGS 84)\", DATUM [\"WGS 84\", SPHEROID [\"WGS 84\", 6378137.000000, 298.257224]], PRIMEM [ \"Greenwich\", 0.000000 ], UNIT [\"Decimal Degree\", 0.01745329251994330]]";
$factory = new MgCoordinateSystemFactory();
$mgcoordinatesystem = $factory->Create($ll84);
        
$wkt = $mgcoordinatesystem->ConvertEpsgCodeToWkt(4326);




---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list