I have a table that is automatically generated that has XY coordinates in it. Is there a tool or python script to make that into a point feature?
OK here is how it is done. Got clues from both replies, thanks.
Use Make XY Event Layer which is only a temporary file and then used the temporary output from the XY Event Layer as the Input for Feature to Point to get my feature made.
Thanks for your quick responses and help
Script Example:
# ---------------------------------------------------------------------------# Changes.py# Created on: 2014-10-29 14:39:36.00000# (generated by ArcGIS/ModelBuilder)# Description: # ---------------------------------------------------------------------------
# Set the necessary product code# import arcinfo
# Import arcpy moduleimport arcpy
# Local variables:Changes = "\\\\Path\\Name"Changes_Layer = "Changes_Layer"Updates = "\\\\Destination Path\\Updates"
# Process: Make XY Event Layerarcpy.MakeXYEventLayer_management(Changes, "longitude", "latitude", Changes_Layer, "", "")
# Process: Feature To Pointarcpy.FeatureToPoint_management(Changes_Layer, Updates, "CENTROID")
Check out the Make XY Event Layer in the Data Management Toolbox > Layers and Table Views.
Stephen,
check this out ArcGIS Help 10.1
Tim
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.