How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.
Data has been provided for your use with this sample. It can be found at
<Your ArcGIS Developer Kit Install directory>/Samples/data/SimplePointData/points.csp.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders.
However, you will need to update the sample to point to the location of the data once you have extracted all the files.
- Open the solution using Visual Studio.
- Build the solution to make the SimplePointPlugin class library.
Using simple point with ArcGIS for 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 <ArcGIS Developer Kit Installation folder>\Samples\data\SimplePointData.
- From the datasets list, select the datasets to add to the map and click OK.
SimplePointWkspFact.cs | Simple point workspace factory helper implementation. |
SimplePointWksp.cs | Simple point workspace helper implementation. |
SimplePointDataset.cs | Simple point plug-in dataset helper implementation. |
SimplePointCursor.cs | Simple point plug-in cursor implementation. |
AddSimplePointLayerCmd.cs | Command for adding SimplePoint dataset programmatically. |
OpenSimplePointDlg.cs | A dialog box to select SimplePoint datasets. |
OpenSimplePointDlg.Designer.cs | Designer file of the OpenSimplePointDlg dialog box. |
SimplePointWkspFact.vb | Simple point workspace factory helper implementation. |
SimplePointWksp.vb | Simple point workspace helper implementation. |
SimplePointDataset.vb | Simple point plug-in dataset helper implementation. |
SimplePointCursor.vb | Simple point plug-in cursor implementation. |
AddSimplePointLayerCmd.vb | Command for adding SimplePoint dataset programmatically. |
OpenSimplePointDlg.vb | A dialog box to select SimplePoint datasets. |
OpenSimplePointDlg.Designer.vb | Designer file of the OpenSimplePointDlg dialog box. |
Download the files for all languages
See Also:
Plug-in data sourcesCreating a plug-in data source
Implementing optional functionality on plug-in data sources
Adding a plug-in data source programmatically
Development licensing | Deployment licensing |
---|---|
ArcGIS for Desktop Basic | ArcGIS for Desktop Basic |
ArcGIS for Desktop Standard | ArcGIS for Desktop Standard |
ArcGIS for Desktop Advanced | ArcGIS for Desktop Advanced |
Engine Developer Kit | Engine |