Skip to content

Latest commit

 

History

History

DatastoresDefinitionsAndDatasets

DatastoresDefinitionsAndDatasets

This sample illustrates the use of Datastore, Definitions, and Datasets of the Geodatabase API.

View it live

Language:              C#
Subject:               Geodatabase
Contributor:           ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization:          Esri, https://www.esri.com
Date:                  04/04/2024
ArcGIS Pro:            3.3
Visual Studio:         2022
.NET Target Framework: net8.0-windows

Resources

Community Sample Resources

Samples Data

  • Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.

How to use the sample

  1. In Visual studio click the Build menu. Then select Build Solution.
  2. Click Start button to open ArcGIS Pro.
  3. ArcGIS Pro will open, select any project
  4. Open the Add-in tab and click the "Datastore Datasets and Definitions" button to open "Datastore Datasets and Definitions" dockpane.
    UI
  5. Select a Datastore Type from the drop down and then enter a data path that contains the selected datastore.
  6. Data Path samples are:
  7. For "File Geodatabase": any folder with a .GDB extension for example: C:\Data\FeatureTest\FeatureTest.gdb
  8. For "Enterprise Geodatabase": select a Database Connection file with the .SDE file extension.
  9. For "Feature Service": https://sdk5.esri.com/server/rest/services/Alameda/FeatureServer
  10. For "Sqlite Database": any folder with a .SQLITE? extension
  11. For "Shape File": any folder that contains shape files with a .SHP extension
    UI
  12. Click the "Load Metadata" button to retrieve the metadata from the specified data source.
  13. The "Data Type" drop down and the "Datasets" list are updated to reflect the content of the selected data source.
  14. Select a "Data Type" drop down and a "Dataset" to view some of the datasource's metadata.
    UI
    UI
    UI

      ArcGIS Pro SDK for Microsoft .NET Framework              Home | API Reference | Requirements | Download | Samples