Adding x,y coordinate data as a layer

In addition to data sources, such as a shapefile, you can add tabular data that contains geographic locations in the form of x,y coordinates to your map. If the table also contains z-coordinates, such as elevation values, you can add tabular data as 3D content into your globe or scene.

X,Y coordinates describe points on the earth's surface such as the location of fire hydrants in a city or the points where water samples were collected. You can easily collect x,y coordinate data using a GPS (also, frequently an elevation [z]-value).

To add a table of x,y coordinates to your map, globe, or scene, the table must contain two fields: one for the x-coordinate and one for the y-coordinate. The values in the fields may represent any coordinate system and units such as latitude and longitude or meters. A field for the z-coordinates that enables 3D geometry is optional.

The fields must be numeric. If the fields are not numeric, such as when the coordinate value is stored in degrees, minutes, and seconds (for example, -120 13 58), the coordinates will be converted and displayed as decimal degrees.

Once you have added the data to your map, globe, or scene, it becomes an x,y event layer and behaves like other point feature layers. For instance, you can decide whether you want to display it, symbolize it, set the visible scale, or display a subset of features that meet some criteria. In 3D, you can also change properties such as the layer's vertical exaggeration or its offset from an elevation surface.

Steps for adding x,y data as a layer

  1. Click File > Add Data > Add XY Data.
    Adding x,y data as a layer
  2. Select the table that contains x,y coordinate data.
  3. Identify the columns that hold the x- and y-coordinates (and, optionally, the z-coordinate).
  4. Specify the coordinate system.

You can also add x,y data in tables as a new feature class using geoprocessing.

NoteNote:

As an alternative, you can use the Catalog window to select the table that contains the x,y columns and create a feature class.

Creating a feature class from x,y data in the Catalog window

X,Y event layers and ObjectID fields

If the table on which an x,y event layer is based does not have an ObjectID field, you won't be able to perform certain tasks on the layer. Delimited text files or tables from OLE DB connections are some examples of tables without ObjectID fields.

Without an ObjectID field, you will not be able to do the following:

If you want to be able to perform these tasks, you can export the x,y layer to a feature class using the steps below or follow the steps above to use the Catalog window to create a feature class from an x,y table. Both of these procedures create a fully functional feature class with an ObjectID field.

Learn more about ObjectID fields

Saving an x,y layer as a feature class

You can save the contents of an x,y layer as a feature class using the following steps:

  1. Right-click the x,y layer name and click Data > Export Data. The Export Data dialog box opens.
    Export layer to feature class
  2. Set the output coordinate system and specify the location and name of the new feature class.
  3. Click OK to save the new feature class.

3/5/2014