| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 年前 | ||
| 6 年前 | ||
| 9 年前 | ||
| 6 年前 | ||
| 6 年前 |
Simple point plug-in data source
This sample implements a plug-in data source for a SimplePoint data format to provide direct read-only ArcGIS support for the format.
The data in this sample follows a simple format. An American Standard Code for Information Interchange (ASCII) text file contains data for each new point on a new line. The first six characters are the x-coordinate, the next six characters contain the y-coordinate, and the trailing characters contain an attribute value. You can use the sample data from the software development kit (SDK) samples folder or create data according to the preceding specifications.
For more information, see [Creating a plug-in data source](http://f4ce6eb3-606c-4aa1-a7ba-28abaa81f930).
Language: C#, VB
Subject: Geodatabase
Organization: Esri, http://www.esri.com
Date: 10/17/2019
ArcObjects SDK: 10.8
Visual Studio: 2017, 2019
.NET Target Framework: 4.5
Resources
- ArcObjects .NET API Reference online
- Sample Data Download
- What's new
- Download the ArcObjects SDK for .Net from MyEsri.com
Usage
- Open the solution using Visual Studio.
- Build the solution to make the SimplePointPlugin class library.
Using simple point with ArcGIS Desktop
- Start ArcCatalog and ArcMap.
- In ArcCatalog, browse to the ArcGIS installation folder and locate the Developer Kit's Samples\Data\SimplePointData\ folder (you will see a Points dataset).
- In ArcCatalog's tree-view, expand the feature dataset to view the contained datasets.
- Drag the Points dataset onto ArcMap.
- In ArcMap, use the layer's properties to change the renderer to a "Unique values renderer." Use the values from the ColumnOne field.
- Examine the layer's attribute table, identify and apply the selection on the layer.
Using simple point with ArcGIS Engine
- Use this command in an application with a MapControl or PageLayoutControl, and a ToolbarControl.
- Add the command to the ToolbarControl. The command (Add SimplePoint layer) can be found in the .NET Samples category.
- Run the application.
- Click the Add SimplePoint layer command. The OpenSimplePointDlg dialog box appears.
- Click the Open Simple Point Data button to browse for Simple Point data datasets. Use Points in \Samples\data\SimplePointData.
- From the datasets list, select the datasets to add to the map and click OK.
See Also
Plug-in data sources
Creating a plug-in data source
Implementing optional functionality on plug-in data sources
Adding a plug-in data source programmatically
Licensing
| Development licensing | Deployment licensing |
|---|---|
| ArcGIS Desktop Basic | ArcGIS Desktop Basic |
| ArcGIS Desktop Standard | ArcGIS Desktop Standard |
| ArcGIS Desktop Advanced | ArcGIS Desktop Advanced |
| Engine Developer Kit | Engine |