User Tools

Site Tools


12.0:apis:thinkgeo.core.querytools

ThinkGeo.Core.QueryTools

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Core.QueryTools

Members Summary

Public Constructors

QueryTools(FeatureSource)

  • This is a constructor for the class.
Remarks
  • Each of the calls in this class thunk through to the FeatureSource passed in.
Parameters
  • featureSource
    • Description:This parameter is the FeatureSource that will provide the functionality for this class's methods.

Protected Constructors

QueryTools()

  • This is a constructor for the class.
Remarks
  • This is the default constructor, though it is typically not intended to be used.
Parameters

Public Methods

GetFeaturesByColumnValue(String,String,ReturningColumnsType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Feature>
  • Description:The returnning features matches the columnValue.
Parameters
  • columnName
    • Type:String
    • Description:The specified columnName to match the columnValue.
  • columnValue
    • Type:String
    • Description:The specified columnValue to match those returning features.
  • returningColumnType
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesByColumnValue(String,String,IEnumerable<String>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Feature>
  • Description:The returnning features matches the columnValue.
Parameters
  • columnName
    • Type:String
    • Description:The specified columnName to match the columnValue.
  • columnValue
    • Type:String
    • Description:The specified columnValue to match those returning features.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesByColumnValue(String,String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Feature>
  • Description:The returnning features matches the columnValue.
Parameters
  • columnName
    • Type:String
    • Description:The specified columnName to match the columnValue.
  • columnValue
    • Type:String
    • Description:The specified columnValue to match those returning features.

GetFeaturesContaining(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that contain the specified target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that contain the TargetShape you passed in.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesContaining(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that contain the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.ReturningColumnsType:NoColumns - This method ensures that the returning features contain no column values.AllColumns - This method ensures that the returning features contain all column values.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesContaining(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that contain the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.ReturningColumnsType:NoColumns - This method ensures that the returning features contain no column values.AllColumns - This method ensures that the returning features contain all column values.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesContaining(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that contain the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.ReturningColumnsType:NoColumns - This method ensures that the returning features contain no column values.AllColumns - This method ensures that the returning features contain all column values.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetFeature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesCrossing(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that cross the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Crossing - The Geometries share some but not all interior points, and the dimension of the intersection is less than that of at least one of the Geometries.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that cross the TargetShape you passed in.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesCrossing(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that cross the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.ReturningColumnsType:NoColumns - This method ensures that the returning features contain no column values.AllColumns - This method ensures that the returning features contain all column values.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesCrossing(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the Internalfeatures that cross the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.ReturningColumnsType:NoColumns - This method ensures that the returning features contain no column values.AllColumns - This method ensures that the returning features contain all column values.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesCrossing(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the Internalfeatures that cross the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.ReturningColumnsType:NoColumns - This method ensures that the returning features contain no column values.AllColumns - This method ensures that the returning features contain all column values.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesDisjointed(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that disjoint the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Disjoint - The Geometries have no point in common.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesDisjointed(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that disjoint the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Disjoint - The Geometries have no point in common.ReturningColumnsType:NoColumns - This method ensures that the returning features contain no column values.AllColumns - This method ensures that the returning features contain all column values.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesDisjointed(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that disjoint the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Disjoint - The Geometries have no point in common.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesDisjointed(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that disjoint the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Disjoint - The Geometries have no point in common.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the columns contained in the return features.

GetFeaturesIntersecting(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that intersect the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Intersecting - The Geometries have at least one point in common (the inverse of Disjoint).
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesIntersecting(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that intersect the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Intersecting - The Geometries have at least one point in common (the inverse of Disjoint).
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesIntersecting(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that intersect the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Intersecting - The Geometries have at least one point in common (the inverse of Disjoint).
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesIntersecting(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that intersect the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Intersecting - The Geometries have at least one point in common (the inverse of Disjoint).
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesOverlapping(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that overlap the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Overlapping - The Geometries share some but not all points in common, and the intersection has the same dimension as the Geometries themselves.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesOverlapping(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that overlap the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Overlapping - The Geometries share some but not all points in common, and the intersection has the same dimension as the Geometries themselves.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesOverlapping(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that overlap the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Overlapping - The Geometries share some but not all points in common, and the intersection has the same dimension as the Geometries themselves.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesOverlapping(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that overlap the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.Overlapping - The Geometries share some but not all points in common, and the intersection has the same dimension as the Geometries themselves.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTopologicalEqual(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that topologicalEqual the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTopologicalEqual(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that topologicalEqual the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTopologicalEqual(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that topologicalEqual the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTopologicalEqual(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that topologicalEqual the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTouching(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that touch the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTouching(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that touch the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTouching(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that touch the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesTouching(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that touch the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesWithin(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are within the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesWithin(BaseShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are within the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter specifies the target shape used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesWithin(Feature,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are within the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesWithin(Feature,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are within the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter specifies the target feature used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesOutsideBoundingBox(RectangleShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are outside of the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that are outside of the target rectangle shape.
Parameters
  • boundingBox
    • Description:This parameter specifies the target boundingBox used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesOutsideBoundingBox(RectangleShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are outside of the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that are outside of the target rectangle shape.
Parameters
  • boundingBox
    • Description:This parameter specifies the target boundingBox used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesInsideBoundingBox(RectangleShape,IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are inside of the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that are inside of the target rectangle shape.
Parameters
  • boundingBox
    • Description:This parameter specifies the target boundingBox used in the spatial query.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the column values in the return features.

GetFeaturesInsideBoundingBox(RectangleShape,ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures that are inside of the target shape. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of InternalFeatures that are inside of the target rectangle shape.
Parameters
  • boundingBox
    • Description:This parameter specifies the target boundingBox used in the spatial query.
  • returningColumnNamesType
    • Description:This parameter specifies the column values in the return features.

GetFeaturesNearestTo(BaseShape,GeographyUnit,Int32,IEnumerable<String>)

  • N/A
Remarks
  • This method returns a user defined number of InternalFeatures that are closest to the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided create a small bounding box around the TargetShape and then queries the features inside of it. If we reach the number of items to find, then we measure the returned InternalFeatures to find the nearest. If we do not find enough records, we scale up the bounding box and try again. As you can see, this is not the most efficient method. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesNearestCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a user defined number of InternalFeatures that are closest to the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter is the shape you want to find close InternalFeatures to.
  • unitOfData
    • Description:This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc.
  • maxItemsToFind
    • Type:Int32
    • Description:This parameter defines how many close InternalFeatures to find around the TargetShape.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeaturesNearestTo(BaseShape,GeographyUnit,Int32,ReturningColumnsType)

  • N/A
Remarks
  • This method returns a user defined number of InternalFeatures that are closest to the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided create a small bounding box around the TargetShape and then queries the features inside of it. If we reach the number of items to find, then we measure the returned InternalFeatures to find the nearest. If we do not find enough records, we scale up the bounding box and try again. As you can see, this is not the most efficient method. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesNearestCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a user defined number of InternalFeatures that are closest to the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter is the shape you want to find close InternalFeatures to.
  • unitOfData
    • Description:This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc.
  • maxItemsToFind
    • Type:Int32
    • Description:This parameter defines how many close InternalFeatures to find around the TargetShape.
  • returningColumnNamesType
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeaturesNearestTo(Feature,GeographyUnit,Int32,IEnumerable<String>)

  • N/A
Remarks
  • This method returns a user defined number of InternalFeatures that are closest to the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided create a small bounding box around the TargetShape and then queries the features inside of it. If we reach the number of items to find, then we measure the returned InternalFeatures to find the nearest. If we do not find enough records, we scale up the bounding box and try again. As you can see, this is not the most efficient method. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesNearestCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a user defined number of InternalFeatures that are closest to the TargetFeature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter is the feature you want to find close InternalFeatures to.
  • unitOfData
    • Description:This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc.
  • maxItemsToFind
    • Type:Int32
    • Description:This parameter defines how many close InternalFeatures to find around the feature.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeaturesNearestTo(Feature,GeographyUnit,Int32,ReturningColumnsType)

  • N/A
Remarks
  • This method returns a user defined number of InternalFeatures that are closest to the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided create a small bounding box around the TargetShape and then queries the features inside of it. If we reach the number of items to find, then we measure the returned InternalFeatures to find the nearest. If we do not find enough records, we scale up the bounding box and try again. As you can see, this is not the most efficient method. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesNearestCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a user defined number of InternalFeatures that are closest to the TargetFeature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter is the feature you want to find close InternalFeatures to.
  • unitOfData
    • Description:This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc.
  • maxItemsToFind
    • Type:Int32
    • Description:This parameter defines how many close InternalFeatures to find around the feature.
  • returningColumnNamesType
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeaturesNearestTo(Feature,GeographyUnit,Int32,IEnumerable<String>,Double,DistanceUnit)

  • N/A
Remarks
  • This method returns a user defined number of InternalFeatures that are closest to the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided creates a small bounding box around the TargetShape and then queries the features inside of it. If we reach the number of items to find, then we measure the returned InternalFeatures to find the nearest. If we do not find enough records, we scale up the bounding box and try again. As you can see, this is not the most efficient method. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesNearestCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a user defined number of InternalFeatures that are closest to the TargetShape.
Parameters
  • targetFeature
    • Type:Feature
    • Description:This parameter is feature you want to find InternalFeatures close to.
  • unitOfData
    • Description:This parameter is the unit of measurement that the TargetShape and the FeatureSource are in, such as feet, meters, etc.
  • maxItemsToFind
    • Type:Int32
    • Description:This parameter defines how many close InternalFeatures to find around the TargetShape.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.
  • searchRadius
    • Type:Double
    • Description:Limit the maximize distance proximately to search closest records.
  • unitOfSearchRadius
    • Description:The unit of searchRadius parameter.

GetFeaturesNearestTo(BaseShape,GeographyUnit,Int32,IEnumerable<String>,Double,DistanceUnit)

  • N/A
Remarks
  • This method returns a user defined number of InternalFeatures that are closest to the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided creates a small bounding box around the TargetShape and then queries the features inside of it. If we reach the number of items to find, then we measure the returned InternalFeatures to find the nearest. If we do not find enough records, we scale up the bounding box and try again. As you can see, this is not the most efficient method. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesNearestCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a user defined number of InternalFeatures that are closest to the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:This parameter is the shape you want to find InternalFeatures close to.
  • unitOfData
    • Description:This parameter is the unit of measurement that the TargetShape and the FeatureSource are in, such as feet, meters, etc.
  • maxItemsToFind
    • Type:Int32
    • Description:This parameter defines how many close InternalFeatures to find around the TargetShape.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.
  • searchRadius
    • Type:Double
    • Description:Limit the maximize distance proximately to search closest records.
  • unitOfSearchRadius
    • Description:The unit of searchRadius parameter.

GetFeaturesWithinDistanceOf(BaseShape,GeographyUnit,DistanceUnit,Double,IEnumerable<String>)

  • N/A
Remarks
  • This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided creates a bounding box around the TargetShape using the distance supplied and then queries the features inside of it. This may not be the most efficient method for this operation. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesWithinDistanceOfCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:The shape you wish to find InternalFeatures within a distance of.
  • unitOfData
    • Description:This parameter is the unit of data that the FeatureSource and TargetShape are in.
  • distanceUnit
    • Description:This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc.
  • distance
    • Type:Double
    • Description:This parameter specifies the distance in which to find InternalFeatures around the TargetShape.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeaturesWithinDistanceOf(BaseShape,GeographyUnit,DistanceUnit,Double,ReturningColumnsType)

  • N/A
Remarks
  • This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided creates a bounding box around the TargetShape using the distance supplied and then queries the features inside of it. This may not be the most efficient method for this operation. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesWithinDistanceOfCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape.
Parameters
  • targetShape
    • Type:BaseShape
    • Description:The shape you wish to find InternalFeatures within a distance of.
  • unitOfData
    • Description:This parameter is the unit of data that the FeatureSource and TargetShape are in.
  • distanceUnit
    • Description:This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc.
  • distance
    • Type:Double
    • Description:This parameter specifies the distance in which to find InternalFeatures around the TargetShape.
  • returningColumnNamesType
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeaturesWithinDistanceOf(Feature,GeographyUnit,DistanceUnit,Double,IEnumerable<String>)

  • N/A
Remarks
  • This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided creates a bounding box around the TargetShape using the distance supplied and then queries the features inside of it. This may not be the most efficient method for this operation. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesWithinDistanceOfCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The feature you wish to find InternalFeatures within a distance of.
  • unitOfData
    • Description:This parameter is the unit of data that the FeatureSource and TargetShape are in.
  • distanceUnit
    • Description:This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc.
  • distance
    • Type:Double
    • Description:This parameter specifies the distance in which to find InternalFeatures around the TargetShape.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeaturesWithinDistanceOf(Feature,GeographyUnit,DistanceUnit,Double,ReturningColumnsType)

  • N/A
Remarks
  • This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. It is important to note that the TargetShape and the FeatureSource must use the same unit, such as feet or meters. If they do not, then the results will not be predictable or correct. If there is a current transaction and it is marked as live, then the results will include any transaction Feature that applies. The implementation we provided creates a bounding box around the TargetShape using the distance supplied and then queries the features inside of it. This may not be the most efficient method for this operation. If your underlying data provider exposes a more efficient way, we recommend you override the Core version of this method and implement it. The default implementation of GetFeaturesWithinDistanceOfCore uses the GetFeaturesInsideBoundingBoxCore method for speed. We strongly recommend that you provide your own implementation for this method that will be more efficient. When you override the GetFeaturesInsideBoundingBoxCore method, we recommend that you use any spatial indexes you have at your disposal to make this method as fast as possible. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The feature you wish to find InternalFeatures within a distance of.
  • unitOfData
    • Description:This parameter is the unit of data that the FeatureSource and TargetShape are in.
  • distanceUnit
    • Description:This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc..
  • distance
    • Type:Double
    • Description:This parameter specifies the distance in which to find InternalFeatures around the TargetShape.
  • returningColumnNamesType
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFeatureById(String,IEnumerable<String>)

  • N/A
Remarks
  • This method returns an InternalFeature based on an Id provided.
Return Value
  • Type:Feature
  • Description:This method returns an InternalFeature based on an Id provided.
Parameters
  • id
    • Type:String
    • Description:This parameter is the unique Id for the feature you want to find.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter is a list of column names you want returned with the Feature.

GetFeatureById(String,ReturningColumnsType)

  • N/A
Remarks
  • This method returns an InternalFeature based on an Id provided.
Return Value
  • Type:Feature
  • Description:This method returns an InternalFeature based on an Id provided.
Parameters
  • id
    • Type:String
    • Description:This parameter is the unique Id for the feature you want to find.
  • returningColumnNamesType
    • Description:This parameter is a list of column names you want returned with the Feature.

GetFeaturesByIds(IEnumerable<String>,IEnumerable<String>)

  • N/A
Remarks
  • This method returns a collection of InternalFeatures based on the collection of Ids provided.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a collection of InternalFeatures based on the collection of Ids provided.
Parameters
  • ids
    • Type:IEnumerable<String>
    • Description:This parameter is the collection of Ids you want to find.
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter is a list of column names you want returned with the Features.

GetFeaturesByIds(IEnumerable<String>,ReturningColumnsType)

  • N/A
Remarks
  • This method returns a collection of InternalFeatures based on the collection of Ids provided.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a collection of InternalFeatures based on the collection of Ids provided.
Parameters
  • ids
    • Type:IEnumerable<String>
    • Description:This parameter is the collection of Ids you want to find.
  • returningColumnNamesType
    • Description:This parameter is a list of column names you want returned with the Features.

GetBoundingBoxById(String)

  • N/A
Remarks
  • This method returns the bounding box for the Id specified.
Return Value
  • Description:This method returns the bounding box for the Id specified.
Parameters
  • id
    • Type:String
    • Description:This parameter is the unique Id of the feature for which you want to find the bounding box.

GetBoundingBoxesByIds(IEnumerable<String>)

  • N/A
Remarks
  • This method returns a collection of bounding boxes based on the collection of Ids provided.
Return Value
  • Type:Collection<RectangleShape>
  • Description:This method returns a collection of bounding boxes based on the collection of Ids provided.
Parameters
  • ids
    • Type:IEnumerable<String>
    • Description:This parameter is the collection of Ids you want to find.

GetColumns()

  • N/A
Remarks
  • This method returns the collection of columns for this FeatureSource.
Return Value
  • Type:Collection<FeatureSourceColumn>
  • Description:This method returns the collection of columns for this FeatureSource.
Parameters

GetCount()

  • N/A
Remarks
  • This method returns the count of all of the InternalFeatures in the FeatureSource.
Return Value
  • Type:Int64
  • Description:This method returns the count of all of the InternalFeatures in the FeatureSource.
Parameters

GetAllFeatures(IEnumerable<String>)

  • N/A
Remarks
  • This method returns all of the InternalFeatures in the FeatureSource. It will return whatever is returned by the GetAllFeaturesCore method, along with any of the additions or subtractions made if you are in a transaction and that transaction is configured to be live. The main purpose of this method is to be the anchor of all of our default virtual implementations within this class. We as the framework developers wanted to provide you the user with as much default virtual implementation as possible. To do this, we needed a way to get access to all of the features. For example, let's say we want to create a default implementation for finding all of the InternalFeatures in a bounding box. Because this is an abstract class, we do not know the specifics of the underlying data or how its spatial indexes work. What we do know is that if we get all of the records, then we can brute-force the answer. In this way, if you inherited from this class and only implemented this one method, we can provide default implementations for virtually every other API. While this is nice for you the developer if you decide to create your own FeatureSource, it comes with a price: namely, it is very inefficient. In the example we just discussed (about finding all of the InternalFeatures in a bounding box), we would not want to look at every record to fulfil this method. Instead, we would want to override the GetFeaturesInsideBoundingBoxCore and implement specific code that would be faster. For example, in Oracle Spatial there is a specific SQL statement to perform this operation very quickly. The same holds true with other specific FeatureSource examples. Most default implementations in the FeatureSource call the GetFeaturesInsideBoundingBoxCore, which by default calls the GetAllFeaturesCore. It is our advice that if you create your own FeatureSource that you ALWAYS override the GetFeatureInsideBoundingBox. This will ensure that nearly every other API will operate efficiently. Please see the specific API to determine what method it uses. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of all of the InternalFeatures in the FeatureSource.
Parameters
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetAllFeatures(ReturningColumnsType)

  • N/A
Remarks
  • This method returns all of the InternalFeatures in the FeatureSource. It will return whatever is returned by the GetAllFeaturesCore method, along with any of the additions or subtractions made if you are in a transaction and that transaction is configured to be live. The main purpose of this method is to be the anchor of all of our default virtual implementations within this class. We as the framework developers wanted to provide you the user with as much default virtual implementation as possible. To do this, we needed a way to get access to all of the features. For example, let's say we want to create a default implementation for finding all of the InternalFeatures in a bounding box. Because this is an abstract class, we do not know the specifics of the underlying data or how its spatial indexes work. What we do know is that if we get all of the records, then we can brute-force the answer. In this way, if you inherited from this class and only implemented this one method, we can provide default implementations for virtually every other API. While this is nice for you the developer if you decide to create your own FeatureSource, it comes with a price: namely, it is very inefficient. In the example we just discussed (about finding all of the InternalFeatures in a bounding box), we would not want to look at every record to fulfil this method. Instead, we would want to override the GetFeaturesInsideBoundingBoxCore and implement specific code that would be faster. For example, in Oracle Spatial there is a specific SQL statement to perform this operation very quickly. The same holds true with other specific FeatureSource examples. Most default implementations in the FeatureSource call the GetFeaturesInsideBoundingBoxCore, which by default calls the GetAllFeaturesCore. It is our advice that if you create your own FeatureSource that you ALWAYS override the GetFeatureInsideBoundingBox. This will ensure that nearly every other API will operate efficiently. Please see the specific API to determine what method it uses. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:The return value is a collection of all of the InternalFeatures in the FeatureSource.
Parameters
  • returningColumnNamesType
    • Description:This parameter allows you to select the field names of the column data you wish to return with each Feature.

GetFirstFeaturesWellKnownType()

  • N/A
Remarks
  • The default implementation of GetCountCore uses the GetAllRFeaturesCore method to get WellKnownType of the first feature from all features. We strongly recommend that you provide your own implementation for this method that will be more efficient.
Return Value
  • Description:This method returns the well known type that represents the first feature from FeatureSource.
Parameters

ExecuteNonQuery(String)

  • N/A
Remarks
  • You can use ExecuteNonQuery to perform catalog operations (for example, querying the structure of a database or creating database objects such as tables), or to change the data in a database by executing UPDATE, INSERT, or DELETE statements. Although ExecuteNonQuery does not return any rows, any output parameters or return values mapped to parameters are populated with data. For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command.
Return Value
  • Type:Int32
  • Description:The number of rows affected.
Parameters
  • sqlStatement
    • Type:String
    • Description:The sqlStatement to be excuted.

ExecuteScalar(String)

  • N/A
Remarks
  • Use the ExcuteScalar method to retrieve a single value from the database. This requires less code than use the ExcuteQuery method and then performing the operations necessary to generate the single value using the data.
Return Value
  • Type:Object
  • Description:The first column of the first row in the result set.
Parameters
  • sqlStatement
    • Type:String
    • Description:The SQL statement to be excuted.

ExecuteQuery(String)

  • N/A
Remarks
  • Use the ExcuteScalar method to retrieve a single value from the database. This requires less code than use the ExcuteQuery method and then performing the operations necessary to generate the single value using the data.
Return Value
  • Type:DataTable
  • Description:The result set in the format of dataTable.
Parameters
  • sqlStatement
    • Type:String
    • Description:The SQL statement to be excuted.

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

Protected Methods

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Public Properties

CanExecuteSqlQuery

  • N/A
Remarks
  • The default implementation is false.
Return Value
  • Type:Boolean

Protected Properties

Public Events

12.0/apis/thinkgeo.core.querytools.txt · Last modified: 2019/09/26 09:35 (external edit)