How do you add a data source in ArcGIS?

How do you add a data source in ArcGIS?

Adding data sources

  1. Verify that you are in layout view if necessary.
  2. Right-click the graphic table element and click Properties.
  3. If necessary, click the Data Source tab.
  4. Click Add.
  5. Click the data source you want to use from the Data Sources list.

Can you learn GIS on your own?

There are some options for self-guided GIS learning. Many U.S. public libraries have a subscription to Lynda.com, a subscription-based site that provides online tutorials. Check with your local library to see if they have a subscription, providing you with free access to this site’s GIS tutorials.

How to update data sources in ArcGIS Pro?

The Catalog View in ArcGIS Pro has capabilities for updating data sources. However, making these changes manually in every affected map or project can be overwhelming. Methods are available with the arcpy.mp scripting environment that make it possible to automate these changes without having to open a project.

Why do I need to update arcpy.mp API?

All arcpy.mp API changes directly update ArcGIS Pro. The methods and parameters for changing a layer’s or table’s data source has changed. The improved design allows for better management of database connections and other data sources that may be joined or related. For more information, see Updating and fixing data sources.

How to change arcpy.mapping to ArcGIS Pro?

The first and most obvious change is that arcpy.mp in ArcGIS Pro needs to reference a project file ( .aprx) rather than a map document ( .mxd ). Therefore, you need to replace arcpy.mapping.MapDocument (mxd_path) with arcpy.mp.ArcGISProject (aprx_path).

How to find and replace data sources in ArcPy?

A data source for a layer or table is the combination of the workspace and dataset. The findAndReplaceWorkspacePaths method on the MapDocument object is intended to perform a global find and replace of workspace paths for all layers and tables in a map document that share that workspace path.