4

I am displaying a CSV file in ArcGIS 10. After adding the data table, I right-click it, and select "Display XY Data".

I am able to complete the required information and display the data, however, I receive the following error message.

The table you specified does not have an Object-ID field so you will not be able to select, query, or edit the features in the resulting layer, or define relates for them.

Because of this, I'm limited in what I can do with the newly visualized data.

Is there a specific column that should be added to the CSV file that ArcGIS will interpret as an Object ID? I've tried a few namings, but keep getting the same message.

2

3 Answers 3

6

Right click on the "X,Y Events" layer and export it to a geodatabase or a shapefile, whichever your preference. The OID field will be added in and all of those options will be made available

2
  • 1
    Is there a way to use an existing OID from the CSV file?
    – dangowans
    Feb 4, 2014 at 17:01
  • I would guess sort it by the original OID then create the new OID via export, and they should coincide
    – Maksim
    Feb 4, 2014 at 18:05
1

It is very important to register your CSV into a geodatabase and OBJECTID will be automatically added hence be able to do what you intend to do

0

My CSV file does have an ObjectID field as the first column, but still I received the same warning. I then exported the event as a shape, and all the values of the columns in the shape file are messed up when my CVS file has millions of rows, but the values look OK when the rows in the CVS file are not so many, e. g. only 10 rows.

1
  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Nov 19, 2023 at 1:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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