Local Mine Grid to GDA94MGA51 Transformation
I'm banging my head off the wall here with something that should be straight forward and any and all help would be much appreciated. I'm trying to load the attached dxf (BS4_bench) which is in local mine grid into an existing GM workspace which is set up to GDA94 datum and MGA51 projection (site is in Western Australia).
When I try to use the attached .txt file to change projection I get a "parsing error" as per screen grab. What am I doing wrong? I have also included in zip file an .xls and .csv of transformation info.
Ballpark the transformation from local mine grid to MGA should involve a 45 deg anticlockwise rotation and approx 600,000 m shift eastwards and approx 6,618,000 m shift northwards.
Cheers,
/al
Answers

Hi Al,
Sorry for the late reply, I haven't been on the forum for a while. You've probably figured this out by now but if not, I've calculated the rotation and offset using the reference points using AutoCAD. Rotate 45 degrees clockwise (around the basepoint 0,0,0 if using AutoCAD)
 x + 515232.1267
 y + 6696002.975
I have attached the xform (see zipped folder) so you can load it via Shift  Selected Layer(s) > Specify Coordinate Transformation > Load from File...
I've tested it on the reference points and the DXF and they line up great.
I often have to work these things out as the Mine Grid to the Projected Coordinate system has been lost or just isn't known. I also regularly have to work out what coordinate system has been used for data when the info isn't known to the Client.
Anyway, this is my workflow for calculating the transformation: Plot 2 or 3 known points in both coordinate system (I draw a line between each of the points to trace a shape. This makes it easier to get your bearing when checking the rotation)
 Make a copy of the Mine Grid shape and paste it onto the Projected shape and align to a common point
 Measure the angle difference between the two and make a note of it
 Delete the temporary shape
 Rotate the Mine Grid reference points around the basepoint 0,0,0 (origin) and enter the rotation angle noted earlier. AutoCAD is weird so 45 clockwise is 315 or 45.
 Now draw a rectangle between two common reference points
 Measure the width of the rectangle and note the difference in the x (easting)
 Measure the height of the rectangle and note the difference in the the y (northing)
 You will now have the rotation, and the x and y offsets.
Good luck my friend
Steve 
Thanks again Steve  you're a saint and a scholar!
I had actually given up in GM and had just resorted to rotating and shifting in AutoCAD before resaving and then loading into GM. That was a backward step however and is much better to be able to do directly in GM.
Cheers,
Alistair. 
CarrickCon said:Thanks again Steve  you're a saint and a scholar!
I had actually given up in GM and had just resorted to rotating and shifting in AutoCAD before resaving and then loading into GM. That was a backward step however and is much better to be able to do directly in GM.
Cheers,
Alistair.
Glad you found my reply useful. I create Actions in AutoCAD to convert back and forth between Mine Grid and the Projected coordinate system. They are a bit like macros and really simple to create. If you go down this route just make sure all layers are unlocked and not frozen otherwise those objects will not be moved.
I also have a habit of using AutoCAD to convert CAD plans/drawings and TIN meshes. As you know, some CAD drawings are ruined when imported into Global Mapper so best to avoid using Global Mapper in those cases. I only use Global Mapper to convert geospatial data like shapefiles, raster based datasets and anything that has attribute data really.
Cheers,
Steve 
Hi Steve,
Regarding the coordinate rotation and translation I've been revising some high school coordinate geometry at: http://doubleroot.in/lessons/coordinategeometrybasics/rotationofaxes/
and worked examples at: https://doubleroot.in/lessons/coordinategeometrybasics/translationrotationexamples/ (closest worked example is Example 1 (ii)).The key equations are:
x’ = xcosθ + ysinθ
y’ = ycosθ – xsinθ
In my case I have two common points (P1 and P2) that I have the coordinates for in both mine grid and GDA94/MGA51 and I know the rotation angle (θ) is 45 degrees, so can calculate the x and y shift directly. I've attached it as a simple worksheet in case it is helpful for some of your projects (yellow highlighted cells are known values, the others are calculated).
Cheers,
/al

CarrickCon said:Hi Steve,
Regarding the coordinate rotation and translation I've been revising some high school coordinate geometry at: http://doubleroot.in/lessons/coordinategeometrybasics/rotationofaxes/
and worked examples at: https://doubleroot.in/lessons/coordinategeometrybasics/translationrotationexamples/ (closest worked example is Example 1 (ii)).The key equations are:
x’ = xcosθ + ysinθ
y’ = ycosθ – xsinθ
In my case I have two common points (P1 and P2) that I have the coordinates for in both mine grid and GDA94/MGA51 and I know the rotation angle (θ) is 45 degrees, so can calculate the x and y shift directly. I've attached it as a simple worksheet in case it is helpful for some of your projects (yellow highlighted cells are known values, the others are calculated).
Cheers,
/al

sphillips said:CarrickCon said:Hi Steve,
Regarding the coordinate rotation and translation I've been revising some high school coordinate geometry at: http://doubleroot.in/lessons/coordinategeometrybasics/rotationofaxes/
and worked examples at: https://doubleroot.in/lessons/coordinategeometrybasics/translationrotationexamples/ (closest worked example is Example 1 (ii)).The key equations are:
x’ = xcosθ + ysinθ
y’ = ycosθ – xsinθ
In my case I have two common points (P1 and P2) that I have the coordinates for in both mine grid and GDA94/MGA51 and I know the rotation angle (θ) is 45 degrees, so can calculate the x and y shift directly. I've attached it as a simple worksheet in case it is helpful for some of your projects (yellow highlighted cells are known values, the others are calculated).
Cheers,
/al
Categories
 12.8K All Categories
 5.7K Features Discussion
 345 Downloading Imagery
 1.3K Elevation Data
 385 Georeferencing Imagery Discussion
 635 GM Script Language
 54 User Scripts
 114 GPS Features
 417 Projection Questions
 825 Raster Data
 1.3K Vector Data
 6.6K Support
 177 Announcement and News
 911 Bug Report
 558 SDK
 1.2K Suggestion Box
 3.7K Technical Support
 569 Other Discussion
 131 GIS Data Sources
 27 Global Mapper Showcase
 238 How I use Global Mapper
 107 Global Mapper Forum Website