C# Class MapAround.DataProviders.ShapeFileSpatialDataProvider

Instances of MapAround.DataProviders.ShapeFileSpatialDataProvider provides access to the data stored in ESRI shape-file format.
Inheritance: SpatialDataProviderBase
Exibir arquivo Open project: gkrsu/maparound.core Class Usage Examples

Public Methods

Method Description
QueryFeatures ( IFeatureReceiver receiver ) : int

Adds features retrieved from the data source to the receiver.

QueryFeatures ( IFeatureReceiver receiver, BoundingRectangle bounds ) : int

Adds features retrieved from the data source to the receiver.

Private Methods

Method Description
addFeaturesToCache ( IFeatureReceiver fr, List points, List multiPoints, List polylines, List polygons ) : void
buildAndSaveIndex ( MapAround featureType, BoundingRectangle b, IndexSettings settings, IEnumerable features ) : void
geometryFromShapeRecord ( ShapeFileRecord record ) : IGeometry
internalQueryFeatures ( IFeatureReceiver fr, BoundingRectangle bounds, bool checkBounds ) : int
processFeature ( Feature feature, IFeatureReceiver fr, List points, List multiPoints, List polylines, List polygons ) : bool

Method Details

QueryFeatures() public method

Adds features retrieved from the data source to the receiver.
public QueryFeatures ( IFeatureReceiver receiver ) : int
receiver IFeatureReceiver An object that receives features
return int

QueryFeatures() public method

Adds features retrieved from the data source to the receiver.
public QueryFeatures ( IFeatureReceiver receiver, BoundingRectangle bounds ) : int
receiver IFeatureReceiver An object that receives features
bounds BoundingRectangle Rectangular region you want to fill with the objects
return int