long setExchCoordSysFromMap(string path)

This method destroys the current Exchange Coordinate System and replaces it with the one used by the map at the location in the file system given by path.  The argument must contain the full path to a valid SAF, residing in a directory containing either shape files or CARIS files which the SAF properly describes.

The method returns 0 if the coordinate system is set successfully, and returns an error code if: