Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
DarkImages
Images
Properties
Screenshots
Config.daml
DataSetInfo.cs
DatasetTypeCategory.cs
DatastoreCategory.cs
DatastoresDefinitionsAndDatasets (C#).md
DatastoresDefinitionsAndDatasets.csproj
DatastoresDefinitionsAndDatasets.sln
Dockpane.xaml
Dockpane.xaml.cs
DockpaneViewModel.cs
EnumDatastoreType.cs
Module1.cs
ReadMe.md

ReadMe.md

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, http://www.esri.com
Date:                  6/27/2019
ArcGIS Pro:            2.4
Visual Studio:         2017, 2019
.NET Target Framework: 4.6.1

Resources

ArcGIS Pro SDK for .NET Icons

Samples Data

  • Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the repo 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

You can’t perform that action at this time.