|
MapGuide API Reference
|
| virtual STRING MgDrawingService::GetCoordinateSpace | ( | MgResourceIdentifier * | resource | ) | [pure virtual] |
Gets the coordinate system assigned to the DWF drawing.
GEOGCS["LL84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.25722293287],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",1]]| virtual string GetCoordinateSpace(MgResourceIdentifier resource); |
| virtual String GetCoordinateSpace(MgResourceIdentifier resource); |
| virtual string GetCoordinateSpace(MgResourceIdentifier resource); |
| resource | (MgResourceIdentifier) Resource identifier specifying the drawing source which has the DWF resource data. |
// Assuming the drawing service has already been initialized $drawing_ID = new MgResourceIdentifier('Library://DrawingService/Floorplan.DrawingSource'); $coordinateSpace = $drawingService->GetCoordinateSpace($drawing_ID);
| MgServiceNotAvailableException | if the underlying resource service cannot be obtained to access the drawing resource in the repository. |
| MgXmlParserException | if there are problems parsing the resource content specified by the resource identifier. |