ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This class represents a FeatureSource backed by ESRI a Shape File.
ShapeFileFeatureSource(String,ShapeFileReadWriteMode)
ShapeFileFeatureSource(String,String)
ShapeFileFeatureSource(String,String,ShapeFileReadWriteMode)
ShapeFileFeatureSource(String,String,ShapeFileReadWriteMode,Encoding)
AddColumnDouble(String,Int32,Int32)
AddColumnInteger(String,Int32)
GetDataFromDbf(String,IEnumerable<String>)
GetDataFromDbf(String,ReturningColumnsType)
GetDataFromDbf(IEnumerable<String>)
GetDataFromDbf(IEnumerable<String>,String)
GetDataFromDbf(IEnumerable<String>,IEnumerable<String>)
GetDataFromDbf(IEnumerable<String>,ReturningColumnsType)
UpdateDbfData(String,String,String)
UpdateDbfData(String,IEnumerable<String>,IEnumerable<String>)
GetAllFeatures(IEnumerable<String>)
GetAllFeatures(ReturningColumnsType)
GetFeaturesOutsideBoundingBox(RectangleShape,IEnumerable<String>)
GetFeaturesOutsideBoundingBox(RectangleShape,ReturningColumnsType)
GetFeaturesInsideBoundingBox(RectangleShape,IEnumerable<String>)
GetFeaturesInsideBoundingBox(RectangleShape,IEnumerable<String>,IEnumerable<String>)
GetFeaturesInsideBoundingBox(RectangleShape,ReturningColumnsType)
GetFeaturesForDrawing(RectangleShape,Double,Double,IEnumerable<String>,IEnumerable<String>)
ApplyFilters(IEnumerable<Feature>,IEnumerable<String>,IEnumerable<String>)
GetFeaturesForDrawing(RectangleShape,Double,Double,IEnumerable<String>)
GetFeaturesForDrawing(RectangleShape,Double,Double,ReturningColumnsType)
SpatialQuery(BaseShape,QueryType,IEnumerable<String>)
SpatialQuery(BaseShape,QueryType,IEnumerable<String>,IEnumerable<String>)
SpatialQuery(BaseShape,QueryType,ReturningColumnsType)
SpatialQuery(Feature,QueryType,IEnumerable<String>)
SpatialQuery(Feature,QueryType,ReturningColumnsType)
GetFeaturesNearestTo(BaseShape,GeographyUnit,Int32,IEnumerable<String>)
GetFeaturesNearestTo(BaseShape,GeographyUnit,Int32,ReturningColumnsType)
GetFeaturesNearestTo(Feature,GeographyUnit,Int32,IEnumerable<String>)
GetFeaturesNearestTo(Feature,GeographyUnit,Int32,ReturningColumnsType)
GetFeaturesNearestTo(BaseShape,GeographyUnit,Int32,IEnumerable<String>,Double,DistanceUnit)
GetFeaturesNearestTo(Feature,GeographyUnit,Int32,IEnumerable<String>,Double,DistanceUnit)
GetFeaturesWithinDistanceOf(BaseShape,GeographyUnit,DistanceUnit,Double,IEnumerable<String>)
GetFeaturesWithinDistanceOf(BaseShape,GeographyUnit,DistanceUnit,Double,ReturningColumnsType)
GetFeaturesWithinDistanceOf(Feature,GeographyUnit,DistanceUnit,Double,IEnumerable<String>)
GetFeaturesWithinDistanceOf(Feature,GeographyUnit,DistanceUnit,Double,ReturningColumnsType)
GetFeatureById(String,IEnumerable<String>)
GetFeatureById(String,ReturningColumnsType)
GetFeaturesByIds(IEnumerable<String>,IEnumerable<String>,IEnumerable<String>)
GetFeaturesByIds(IEnumerable<String>,IEnumerable<String>)
GetFeaturesByIds(IEnumerable<String>,ReturningColumnsType)
GetAllFeatures(ReturningColumnsType,Int32,Int32)
GetAllFeatures(IEnumerable<String>,Int32,Int32)
GetFeaturesByColumnValue(String,String,ReturningColumnsType)
GetFeaturesByColumnValue(String,String,IEnumerable<String>)
GetFeaturesByColumnValue(String,String)
Rebuild(String,ShapeFileSortingMode,Int32)
BuildIndexFile(String,BuildIndexMode)
BuildIndexFile(String,String,BuildIndexMode)
BuildIndexFile(String,String,Projection,BuildIndexMode)
BuildIndexFile(String,String,String,String,BuildIndexMode)
BuildIndexFile(String,String,Projection,String,String,BuildIndexMode)
BuildIndexFile(String,String,Projection,String,String,BuildIndexMode,Encoding)
BuildIndexFile(IEnumerable<Feature>,String)
BuildIndexFile(IEnumerable<Feature>,String,Projection)
BuildIndexFile(IEnumerable<Feature>,String,BuildIndexMode)
BuildIndexFile(IEnumerable<Feature>,String,Projection,BuildIndexMode)
GetValidColumns(IEnumerable<DbfColumn>)
GetValidColumns(IEnumerable<DbfColumn>,Encoding)
GetValidColumnNames(IEnumerable<String>)
GetValidColumnNames(IEnumerable<String>,Encoding)
CreateShapeFile(ShapeFileType,String,IEnumerable<DbfColumn>)
CreateShapeFile(ShapeFileType,String,IEnumerable<DbfColumn>,Encoding)
CreateShapeFile(ShapeFileType,String,IEnumerable<DbfColumn>,Encoding,OverwriteMode)
CloneShapeFileStructure(String,String)
CloneShapeFileStructure(String,String,OverwriteMode)
CloneShapeFileStructure(String,String,OverwriteMode,Encoding)
BuildRecordIdColumn(String,String,BuildRecordIdMode)
BuildRecordIdColumn(String,String,BuildRecordIdMode,Int32)
BuildRecordIdColumn(String,String,BuildRecordIdMode,Int32,Encoding)
SaveToProjection(String,String,Projection,OverwriteMode)
CommitTransactionCore(TransactionBuffer)
GetAllFeaturesCore(IEnumerable<String>)
GetFeaturesOutsideBoundingBoxCore(RectangleShape,IEnumerable<String>)
GetFeaturesInsideBoundingBoxCore(RectangleShape,IEnumerable<String>)
GetFeaturesByColumnValueCore(String,String,IEnumerable<String>)
GetFeatureIdsForDrawingCore(RectangleShape,Double,Double)
GetFeaturesForDrawingCore(RectangleShape,Double,Double,IEnumerable<String>)
GetFeaturesByIdsCore(IEnumerable<String>,IEnumerable<String>)
ConvertToInternalProjection(IEnumerable<Feature>)
GetColumnNamesOutsideFeatureSource(IEnumerable<String>)
GetReturningColumnNames(ReturningColumnsType)
RemoveEmptyAndExcludeFeatures(Collection<Feature>)
OnDrawingProgressChanged(DrawingProgressChangedEventArgs)
GetFeaturesByActionWithStyleFilters(IEnumerable<String>,IEnumerable<String>,ZoomLevel,Func<Collection<Feature»,IEnumerable<String>,RectangleShape)
ApplyLinkColumnValues(IEnumerable<String>,Func<IEnumerable<String>,Collection<Feature»,IEnumerable<String>)
ApplyLinkColumnValues(IEnumerable<Feature>,IEnumerable<String>,IEnumerable<String>,IEnumerable<String>)
GetRequiredColumnNamesForLink(IEnumerable<String>)
GetReturningColumnNamesForLink(IEnumerable<String>,IEnumerable<String>)
CheckHasLinkColumns(IEnumerable<String>,IEnumerable<String>)
RaiseCustomColumnFetchEvent(Collection<Feature>,Collection<String>,Boolean)
OnApplyingFilters(ApplyingFiltersFeatureSourceEventArgs)
ConvertToExternalProjectionIfNecessary(Collection<Feature>)
ProcessTransaction(RectangleShape,Collection<Feature>,Boolean)
GetWrappingFeaturesLeft(RectangleShape,Double,Double,IEnumerable<String>,RectangleShape)
GetWrappingFeaturesRight(RectangleShape,Double,Double,IEnumerable<String>,RectangleShape)
SpatialQueryCore(BaseShape,QueryType,IEnumerable<String>)
GetFeaturesNearestToCore(BaseShape,GeographyUnit,Int32,IEnumerable<String>)
GetFeaturesWithinDistanceOfCore(BaseShape,GeographyUnit,DistanceUnit,Double,IEnumerable<String>)
ConvertToExternalProjection(IEnumerable<RectangleShape>)
ConvertToInternalProjection(IEnumerable<RectangleShape>)
ConvertToExternalProjection(RectangleShape)
OnBuildingIndex(BuildingIndexShapeFileFeatureSourceEventArgs)
OnRebuilding(RebuildingShapeFileFeatureSourceEventArgs)
When you specify the path and file name it should be in the correct format as such however the file does not need to exists on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists then we will attempt to use it. If we cannot find it then we will raise the SteamLoading event and allow you to supply the stream. For example you can pass in “C:\NotARealPath\File1.shp” which does not exists on the file system. When we raise the event for you to supply a stream we will pass to you the path and file name for you to differentiate the files.
This property gets and sets the path and file of the index you want to use.
When you specify the path and file name it should be in the correct format as such however the file does not need to exists on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists then we will attempt to use it. If we cannot find it then we will raise the SteamLoading event and allow you to supply the stream. For example you can pass in “C:\NotARealPath\File1.idx” which does not exists on the file system. When we raise the event for you to supply a stream we will pass to you the path and file name for you to differentiate the files.
N/A
This property returns if the FeatureSource allows edits or is read only.
This property is useful to check if a specific FeatureSource accepts editing. If you call the BeginTransaction and this property is false then an exception will be raised. For developers who are creating or extending a FeatureSource it is expected that you override this virtual method if the new FeatureSource you are creating allows edits. By default the decimalDegreesValue if false meaning that if you want to allow edits you must override this method and return true.
N/A
This property gets and sets the requirement of index when reading data. The default value is true.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This property specifies the FeatureSource can excute sql query or not. If it is false, then it will throw exception when called the APIs:ExecuteScalar,ExecuteNonQuery,ExecuteQuery This orverides will make it true.
N/A
N/A
N/A
N/A
If you choose you can pass in your own stream to represent the file. The stream can come from a variety of places such as isolated storage, a compressed file, and encrypted stream. When the Image is finished with the stream it will dispose of it so be sure to keep this in mind when passing the stream in. If you do not pass in a alternate stream the class will attempt to load the file from the file system using the PathFileName property.
Event Arguments:StreamLoadingEventArgs
BuildingIndex This event will be fired each time a record was built the rtree index. You can choose to use this event to build the build index progess bar.
N/A
Event Arguments:ClosedFeatureSourceEventArgs