How to add Point_X and Point_Y in WGS84

520
3
11-17-2017 08:55 AM
JoseSanchez
Occasional Contributor III

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 

0 Kudos
3 Replies
DarrenWiens2
MVP Honored Contributor
JoshuaBixby
MVP Esteemed Contributor

The spatial_reference parameter does projection on the fly with SearchCursor—Help | ArcGIS Desktop  .  Use a SHAPE@XY token with the corresponding spatial reference.

0 Kudos
RandyBurton
MVP Alum

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.