In this topic
A plug-in data source integrates a new data format completely into ArcGIS as read-only. The data source can be browsed, previewed, and managed through ArcCatalog. The data can be selected, rendered, queried, labeled, and joined in ArcMap. The data source can also be accessed using normal geodatabase interfaces such as IWorkspace and IFeatureClass. See the following screen shot:
A plug-in data source integrates a new data format
completely into ArcGIS as read-only.
There are some limitations to plug-in data sources: only
tables, feature classes, and feature datasets are
supported; plug-in data sources cannot be integrated
with geodatabase objects such as relationship classes
and geometric networks. Also, only simple feature types
—
points, lines, and polygons
—
are supported; for example, plug-in data sources for
annotation or dimension features cannot be implemented.
There are two main alternatives to a plug-in data
source. The first is to implement a custom layer; the
other alternative is to implement an Open Geodata
Interoperability Specification (OGIS)-compliant Object
Linking and Embedding (OLE) database provider. The
comparison of custom data source implementations
table
in this document analyzes the relative merits of
different solutions for custom data.
The plug-in data source mechanism can support many kinds of data. It is useful to categorize them into three types: file-based, folder-based, and database data sources.
To understand different kinds of data sources, it is important to note the distinction between a dataset and a workspace. A dataset may be a table, a feature class (table with geometry), or a feature dataset (a collection of feature classes that share the same spatial reference). A workspace is a collection of datasets in the same location.
In a file-based data source, a dataset is a file or group of files, named such that there may be multiple datasets in a single folder. The folder is considered the workspace. If a dataset has several files, the files usually have the same base name with different extensions. For example, a shapefile is a collection of files that have the same base name and several extensions, in particular .dbf, .shp, and .shx, as well as optional files, such as .prj, .sbn, .sbx, and .shp.xml (ArcGIS software-generated metadata). So a collection of files named streets.dbf, streets.shp, and streets.shx are together a single shapefile named streets. Another example of a file-based data source is CAD.
Data sources are categorized into three types: file-based,
folder-based, and database data sources. Shapefiles are an
example of a file-based data source.
In a folder-based data source, a dataset is a file or
group of files, named such that there can be only one
dataset in a folder. The workspace is considered the
folder that contains the dataset folder. The files
usually have the same names for every dataset, and the
name of the folder is the name of the dataset. For
example, a coverage consists of a folder whose name is
the name of the dataset. This folder contains files such
as aat.adf, arc.adf, arx.adf, bnd.adf, tic.adf, and
others. The folder that contains this folder may have
many coverages and has a folder (info) that has
information about all coverages in that workspace. A
coverage is also an example of a feature dataset.
Another example of a folder-based data source is the
Vector Product Format (VPF).
Coverages are an example of a folder-based data source.
In a database data source, a workspace is a file or
group of files or may not be a file at all but is
specified by a workspace string only. It is generally
possible to have several of these workspaces in a single
folder. For example, with an Access personal
geodatabase, a workspace is a single file with a .mdb
extension whose base name is the name of the database.
The database can contain multiple datasets. ArcSDE
workspaces have no necessary files, though they may be
represented in the file system as a connection file that
has a connection string. The connection string specifies
how to access the data over Transmission Control
Protocol/Internet Protocol (TCP/IP).
A personal geodatabase is an example of a database data
source.
The following table compares custom data source implementations:
Data source
|
Advantages
|
Disadvantages
|
Custom layers
|
|
|
Plug-in data sources
|
|
|
OGIS-compliant OLE database providers
|
|
|
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | ArcView |
ArcEditor | ArcEditor |
ArcInfo | ArcInfo |
ArcReader |