MGE Based Coordinate Systems
Many design files exist with Intergraph's MGE coordinate system definitions. A keyin has been provided to create a valid MicroStation coordinate system definition from an existing MGE definition.
MapCSUtilities ReadMGE "User_GCS_Lib.dty" "NewGCS" "NewElipsoid” MGE_Type
User_GCS_Lib.dty |
The path and filename to the user defined library. If the library is not opened, it will be opened. |
NewGCS |
The name of the newly created GCS. If an equivalent GCS is found then it will be used. |
New_Elipsoid |
The name of the newly created elipsoid. If an equivalent elipsoid is found then it will be used. |
MGE_Type |
Either MGE_PRIMARY_CS or MGE_SECONDARY_CS depending on the desired MGE coordinate system to convert |
Example:
MapCSUtilities ReadMGE "C:\Test.dty" "NewGCS7" "NewEllip8” MGE_PRIMARY_CS
If an existing GCS matches the selected GCS or there is an error reading the MGE coordinate system then a message will be output into the Message Center.