[V8i SS1] Applying a Coordinate System

Hi Folks,

I have mvba code to apply a coordinate system to a folder of files.  I am puzzled between RESULTS of the legacy V7-8 code and what I've used in v8i before.

Legacy code (abbreviated)

        CadInputQueue.SendCommand "DIALOG OPENFILE "
       
CadInputQueue.SendCommand "Gcoord Master Edit "
       
CadInputQueue.SendCommand "Gcoord Master Read Ascii "
        CadInputQueue.SendCommand "MDL COMMAND MGDSHOOK,fileList_setFileNameCmd gda94-55.g66"



 V8i (Out-Of-The-Box)

         CadInputQueue.SendCommand "GEOCOORDINATE ASSIGN REPROJECT  EPSG:28355"


 

Q. Can anyone explain whether these are the same result and if so, why they look different?

The V8 methodology came from PowerMap V7/V8 Geo days. Perhaps the later is all that is now required. I am not sure whether I am missing something fundamentally obvious here...

Cheers, Colin

 

  • Gcoord keyins no longer exist.

    The new approach is, we think, much simpler than reading a <.g66> file as we did in the previous versions.

    1) You define/create a CS of your choice (SAY :TEST)
    2) The next step is only attach the CS using the GeoCoordinate Assign Reproject <CSNAME> keyin would GeoCoordinate Assign Reproject TEST

    If the coordinate System definitions are the same you will see the same result. The keyins look different because we have made the workflow simpler as I described above. NO need to Read the ASCII file.

    The big benefit with this approach you have better standardization and any user accessing the custom .dty file can benefit for the new coordinate system definition .

    Hope this helps
    Regards

    Sebastien Cote

    Regards

    Answer Verified By: cweber