This document is archived and information here might be outdated.  Recommended version.


Sample: SimplePoint Plug-in Data Source (ArcObjects .NET 10.4 SDK)

SimplePoint Plug-in Data Source


Purpose
This sample implements a read-only plug-in data source. The data format is a text file of formatted XY locations with a single character attribute.

How to use

Data has been provided for your use with this sample. It can be found at <Your ArcGIS Developer Kit Install directory>/Samples/data/SimplePoint_Towns.spt.
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.

  1. Open and build the solution to register the DLL and register to component categories.
  2. In ArcCatalog, browse to the Simplepoint_towns.spt file. Try previewing the dataset, using the zoom and identify tools.
  3. You should also be able to use the Towns dataset in ArcMap.
ClassFactory.h Header file containing implementation of per-thread singleton object.
GeneralUtils.cpp Implementation of utility functions.
GeneralUtils.h Header file for utility functions.
SimplePointCursorHelper.cpp Implementation of plug-in cursor helper object.
SimplePointCursorHelper.h Header file for plug-in cursor helper.
SimplePointDatasetHelper.cpp Implementation of plug-in dataset helper object
SimplePointDatasetHelper.h Header file for plug-in dataset helper.
SimplePointVC.idl Interface Definition Language file.
SimplePointWorkspaceFactory.cpp Implementation of plug-in workspace factory object.
SimplePointWorkspaceFactory.h Header file for plug-in workspace factory.
SimplePointWorkspaceHelper.cpp Implementation of plug-in workspace helper object.
SimplePointWorkspaceHelper.h Header file for plug-in workspace helper.
StdAfx.h Standard precompiled header file that imports ArcGIS object libraries.
Download the VCPP files

Download the files for all languages




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