ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Structure –> The class Feature is the basic unit of which a FeatureSource is composed. A FeatureSource can be taken from a collection of Features stored in a ShapeFile, SQL Server 2008, Oracle, etc.A Feature is the basic data unit structure which is comprised of IDs that mark the identification of the Feature, a shape and a collection of data.
*System.ValueType **ThinkGeo.MapSuite.WindowsPhoneCore.Feature
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Feature | BaseShape | This method is the constructor for the Feature. | |
Feature | Byte[] | This method is the constructor for the Feature. | |
Feature | Byte[], String | This method is the constructor for the Feature. | |
Feature | String | This method is the constructor for the Feature. | |
Feature | String, String | This method is the constructor for the Feature. | |
Feature | BaseShape, IDictionary<String, String> | This method is the constructor for the Feature. | |
Feature | String, String, IDictionary<String, String> | This method is the constructor for the Feature. | |
Feature | String, String, IEnumerable<String> | ||
Feature | Byte[], String, IEnumerable<String> | This method is the constructor for the Feature. | |
Feature | Byte[], String, IDictionary<String, String> | This method is the constructor for the Feature. | |
Feature | Vertex | This method is the constructor for the Feature. | |
Feature | Vertex, String | This method is the constructor for the Feature. | |
Feature | Vertex, String, IEnumerable<String> | This method is the constructor for the Feature. | |
Feature | Double, Double | This method is the constructor for the Feature. | |
Feature | Double, Double, String | This method is the constructor for the Feature. | |
Feature | Double, Double, String, IEnumerable<String> | This method is the constructor for the Feature. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
CloneDeep | IEnumerable<String> | This method clones the entire structure, creating a totally separate copy. | |
CloneDeep | ReturningColumnsType | This method clones the entire structure, creating a totally separate copy. | |
Equals | Object | Object(overriden) | This method compares two InternalFeatures to see if they are equal. |
GetBoundingBox | This method returns the bounding box of the Feature. | ||
GetHashCode | Object(overriden) | This method returns a semi-unique hash code for the Feature. | |
GetShape | This method returns the shape class that represents the Feature. | ||
GetType | Object | ||
GetWellKnownBinary | This method returns the well-known binary that represents the Feature. | ||
GetWellKnownText | This method returns the well-known text that represents the Feature. | ||
GetWellKnownType | This method returns the well known type that represents the Feature. | ||
IsValid | This method returns the results of some simple validity tests on the Feature. | ||
ToString | Object(overriden) |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
ColumnValues | Dictionary<String,String> | This property gets a dictionary of values to represent the column data related to this Feature. | |
Id | String | This property gets the Id for the Feature. | |
Tag | Object | The tag of the Feature. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This method is the constructor for the Feature.
This method allows you to pass in a BaseShape to construct your Feature.
When you create the Feature, specify the ID of the BaseShape you want to use as a basis.
Name | Type | Description |
---|---|---|
baseShape | BaseShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape –> | This parameter represents the base shape you wish to use as the basis of the new Feature. |
This method is the constructor for the Feature.
This overload allows you to create a feature using well-known binary.
This overload allows you to create a feature using well-known binary. The Id for this Feature will be a random GUID.
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.windowsphonecore.feature –> | This parameter is the well-known binary used to create the feature. |
This method is the constructor for the Feature.
This overload allows you to create a feature using well-known binary and specify the Id.
This overload allows you to create a feature using well-known binary and specify the Id.
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.windowsphonecore.feature –> | This parameter is the well-known binary used to create the Feature. |
id | String<!– System.String –> | This parameter is the Id used for the Feature. |
This method is the constructor for the Feature.
This overload allows you to create a feature using well-known text.
This overload allows you to create a feature using well-known text. The Id for the Feature will be a random GUID.
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | This parameter is the well-known text used to create the Feature. |
This method is the constructor for the Feature.
This overload allows you to create the Feature from well-known text and specify the Id.
This overload allows you to create the Feature from well-known text and specify the Id.
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | This parameter is the well-known text used to create the Feature. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
This method is the constructor for the Feature.
This overload allows you to create the Feature from a baseShape and specify the column values.
This overload allows you to create the Feature from a baseShape and specify the column values.
Name | Type | Description |
---|---|---|
baseShape | BaseShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape –> | This parameter is the baseShape used to create the Feature. |
columnValues | IDictionary<String,String><!– System.Collections.Generic.IDictionary{System.String,System.String} –> | This parameter is the columnValues used in the Feature. |
This method is the constructor for the Feature.
This overload allows you to create the Feature from well-known text and feature ID, as well as specify the column values.
This overload allows you to create the Feature from well-known text and feature ID, as well as specify the column values.
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | This parameter is the well-known text used to create the Feature. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
columnValues | IDictionary<String,String><!– System.Collections.Generic.IDictionary{System.String,System.String} –> | This parameter is the columnValues used in the Feature. |
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | |
id | String<!– System.String –> | |
columnValues | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> |
This method is the constructor for the Feature.
This overload allows you to create the Feature from well-known binary and feature ID, as well as specify the column values.
This overload allows you to create the Feature from well-known binary and feature ID, as well as specify the column values.
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.windowsphonecore.feature –> | This parameter is the well-known binary used to create the Feature. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
columnValues | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | This parameter is the columnValues used in the Feature. |
This method is the constructor for the Feature.
This overload allows you to create the Feature from well-known binary and feature ID, as well as specify the column values.
This overload allows you to create the Feature from well-known binary and feature ID, as well as specify the column values.
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.windowsphonecore.feature –> | This parameter is the well-known binary used to create the Feature. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
columnValues | IDictionary<String,String><!– System.Collections.Generic.IDictionary{System.String,System.String} –> | This parameter is the columnValues used in the Feature. |
This method is the constructor for the Feature.
This overload creates a point Feature for the vertex you pass in.
You can use this constructor to create a point Feature easily.
Name | Type | Description |
---|---|---|
vertex | Vertex<!– ThinkGeo.MapSuite.WindowsPhoneCore.Vertex –> | This parameter is the x & y decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID. |
This method is the constructor for the Feature.
This overload creates a point Feature for the vertex you pass in.
You can use this constructor to create a point Feature and specify the Id.
Name | Type | Description |
---|---|---|
vertex | Vertex<!– ThinkGeo.MapSuite.WindowsPhoneCore.Vertex –> | This parameter is the x & y decimalDegreesValue pair used to make the point. The Id for the Feature will be the value you pass in through the id parameter. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
This method is the constructor for the Feature.
This overload creates a point Feature for the vertex you pass in.
You can use this constructor to create a point Feature and specify the Id as well as the column values.
Name | Type | Description |
---|---|---|
vertex | Vertex<!– ThinkGeo.MapSuite.WindowsPhoneCore.Vertex –> | This parameter is the x & y decimalDegreesValue pair used to make the point. The Id for the Feature will be the value you pass in through the id parameter. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
columnValues | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | This parameter is the columnValues used in the Feature. |
This method is the constructor for the Feature.
This overload creates a point feature for the vertex you pass in.
You can use this constructor to create a point Feature based on x and y coordinates.
Name | Type | Description |
---|---|---|
x | Double<!– System.Double –> | This parameter is the x decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID. |
y | Double<!– System.Double –> | This parameter is the y decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID. |
This method is the constructor for the Feature.
This overload creates a point feature for the vertex you pass in.
You can use this constructor to create a point Feature based on x and y coordinates and specify the Id.
Name | Type | Description |
---|---|---|
x | Double<!– System.Double –> | This parameter is the x decimalDegreesValue pair used to make the point. |
y | Double<!– System.Double –> | This parameter is the y decimalDegreesValue pair used to make the point. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
This method is the constructor for the Feature.
This overload creates a point feature for the vertex you pass in.
You can use this constructor to create a point Feature based on x and y coordinates and specify both the Id and the column values.
Name | Type | Description |
---|---|---|
x | Double<!– System.Double –> | This parameter is the x decimalDegreesValue pair used to make the point. |
y | Double<!– System.Double –> | This parameter is the y decimalDegreesValue pair used to make the point. |
id | String<!– System.String –> | This parameter is the Id used in the Feature. |
columnValues | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | This parameter is the columnValues used in the Feature. Each string |
This method clones the entire structure, creating a totally separate copy.
This method will return a complete copy of the Feature. As this is a deep clone, there are no shared references between the source and the copy.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> | This method returns a clone of the entire structure, creating a totally separate copy. |
Name | Type | Description |
---|---|---|
returningColumnNames | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | This parameter represents the columnar data fields that you wish to include in the clone. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
This method clones the entire structure, creating a totally separate copy.
This method will return a complete copy of the Feature. As this is a deep clone, there are no shared references between the source and the copy.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> | This method returns a clone of the entire structure, creating a totally separate copy. |
Name | Type | Description |
---|---|---|
returningColumnNamesType | ReturningColumnsType<!– ThinkGeo.MapSuite.WindowsPhoneCore.ReturningColumnsType –> | This parameter allows you to select a type from the ReturningColumnsType that you wish to return with. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
This method compares two InternalFeatures to see if they are equal.
This method compares two InternalFeatures to see if they are equal.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method compares two InternalFeatures to see if they are equal. |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> | The first Feature. |
<!– System.Object(overriden) –> Go Back
This method returns the bounding box of the Feature.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –> | This method returns the bounding box of the Feature. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
This method returns a semi-unique hash code for the Feature.
Return Type | Description |
---|---|
Int32<!– System.Int32 –> | This method returns a semi-unique hash code for the Feature. |
Name | Type | Description |
---|
<!– System.Object(overriden) –> Go Back
This method returns the shape class that represents the Feature.
This method allows you to get a shape class from a Feature. Because the Feature stores the geometry for itself in well-known binary, it may take some time to generate a shape class if the geometry is complex.
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.BaseShape –> | This method returns the shape class that represents the Feature. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns the well-known binary that represents the Feature.
This will return a copy of the well-known binary that represents the Feature.
Return Type | Description |
---|---|
Byte[]<!– System.Bytethinkgeo.mapsuite.windowsphonecore.feature –> | This method returns the well-known binary that represents the Feature. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
This method returns the well-known text that represents the Feature.
This method allows you to get the well-known text from a Feature. Because the Feature stores the geometry for itself in well-known binary, it may take some time to generate the text if the geometry is complex.
Return Type | Description |
---|---|
String<!– System.String –> | This method returns the well-known text that represents the Feature. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
This method returns the well known type that represents the Feature.
Return Type | Description |
---|---|
WellKnownType<!– ThinkGeo.MapSuite.WindowsPhoneCore.WellKnownType –> | This method returns the well known type that represents the Feature. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
This method returns the results of some simple validity tests on the Feature.
This method is used primarily to ensure that a Feature is valid. The reason is, since this is a structure, we cannot control the main constructor that allows you to create a Feature in an invalid state – that state being one with no well-known binary at its core. If you use the constructure set provided, then the state should always be valid. This is a property you may want to check before you work with a Feature.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns the results of some simple validity tests on the Feature. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This property gets a dictionary of values to represent the column data related to this Feature.
This property holds the column data related to this Feature. You can find the values in the dictionary using the column name as the key. Most methods that query and return InternalFeatures allow you to specify which columns of data you want returned with the results. You can also freely add and modify the data, as it is simply an in-memory dictionary. Any values added, deleted or updated will have no effect unless the Feature is part of a transaction.
Return Type |
---|
Dictionary<String,String><!– System.Collections.Generic.Dictionary{System.String,System.String} –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
This property gets the Id for the Feature.
The Id is a string that represents the unique identifier for this Feature. If the feature is returned from a FeatureSource, the Id will be the unique field descriptor used by the FeatureSource. For Shape Files this may be an integer, but for spatial databases the Id may be a GUID.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back
The tag of the Feature.
Return Type |
---|
Object<!– System.Object –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.Feature –> Go Back