====== ThinkGeo.MapSuite.WindowsPhoneCore.QueryTools ====== {{section>upgrade_map_suite_to_10.0}} This is a helper class that allows you to execute various queries. === Remarks === This is a helper class that allows you to execute various queries. It wraps the query functionality of the FeatureSource and provides a simpler and more focused set of APIs. ===== Inheritance Hierarchy ===== *System.Object **[[ThinkGeo.MapSuite.WindowsPhoneCore.QueryTools]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#QueryTools(FeatureSource)|QueryTools]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.FeatureSource|FeatureSource]] | | This is a constructor for the class. | ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#QueryTools()|QueryTools]] | | | This is a constructor for the class. | ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#ExecuteNonQuery(String)|ExecuteNonQuery]] | String | | Executes a SQL statement against a connection object. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetAllFeatures(ReturningColumnsType)|GetAllFeatures]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures in the FeatureSource. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetAllFeatures(IEnumerable)|GetAllFeatures]] | IEnumerable | | This method returns all of the InternalFeatures in the FeatureSource. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetBoundingBoxById(String)|GetBoundingBoxById]] | String | | This method returns the bounding box for the Id specified. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetBoundingBoxesByIds(IEnumerable)|GetBoundingBoxesByIds]] | IEnumerable | | This method returns a collection of bounding boxes based on the collection of Ids provided. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetColumns()|GetColumns]] | | | This method returns the collection of columns for this FeatureSource. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetCount()|GetCount]] | | | This method returns the count of all of the InternalFeatures in the FeatureSource. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeatureById(String, ReturningColumnsType)|GetFeatureById]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns an InternalFeature based on an Id provided. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeatureById(String, IEnumerable)|GetFeatureById]] | String, IEnumerable | | This method returns an InternalFeature based on an Id provided. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesByColumnValue(String, String, ReturningColumnsType)|GetFeaturesByColumnValue]] | String, String, [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | Get all of the features by passing a columnName and a specified columValue. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesByColumnValue(String, String, IEnumerable)|GetFeaturesByColumnValue]] | String, String, IEnumerable | | Get all of the features by passing a columnName and a specified columValue. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesByColumnValue(String, String)|GetFeaturesByColumnValue]] | String, String | | Get all of the features by passing a columnName and a specified columValue. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesByIds(IEnumerable, IEnumerable)|GetFeaturesByIds]] | IEnumerable, IEnumerable | | This method returns a collection of InternalFeatures based on the collection of Ids provided. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesByIds(IEnumerable, ReturningColumnsType)|GetFeaturesByIds]] | IEnumerable, [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns a collection of InternalFeatures based on the collection of Ids provided. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesContaining(Feature, IEnumerable)|GetFeaturesContaining]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures based on the target Feature and the spatial query type specified. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesContaining(Feature, ReturningColumnsType)|GetFeaturesContaining]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures based on the target Feature and the spatial query type specified. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesContaining(BaseShape, ReturningColumnsType)|GetFeaturesContaining]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures based on the target Feature and the spatial query type specified. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesContaining(BaseShape, IEnumerable)|GetFeaturesContaining]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that contain the target shape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesCrossing(BaseShape, ReturningColumnsType)|GetFeaturesCrossing]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that cross the target shape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesCrossing(Feature, ReturningColumnsType)|GetFeaturesCrossing]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that cross the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesCrossing(Feature, IEnumerable)|GetFeaturesCrossing]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures that cross the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesCrossing(BaseShape, IEnumerable)|GetFeaturesCrossing]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that cross the target shape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesDisjointed(BaseShape, IEnumerable)|GetFeaturesDisjointed]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that disjoint the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesDisjointed(BaseShape, ReturningColumnsType)|GetFeaturesDisjointed]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that disjoint the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesDisjointed(Feature, ReturningColumnsType)|GetFeaturesDisjointed]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that disjoint the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesDisjointed(Feature, IEnumerable)|GetFeaturesDisjointed]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures that disjoint the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesInsideBoundingBox(RectangleShape, ReturningColumnsType)|GetFeaturesInsideBoundingBox]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that are inside of the boundingBox. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesInsideBoundingBox(RectangleShape, IEnumerable)|GetFeaturesInsideBoundingBox]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]], IEnumerable | | This method returns all of the InternalFeatures that are inside of the boundingBox. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesIntersecting(Feature, ReturningColumnsType)|GetFeaturesIntersecting]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that intersect the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesIntersecting(BaseShape, ReturningColumnsType)|GetFeaturesIntersecting]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that intersect the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesIntersecting(Feature, IEnumerable)|GetFeaturesIntersecting]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures that intersect the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesIntersecting(BaseShape, IEnumerable)|GetFeaturesIntersecting]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that intersect the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesNearestTo(BaseShape, GeographyUnit, Int32, IEnumerable, Double, DistanceUnit)|GetFeaturesNearestTo]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], Int32, IEnumerable, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesNearestTo(BaseShape, GeographyUnit, Int32, IEnumerable)|GetFeaturesNearestTo]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], Int32, IEnumerable | | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesNearestTo(BaseShape, GeographyUnit, Int32, ReturningColumnsType)|GetFeaturesNearestTo]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], Int32, [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesNearestTo(Feature, GeographyUnit, Int32, IEnumerable, Double, DistanceUnit)|GetFeaturesNearestTo]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], Int32, IEnumerable, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesNearestTo(Feature, GeographyUnit, Int32, ReturningColumnsType)|GetFeaturesNearestTo]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], Int32, [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns a user defined number of InternalFeatures that are closest to the TargetFeature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesNearestTo(Feature, GeographyUnit, Int32, IEnumerable)|GetFeaturesNearestTo]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], Int32, IEnumerable | | This method returns a user defined number of InternalFeatures that are closest to the TargetFeature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesOutsideBoundingBox(RectangleShape, IEnumerable)|GetFeaturesOutsideBoundingBox]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]], IEnumerable | | This method returns all of the InternalFeatures that are outside of the boundingBox. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesOutsideBoundingBox(RectangleShape, ReturningColumnsType)|GetFeaturesOutsideBoundingBox]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that are outside of the boundingBox. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesOverlapping(BaseShape, ReturningColumnsType)|GetFeaturesOverlapping]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that overlap the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesOverlapping(BaseShape, IEnumerable)|GetFeaturesOverlapping]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that overlap the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesOverlapping(Feature, IEnumerable)|GetFeaturesOverlapping]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures that overlap the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesOverlapping(Feature, ReturningColumnsType)|GetFeaturesOverlapping]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that overlap the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTopologicalEqual(Feature, ReturningColumnsType)|GetFeaturesTopologicalEqual]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that topologicalEqual the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTopologicalEqual(BaseShape, ReturningColumnsType)|GetFeaturesTopologicalEqual]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that topologicalEqual the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTopologicalEqual(BaseShape, IEnumerable)|GetFeaturesTopologicalEqual]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that topologicalEqual the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTopologicalEqual(Feature, IEnumerable)|GetFeaturesTopologicalEqual]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures that topologicalEqual the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTouching(BaseShape, ReturningColumnsType)|GetFeaturesTouching]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that touch the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTouching(BaseShape, IEnumerable)|GetFeaturesTouching]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that touch the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTouching(Feature, ReturningColumnsType)|GetFeaturesTouching]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that touch the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesTouching(Feature, IEnumerable)|GetFeaturesTouching]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures that touch the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithin(BaseShape, ReturningColumnsType)|GetFeaturesWithin]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that are within the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithin(Feature, ReturningColumnsType)|GetFeaturesWithin]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns all of the InternalFeatures that are within the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithin(Feature, IEnumerable)|GetFeaturesWithin]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], IEnumerable | | This method returns all of the InternalFeatures that are within the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithin(BaseShape, IEnumerable)|GetFeaturesWithin]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], IEnumerable | | This method returns all of the InternalFeatures that are within the target Feature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithinDistanceOf(Feature, GeographyUnit, DistanceUnit, Double, ReturningColumnsType)|GetFeaturesWithinDistanceOf]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]], Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithinDistanceOf(BaseShape, GeographyUnit, DistanceUnit, Double, ReturningColumnsType)|GetFeaturesWithinDistanceOf]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]], Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | | This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithinDistanceOf(Feature, GeographyUnit, DistanceUnit, Double, IEnumerable)|GetFeaturesWithinDistanceOf]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]], Double, IEnumerable | | This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeaturesWithinDistanceOf(BaseShape, GeographyUnit, DistanceUnit, Double, IEnumerable)|GetFeaturesWithinDistanceOf]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]], Double, IEnumerable | | This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | ==== Protected Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#CanExecuteSqlQuery|CanExecuteSqlQuery]] | Boolean | | This property specifies whether FeatureSource can excute a SQL query or not. If it is false, then it will throw an exception when the following APIs are called: ExecuteScalar, ExecuteNonQuery, ExecuteQuery | ==== Protected Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ ==== Public Events ==== ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ ===== Public Constructors ===== ==== QueryTools(FeatureSource) ==== This is a constructor for the class. === Overloads === This constructor allows you to provide a FeatureSouce that will provide the functionality for this class's methods. === Remarks === Each of the calls in this class thunk through to the FeatureSource passed in. === Parameters === ^ Name ^ Type ^ Description ^ | featureSource | [[ThinkGeo.MapSuite.WindowsPhoneCore.FeatureSource|FeatureSource]] | This parameter is the FeatureSource that will provide the functionality for this class's methods. | [[#Public Constructors|Go Back]] ===== Protected Constructors ===== ==== QueryTools() ==== This is a constructor for the class. === Overloads === This is the default constructor, though it is typically not intended to be used. === Remarks === This is the default constructor, though it is typically not intended to be used. === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Constructors|Go Back]] ===== Public Methods ===== ==== Equals(Object) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | obj | Object | | [[#Public Methods|Go Back]] ==== ExecuteNonQuery(String) ==== Executes a SQL statement against a connection object. === 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 === ^ Return Type ^ Description ^ | Int32 | The number of rows affected. | === Parameters === ^ Name ^ Type ^ Description ^ | sqlStatement | String | The sqlStatement to be excuted. | [[#Public Methods|Go Back]] ==== GetAllFeatures(ReturningColumnsType) ==== This method returns all of the InternalFeatures in the FeatureSource. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of all of the InternalFeatures in the FeatureSource. | === Parameters === ^ Name ^ Type ^ Description ^ | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetAllFeatures(IEnumerable) ==== This method returns all of the InternalFeatures in the FeatureSource. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of all of the InternalFeatures in the FeatureSource. | === Parameters === ^ Name ^ Type ^ Description ^ | returningColumnNames | IEnumerable | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetBoundingBoxById(String) ==== This method returns the bounding box for the Id specified. === Remarks === This method returns the bounding box for the Id specified. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | This method returns the bounding box for the Id specified. | === Parameters === ^ Name ^ Type ^ Description ^ | id | String | This parameter is the unique Id of the feature for which you want to find the bounding box. | [[#Public Methods|Go Back]] ==== GetBoundingBoxesByIds(IEnumerable) ==== This method returns a collection of bounding boxes based on the collection of Ids provided. === Remarks === This method returns a collection of bounding boxes based on the collection of Ids provided. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]]> | This method returns a collection of bounding boxes based on the collection of Ids provided. | === Parameters === ^ Name ^ Type ^ Description ^ | ids | IEnumerable | This parameter is the collection of Ids you want to find. | [[#Public Methods|Go Back]] ==== GetColumns() ==== This method returns the collection of columns for this FeatureSource. === Remarks === This method returns the collection of columns for this FeatureSource. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.FeatureSourceColumn|FeatureSourceColumn]]> | This method returns the collection of columns for this FeatureSource. | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetCount() ==== This method returns the count of all of the InternalFeatures in the FeatureSource. === Remarks === This method returns the count of all of the InternalFeatures in the FeatureSource. === Return Value === ^ Return Type ^ Description ^ | Int32 | This method returns the count of all of the InternalFeatures in the FeatureSource. | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetFeatureById(String, ReturningColumnsType) ==== This method returns an InternalFeature based on an Id provided. === Remarks === This method returns an InternalFeature based on an Id provided. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This method returns an InternalFeature based on an Id provided. | === Parameters === ^ Name ^ Type ^ Description ^ | id | String | This parameter is the unique Id for the feature you want to find. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter is a list of column names you want returned with the Feature. | [[#Public Methods|Go Back]] ==== GetFeatureById(String, IEnumerable) ==== This method returns an InternalFeature based on an Id provided. === Remarks === This method returns an InternalFeature based on an Id provided. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This method returns an InternalFeature based on an Id provided. | === Parameters === ^ Name ^ Type ^ Description ^ | id | String | This parameter is the unique Id for the feature you want to find. | | returningColumnNames | IEnumerable | This parameter is a list of column names you want returned with the Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesByColumnValue(String, String, ReturningColumnsType) ==== Get all of the features by passing a columnName and a specified columValue. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The returnning features matches the columnValue. | === Parameters === ^ Name ^ Type ^ Description ^ | columnName | String | The specified columnName to match the columnValue. | | columnValue | String | The specified columnValue to match those returning features. | | returningColumnType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesByColumnValue(String, String, IEnumerable) ==== Get all of the features by passing a columnName and a specified columValue. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The returnning features matches the columnValue. | === Parameters === ^ Name ^ Type ^ Description ^ | columnName | String | The specified columnName to match the columnValue. | | columnValue | String | The specified columnValue to match those returning features. | | returningColumnNames | IEnumerable | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesByColumnValue(String, String) ==== Get all of the features by passing a columnName and a specified columValue. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The returnning features matches the columnValue. | === Parameters === ^ Name ^ Type ^ Description ^ | columnName | String | The specified columnName to match the columnValue. | | columnValue | String | The specified columnValue to match those returning features. | [[#Public Methods|Go Back]] ==== GetFeaturesByIds(IEnumerable, IEnumerable) ==== This method returns a collection of InternalFeatures based on the collection of Ids provided. === Remarks === This method returns a collection of InternalFeatures based on the collection of Ids provided. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a collection of InternalFeatures based on the collection of Ids provided. | === Parameters === ^ Name ^ Type ^ Description ^ | ids | IEnumerable | This parameter is the collection of Ids you want to find. | | returningColumnNames | IEnumerable | This parameter is a list of column names you want returned with the Features. | [[#Public Methods|Go Back]] ==== GetFeaturesByIds(IEnumerable, ReturningColumnsType) ==== This method returns a collection of InternalFeatures based on the collection of Ids provided. === Remarks === This method returns a collection of InternalFeatures based on the collection of Ids provided. === Return Value === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a collection of InternalFeatures based on the collection of Ids provided. | === Parameters === ^ Name ^ Type ^ Description ^ | ids | IEnumerable | This parameter is the collection of Ids you want to find. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter is a list of column names you want returned with the Features. | [[#Public Methods|Go Back]] ==== GetFeaturesContaining(Feature, IEnumerable) ==== This method returns all of the InternalFeatures based on the target Feature and the spatial query type specified. === Overloads === This method returns all of the features that contain the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesContaining(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures based on the target Feature and the spatial query type specified. === Overloads === This method returns all of the features that contain the target feature. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetFeature. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesContaining(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures based on the target Feature and the spatial query type specified. === Overloads === This method returns all of the features that contain the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesContaining(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that contain the target shape. === Overloads === This method returns all of the features that contain the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that contain the TargetShape you passed in. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesCrossing(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that cross the target shape. === Overloads === This method returns all of the features which crosses the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesCrossing(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures that cross the target Feature. === Overloads === This method returns all of the features that cross the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesCrossing(Feature, IEnumerable) ==== This method returns all of the InternalFeatures that cross the target Feature. === Overloads === This method returns all of the features that cross the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesCrossing(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that cross the target shape. === Overloads === This method returns all of the features that cross the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that cross the TargetShape you passed in. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesDisjointed(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that disjoint the target Feature. === Overloads === This method returns all of the features that cross the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesDisjointed(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that disjoint the target Feature. === Overloads === This method returns all of the features that disjoint the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesDisjointed(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures that disjoint the target Feature. === Overloads === This method returns all of the features that disjoint the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesDisjointed(Feature, IEnumerable) ==== This method returns all of the InternalFeatures that disjoint the target Feature. === Overloads === This method returns all of the features that disjoint the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the columns contained in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesInsideBoundingBox(RectangleShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that are inside of the boundingBox. === Overloads === This method returns all of the features that are inside of the target rectangle shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that are inside of the target rectangle shape. | === Parameters === ^ Name ^ Type ^ Description ^ | boundingBox | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | This parameter specifies the target boundingBox used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesInsideBoundingBox(RectangleShape, IEnumerable) ==== This method returns all of the InternalFeatures that are inside of the boundingBox. === Overloads === This method returns all of the features that are inside of the target rectangle shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that are inside of the target rectangle shape. | === Parameters === ^ Name ^ Type ^ Description ^ | boundingBox | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | This parameter specifies the target boundingBox used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesIntersecting(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures that intersect the target Feature. === Overloads === This method returns all of the features that intersect the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesIntersecting(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that intersect the target Feature. === Overloads === This method returns all of the features that intersect the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesIntersecting(Feature, IEnumerable) ==== This method returns all of the InternalFeatures that intersect the target Feature. === Overloads === This method returns all of the features that intersect the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesIntersecting(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that intersect the target Feature. === Overloads === This method returns all of the features that intersect the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesNearestTo(BaseShape, GeographyUnit, Int32, IEnumerable, Double, DistanceUnit) ==== This method returns a user defined number of InternalFeatures that are closest to the TargetShape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter is the shape you want to find InternalFeatures close to. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of measurement that the TargetShape and the FeatureSource are in, such as feet, meters, etc. | | numberOfItemsToFind | Int32 | This parameter defines how many close InternalFeatures to find around the TargetShape. | | returningColumnNames | IEnumerable | This parameter allows you to select the field names of the column data you wish to return with each Feature. | | distanceLimits | Double | Limit the maximize distance proximately to search closest records. | | unitOfDistance | [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | The unit of distanceLimits parameter. | [[#Public Methods|Go Back]] ==== GetFeaturesNearestTo(BaseShape, GeographyUnit, Int32, IEnumerable) ==== This method returns a user defined number of InternalFeatures that are closest to the TargetShape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter is the shape you want to find close InternalFeatures to. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc. | | numberOfItemsToFind | Int32 | This parameter defines how many close InternalFeatures to find around the TargetShape. | | returningColumnNames | IEnumerable | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesNearestTo(BaseShape, GeographyUnit, Int32, ReturningColumnsType) ==== This method returns a user defined number of InternalFeatures that are closest to the TargetShape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter is the shape you want to find close InternalFeatures to. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc. | | numberOfItemsToFind | Int32 | This parameter defines how many close InternalFeatures to find around the TargetShape. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesNearestTo(Feature, GeographyUnit, Int32, IEnumerable, Double, DistanceUnit) ==== This method returns a user defined number of InternalFeatures that are closest to the TargetShape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a user defined number of InternalFeatures that are closest to the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is feature you want to find InternalFeatures close to. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of measurement that the TargetShape and the FeatureSource are in, such as feet, meters, etc. | | numberOfItemsToFind | Int32 | This parameter defines how many close InternalFeatures to find around the TargetShape. | | returningColumnNames | IEnumerable | This parameter allows you to select the field names of the column data you wish to return with each Feature. | | distanceLimits | Double | Limit the maximize distance proximately to search closest records. | | unitOfDistance | [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | The unit of distanceLimits parameter. | [[#Public Methods|Go Back]] ==== GetFeaturesNearestTo(Feature, GeographyUnit, Int32, ReturningColumnsType) ==== This method returns a user defined number of InternalFeatures that are closest to the TargetFeature. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a user defined number of InternalFeatures that are closest to the TargetFeature. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the feature you want to find close InternalFeatures to. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc. | | numberOfItemsToFind | Int32 | This parameter defines how many close InternalFeatures to find around the feature. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesNearestTo(Feature, GeographyUnit, Int32, IEnumerable) ==== This method returns a user defined number of InternalFeatures that are closest to the TargetFeature. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a user defined number of InternalFeatures that are closest to the TargetFeature. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the feature you want to find close InternalFeatures to. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the TargetShape and the FeatureSource are in, such as feet, meters, etc. | | numberOfItemsToFind | Int32 | This parameter defines how many close InternalFeatures to find around the feature. | | returningColumnNames | IEnumerable | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesOutsideBoundingBox(RectangleShape, IEnumerable) ==== This method returns all of the InternalFeatures that are outside of the boundingBox. === Overloads === This method returns all of the features that are outside of the target rectangle shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that are outside of the target rectangle shape. | === Parameters === ^ Name ^ Type ^ Description ^ | boundingBox | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | This parameter specifies the target boundingBox used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesOutsideBoundingBox(RectangleShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that are outside of the boundingBox. === Overloads === This method returns all of the features that are outside of the target rectangle shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that are outside of the target rectangle shape. | === Parameters === ^ Name ^ Type ^ Description ^ | boundingBox | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | This parameter specifies the target boundingBox used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesOverlapping(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that overlap the target Feature. === Overloads === This method returns all of the features that overlap the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesOverlapping(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that overlap the target Feature. === Overloads === This method returns all of the features that overlap the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesOverlapping(Feature, IEnumerable) ==== This method returns all of the InternalFeatures that overlap the target Feature. === Overloads === This method returns all of the features that overlap the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesOverlapping(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures that overlap the target Feature. === Overloads === This method returns all of the features that overlap the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTopologicalEqual(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures that topologicalEqual the target Feature. === Overloads === This method returns all of the features that topologicalEqual the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTopologicalEqual(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that topologicalEqual the target Feature. === Overloads === This method returns all of the features that topologicalEqual the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTopologicalEqual(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that topologicalEqual the target Feature. === Overloads === This method returns all of the features that topologicalEqual the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTopologicalEqual(Feature, IEnumerable) ==== This method returns all of the InternalFeatures that topologicalEqual the target Feature. === Overloads === This method returns all of the features that topologicalEqual the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTouching(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that touch the target Feature. === Overloads === This method returns all of the features that touch the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTouching(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that touch the target Feature. === Overloads === This method returns all of the features that touch the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTouching(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures that touch the target Feature. === Overloads === This method returns all of the features that touch the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesTouching(Feature, IEnumerable) ==== This method returns all of the InternalFeatures that touch the target Feature. === Overloads === This method returns all of the features that touch the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesWithin(BaseShape, ReturningColumnsType) ==== This method returns all of the InternalFeatures that are within the target Feature. === Overloads === This method returns all of the features that are within the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesWithin(Feature, ReturningColumnsType) ==== This method returns all of the InternalFeatures that are within the target Feature. === Overloads === This method returns all of the features that are within the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesWithin(Feature, IEnumerable) ==== This method returns all of the InternalFeatures that are within the target Feature. === Overloads === This method returns all of the features that are within the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter specifies the target feature used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesWithin(BaseShape, IEnumerable) ==== This method returns all of the InternalFeatures that are within the target Feature. === Overloads === This method returns all of the features that are within the target shape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | The return value is a collection of InternalFeatures that match the spatial query you executed based on the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | This parameter specifies the target shape used in the spatial query. | | returningColumnNames | IEnumerable | This parameter specifies the column values in the return features. | [[#Public Methods|Go Back]] ==== GetFeaturesWithinDistanceOf(Feature, GeographyUnit, DistanceUnit, Double, ReturningColumnsType) ==== This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | The feature you wish to find InternalFeatures within a distance of. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the FeatureSource and TargetShape are in. | | distanceUnit | [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc.. | | distance | Double | This parameter specifies the distance in which to find InternalFeatures around the TargetShape. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesWithinDistanceOf(BaseShape, GeographyUnit, DistanceUnit, Double, ReturningColumnsType) ==== This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | The shape you wish to find InternalFeatures within a distance of. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the FeatureSource and TargetShape are in. | | distanceUnit | [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc. | | distance | Double | This parameter specifies the distance in which to find InternalFeatures around the TargetShape. | | returningColumnNamesType | [[ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType|ReturningColumnsType]] | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesWithinDistanceOf(Feature, GeographyUnit, DistanceUnit, Double, IEnumerable) ==== This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a collection of InternalFeatures that are within a certain distance of the TargetFeature. | === Parameters === ^ Name ^ Type ^ Description ^ | targetFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | The feature you wish to find InternalFeatures within a distance of. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the FeatureSource and TargetShape are in. | | distanceUnit | [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc. | | distance | Double | This parameter specifies the distance in which to find InternalFeatures around the TargetShape. | | returningColumnNames | IEnumerable | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetFeaturesWithinDistanceOf(BaseShape, GeographyUnit, DistanceUnit, Double, IEnumerable) ==== This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. === 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 === ^ Return Type ^ Description ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]]> | This method returns a collection of InternalFeatures that are within a certain distance of the TargetShape. | === Parameters === ^ Name ^ Type ^ Description ^ | targetShape | [[ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape|BaseShape]] | The shape you wish to find InternalFeatures within a distance of. | | unitOfData | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the unit of data that the FeatureSource and TargetShape are in. | | distanceUnit | [[ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit|DistanceUnit]] | This parameter specifies the unit of the distance parameter, such as feet, miles, kilometers, etc. | | distance | Double | This parameter specifies the distance in which to find InternalFeatures around the TargetShape. | | returningColumnNames | IEnumerable | This parameter allows you to select the field names of the column data you wish to return with each Feature. | [[#Public Methods|Go Back]] ==== GetHashCode() ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== ToString() ==== === Return Value === ^ Return Type ^ Description ^ | String | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== CanExecuteSqlQuery ==== This property specifies whether FeatureSource can excute a SQL query or not. If it is false, then it will throw an exception when the following APIs are called: ExecuteScalar, ExecuteNonQuery, ExecuteQuery === Remarks === The default implementation is false. === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ===== Protected Properties ===== ===== Public Events ===== __NOTOC__ [[Category:WindowsPhoneMapSuiteCore]] [[Category:ThinkGeo.MapSuite.WindowsPhoneCore]] [[Category:UpdateDocumentation]]