Skip to main content

ShapefileDataAdapter Members

A data adapter that loads data from shapefiles and displays it on vector layers.

Constructors

Name Description
ShapefileDataAdapter() Initializes a new instance of the ShapefileDataAdapter class with default settings.

Properties

Name Description
Clusterer Gets or sets the clusterer used to clusterize map items. Inherited from MapDataAdapterBase.
DefaultEncoding Gets or sets the encoding, which should be used if a file does not contain encoding information.
FileUri Gets or sets an Uri that defines the location of a shapefile.
SourceCoordinateSystem Gets or sets the coordinate system of a data adapter. Inherited from CoordinateSystemDataAdapterBase.

Methods

Name Description
Dispose() Disposes of the current object. Inherited from MapDisposableObject.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Load() Loads data from a datasource. Inherited from FileDataAdapterBase.
LoadFromStream(Stream, Stream) Loads data in a Shapefile format from a stream.
LoadPrjFile() Obsolete. Loads the *.prj file data, which contains information about the coordinate system and projection.
LoadPrjFile(Uri) static Loads coordinate system metadata from the *.PRJ file.
LoadPrjFromStream(Stream) static Loads coordinate system metadata from the specified stream.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetMapItemFactory(IMapItemFactory) Sets the factory used to generate map items. Inherited from MapDataAdapterBase.
ToString() Returns the textual representation of ShapefileDataAdapter.

Events

Name Description
DataChanged Occurs when data is changed. Inherited from MapDataAdapterBase.
ItemsLoaded Occurs when items are loaded. Inherited from FileDataAdapterBase.
See Also