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.

Fields

Name Description
ClustererProperty static Identifies the MapDataAdapterBase.Clusterer dependency property. Inherited from MapDataAdapterBase.
DefaultEncodingNameProperty static Identifies the ShapefileDataAdapter.DefaultEncodingName dependency property.
FileUriProperty static ShapefileDataAdapterIdentifies the ShapefileDataAdapter.FileUri dependency property.
SourceCoordinateSystemProperty static Identifies the CoordinateSystemDataAdapterBase.SourceCoordinateSystem dependency property. Inherited from CoordinateSystemDataAdapterBase.

Properties

Name Description
Clusterer Gets or sets the clusterer that aggregates map items. Inherited from MapDataAdapterBase.
DefaultEncodingName Gets or sets the encoding name, which should be used if a file does not contain encoding information.
DisplayItems Returns map items which are displayed by a map control. Inherited from MapDataAdapterBase.
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
GetItemBySourceObject(Object) Gets a map item by the source object. Inherited from MapDataAdapterBase.
GetItemSourceObject(MapItem) Returns the source object of the specified map item.
LoadData() Loads data from the specified data source. Inherited from MapDataAdapterBase.
LoadFromStream(Stream, Stream) Loads Shapefile formatted data from streams.
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.
OnClustered() Called after the clusterization is finished. Inherited from MapDataAdapterBase.
OnViewportUpdated(MapViewport) Called every time the viewport is changed. Inherited from MapDataAdapterBase.

Events

Name Description
PropertyChanged Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject.
ShapesLoaded Occurs when vector items have been loaded.
See Also