Hexagon Geospatial
MENU

ERDAS IMAGINE Q&A

ERDAS IMAGINE, the world’s leading geospatial data authoring system, supplies tools for all your Remote Sensing and Photogrammetry needs.
Showing results for 
Search instead for 
Do you mean 

Convert X and Y Coordinates in ASCII to another projection

by mvardovs ‎07-15-2016 03:30 AM - edited ‎07-15-2016 03:41 AM (1,185 Views)

Question

How to convert X and Y Coordinates in ASCII to another projection?

Answer

To convert the X and Y coordinates in an ASCII file to a different projection you should do following steps:

 

Step 1. In ERDAS IMAGINE Workspace go to Manage Data tab. And in Conversion group choose the Coordinate Calculator tool.

 

convert the X and Y coordinates in an ASCII file to a different projection.png

 

The Coordinate Calculator dialog will open.

 

 2.png

 

Step 2. Now you need to set the Input and Output projections. In a Coordinate Calculator dialog go to Projection menu and from the drop-down list choose Set Input Projection and Units…

 

3.png

 

In an opened dialog set a projection and Map Units of your Input data. For example:

 

4.png

 

In a same way you should specify your Output Projection settings. In a Coordinate Calculator dialog go to Projection menu and from the drop-down list choose Set Output Projection and Units…

 

In an opened dialog set a projection and Map Units for your Output data. For example:

 

5.png

 

Step 3.  Now you should import the data from the ASCII file. In the Coordinate Calculator dialog you can specify what coordinates you have XY or XYZ by clicking on buttons you see below.

 

6.png

 

With an LMB+Shift select Input coordinates columns by clicking on their title.

RMB click on any selected column title. From the drop-down list choose Import… .

 

7.png

 The Import Data dialog will appear.

 

8.png

 

Click on the folder icon 9_1.png next to Import from row and choose your ASCII file containing coordinates you want to convert.

 

Click the View… button to open the ASCII file in the ERDAS Text Editor and verify the order of the column data. Close the Editor dialog.

 

9_2.png

 

In a bottom of Import Data dialog you can find a table, which allows you to specify the order of the column data is imported and the Separation Character and Row Terminator Character for your ASCII file. If your ASCII file contains column headings, you can specify the Number of Rows to Skip.

 

10.png

 

Click OK in the Import Data dialog to import the input coordinates into the Input X and Input Y columns. The reprojected coordinates will be displayed in the Output X and Output Y columns. The final results should look similar to the dialog below.

 

11.png

 

Afterwards you can save coordinates, print, or just copy. 

Contributors