Hello everyone,
I have a layer in State Plane coordinates and I would like to add 2 columns Point_X and Point_Y and populate them with Lat and Lon Values but with WGS84 so line that these points can be visualized in Google.
The layer is in State Plan coordinates.
What do I do? Do I convert it to WGS84
First change your data frame to WGS84, then:
Calculating area, length, and other geometric properties—Help | ArcGIS Desktop
The spatial_reference parameter does projection on the fly with SearchCursor—Help | ArcGIS Desktop . Use a SHAPE@XY token with the corresponding spatial reference.
Have you considered the Add Geometry Attributes tool (Data Management > Features)? It will add a Point_X and Point_Y to an attribute table and populate it with the geometry values. You will need to select GCS_WGS_1984 as the coordinate system, and the tool will populate the fields with longitude and latitude.