Coordinate System - Conversion

242
3
09-25-2018 03:16 AM
Labels (1)
ArifKassim1
New Contributor III

Coordinate conversion

Which is the best practice for coordinate conversion of the features / shape files?

I often use the following method

  1. Import the xy from excel (know coordinate system)
  2. Event layer to shape file
  3. Data Management Tools --> Projections and Transformations --> Project - To get the output data in the required coordinate system selected. 
  4. Calculate Geometry in newly added fields to get the x&y values of new coordinate system 

 

A second method :

  1. Import the xy from excel (know coordinate system)
  2. Event layer to shape file
  3. Open a new map,
  4. Assign the required coordinate system to the data frame
  5. Add the shape file from step 2. into the new map with a different coordinate system and apply the transformation.
  6. Calculate Geometry in newly added fields to get the x&y values of new coordinate system

I have tried both the methods and I get different x & y  values.

#Coordinate conversion

0 Kudos
3 Replies
DanPatterson_Retired
MVP Esteemed Contributor

the second method doesn't project the data...

You state …. apply the transformation. …. 

hopefully you don't mean use the Define Projection tool... because it doesn't work... telling a file that it is something that it isn't is an error.

Method 1, where you specify everything directly and project the file overtly is the best method... there are variants, but for the nanoseconds difference, it really doesn't matter.

As for the shapefile... Destination should be a featureclass in a file geodatabase.

Export to shapefile if needed for other applications

ArifKassim1
New Contributor III

The second method (in detail) after getting the shape file from step ii

  1. Open a new map, and assign the required coordinate system to the data frame
  2. Add the shape file which is in a different coordinate system than the above map from step ii in the new map
  3. Geographic Coordinate Systems Warning - appears - Click transformations
  4. Converts from: "the coordinate system of the shape file" Into: "the coordinate system of the data frame"
  5. OK
  6. Calculate Geometry in the newly added fields to get the x&y values of new coordinate system

Thanks for your comments.

0 Kudos
MelitaKennedy
Esri Notable Contributor

Two things to check in your second workflow. 

1. In Calculate Geometry, make sure to use the data frame's coordinate system

2. When you set the Transformation, make sure it's using the same transformation that was used in the Project Tool.

Melita