I have a .csv file with XY coordinates that can be converted to a .dbf file and loaded in ArcMAP. How do I plot the coordinates in that file in ArcMAP using arcpy.

Without arcpy, we could right click the loaded .dbf from table of contents and click "Display XY Data".

closed as off-topic by PolyGeo Oct 23 '17 at 23:28

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.


You will need to make an XY Event layer and use the appropriate parameters for input fields. Here is the help doc that shows the syntax to be used. http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/make-xy-event-layer.htm

Not the answer you're looking for? Browse other questions tagged or ask your own question.