User Tools

Site Tools


api:thinkgeo.mapsuite.shapes.feature

ThinkGeo.MapSuite.Shapes.Feature

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Shapes.Feature

Members Summary

Public Constructors

Feature()

  • N/A
Remarks
  • N/A
Parameters

Feature(BaseShape)

  • This method is the constructor for the Feature.
Remarks
  • When you create the Feature, specify the ID of the BaseShape you want to use as a basis.
Parameters
  • baseShape
    • Type:BaseShape
    • Description:This parameter represents the base shape you wish to use as the basis of the new Feature.

Feature(Byte[])

  • This method is the constructor for the Feature.
Remarks
  • This overload allows you to create a feature using well-known binary. The Id for this Feature will be a random GUID.
Parameters
  • wellKnownBinary
    • Type:Byte[]
    • Description:This parameter is the well-known binary used to create the feature.

Feature(Byte[],String)

  • This method is the constructor for the Feature.
Remarks
  • This overload allows you to create a feature using well-known binary and specify the Id.
Parameters
  • wellKnownBinary
    • Type:Byte[]
    • Description:This parameter is the well-known binary used to create the Feature.
  • id
    • Type:String
    • Description:This parameter is the Id used for the Feature.

Feature(String)

  • This method is the constructor for the Feature.
Remarks
  • This overload allows you to create a feature using well-known text. The Id for the Feature will be a random GUID.
Parameters
  • wellKnownText
    • Type:String
    • Description:This parameter is the well-known text used to create the Feature.

Feature(String,String)

  • This method is the constructor for the Feature.
Remarks
  • This overload allows you to create the Feature from well-known text and specify the Id.
Parameters
  • wellKnownText
    • Type:String
    • Description:This parameter is the well-known text used to create the Feature.
  • id
    • Type:String
    • Description:This parameter is the Id used in the Feature.

Feature(BaseShape,IDictionary<String,String>)

  • N/A
Remarks
  • N/A
Parameters
  • columnValues
    • Type:IDictionary<String,String>
    • Description:N/A

Feature(BaseShape,IEnumerable<String>)

  • N/A
Remarks
  • N/A
Parameters
  • columnValues
    • Type:IEnumerable<String>
    • Description:N/A

Feature(String,String,IDictionary<String,String>)

  • N/A
Remarks
  • N/A
Parameters
  • wellKnownText
    • Type:String
    • Description:N/A
  • id
    • Type:String
    • Description:N/A
  • columnValues
    • Type:IDictionary<String,String>
    • Description:N/A

Feature(String,String,IEnumerable<String>)

  • N/A
Remarks
  • N/A
Parameters
  • wellKnownText
    • Type:String
    • Description:N/A
  • id
    • Type:String
    • Description:N/A
  • columnValues
    • Type:IEnumerable<String>
    • Description:N/A

Feature(Byte[],String,IEnumerable<String>)

  • This method is the constructor for the Feature.
Remarks
  • This overload allows you to create the Feature from well-known binary and feature ID, as well as specify the column values.
Parameters
  • wellKnownBinary
    • Type:Byte[]
    • Description:This parameter is the well-known binary used to create the Feature.
  • id
    • Type:String
    • Description:This parameter is the Id used in the Feature.
  • columnValues
    • Type:IEnumerable<String>
    • Description:This parameter is the columnValues used in the Feature.

Feature(Byte[],String,IDictionary<String,String>)

  • N/A
Remarks
  • N/A
Parameters
  • wellKnownBinary
    • Type:Byte[]
    • Description:N/A
  • id
    • Type:String
    • Description:N/A
  • columnValues
    • Type:IDictionary<String,String>
    • Description:N/A

Feature(Vertex)

  • This method is the constructor for the Feature.
Remarks
  • You can use this constructor to create a point Feature easily.
Parameters
  • vertex
    • Type:Vertex
    • Description:This parameter is the x & y decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID.

Feature(Vertex,String)

  • This method is the constructor for the Feature.
Remarks
  • You can use this constructor to create a point Feature and specify the Id.
Parameters
  • vertex
    • Type:Vertex
    • Description: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
    • Type:String
    • Description:This parameter is the Id used in the Feature.

Feature(Vertex,String,IEnumerable<String>)

  • This method is the constructor for the Feature.
Remarks
  • You can use this constructor to create a point Feature and specify the Id as well as the column values.
Parameters
  • vertex
    • Type:Vertex
    • Description: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
    • Type:String
    • Description:This parameter is the Id used in the Feature.
  • columnValues
    • Type:IEnumerable<String>
    • Description:This parameter is the columnValues used in the Feature.

Feature(Vertex,String,IDictionary<String,String>)

  • N/A
Remarks
  • N/A
Parameters
  • vertex
  • id
    • Type:String
    • Description:N/A
  • columnValues
    • Type:IDictionary<String,String>
    • Description:N/A

Feature(Double,Double)

  • This method is the constructor for the Feature.
Remarks
  • You can use this constructor to create a point Feature based on x and y coordinates.
Parameters
  • x
    • Type:Double
    • Description:This parameter is the x decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID.
  • y
    • Type:Double
    • Description:This parameter is the y decimalDegreesValue pair used to make the point. The Id for the Feature will be a random GUID.

Feature(Double,Double,String)

  • This method is the constructor for the Feature.
Remarks
  • You can use this constructor to create a point Feature based on x and y coordinates and specify the Id.
Parameters
  • x
    • Type:Double
    • Description:This parameter is the x decimalDegreesValue pair used to make the point.
  • y
    • Type:Double
    • Description:This parameter is the y decimalDegreesValue pair used to make the point.
  • id
    • Type:String
    • Description:This parameter is the Id used in the Feature.

Feature(Double,Double,String,IEnumerable<String>)

  • This method is the constructor for the Feature.
Remarks
  • 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.
Parameters
  • x
    • Type:Double
    • Description:This parameter is the x decimalDegreesValue pair used to make the point.
  • y
    • Type:Double
    • Description:This parameter is the y decimalDegreesValue pair used to make the point.
  • id
    • Type:String
    • Description:This parameter is the Id used in the Feature.
  • columnValues
    • Type:IEnumerable<String>
    • Description:This parameter is the columnValues used in the Feature. Each string

Feature(Double,Double,String,IDictionary<String,String>)

  • N/A
Remarks
  • N/A
Parameters
  • x
    • Type:Double
    • Description:N/A
  • y
    • Type:Double
    • Description:N/A
  • id
    • Type:String
    • Description:N/A
  • columnValues
    • Type:IDictionary<String,String>
    • Description:N/A

Protected Constructors

Public Methods

GetWellKnownBinary()

  • N/A
Remarks
  • This will return a copy of the well-known binary that represents the Feature.
Return Value
  • Type:Byte[]
  • Description:This method returns the well-known binary that represents the Feature.
Parameters

GetWellKnownBinary(WkbByteOrder)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Byte[]
  • Description:N/A
Parameters

GetWellKnownBinary(RingOrder)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Byte[]
  • Description:N/A
Parameters
  • outerRingOrder

GetWellKnownBinary(RingOrder,WkbByteOrder)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Byte[]
  • Description:N/A
Parameters
  • outerRingOrder

ToString()

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

GetWellKnownType()

  • N/A
Remarks
  • None
Return Value
  • Description:This method returns the well known type that represents the Feature.
Parameters

GetShape()

  • N/A
Remarks
  • 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 Value
  • Type:BaseShape
  • Description:This method returns the shape class that represents the Feature.
Parameters

GetWellKnownText()

  • N/A
Remarks
  • 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 Value
  • Type:String
  • Description:This method returns the well-known text that represents the Feature.
Parameters

GetWellKnownText(RingOrder)

  • N/A
Remarks
  • This method returns a stringthat represents the shape in well-known text. Well-known text allows you to describe geometries as a string of text. Well-known text is useful when you want to save a geometry in a format such as a text file, or when you simply want to cut and paste the text between other applications. An alternative to well-known text is well-known binary, which is a binary representation of a geometry object. We have methods that work with well-known binary as well. Below are some samples of what well-known text might look like for various kinds of geometries.POINT(5 17)LINESTRING(4 5,10 50,25 80)POLYGON1)MULTIPOINT(3.7 9.7,4.9 11.6)MULTILINESTRING2)MULTIPOLYGON3),4)) Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
  • Type:String
  • Description:This method returns a string that represents the shape in well-known text.
Parameters
  • outerRingOrder

GetGeoJson()

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

GetBoundingBox()

  • N/A
Remarks
  • None
Return Value
  • Description:This method returns the bounding box of the Feature.
Parameters

CloneDeep(IEnumerable<String>)

  • N/A
Remarks
  • 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 Value
  • Type:Feature
  • Description:This method returns a clone of the entire structure, creating a totally separate copy.
Parameters
  • returningColumnNames
    • Type:IEnumerable<String>
    • Description:This parameter represents the columnar data fields that you wish to include in the clone.

CloneDeep(ReturningColumnsType)

  • N/A
Remarks
  • 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 Value
  • Type:Feature
  • Description:This method returns a clone of the entire structure, creating a totally separate copy.
Parameters
  • returningColumnNamesType
    • Description:This parameter allows you to select a type from the ReturningColumnsType that you wish to return with.

CloneDeep()

  • N/A
Remarks
  • N/A
Return Value
Parameters

IsValid()

  • N/A
Remarks
  • 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 Value
  • Type:Boolean
  • Description:This method returns the results of some simple validity tests on the Feature.
Parameters

Union(Feature)

  • N/A
Remarks
  • This is useful for adding area features together to form a larger area shape.
Return Value
  • Type:Feature
  • Description:The return type is a Feature that contains the set of all points which lie in the current feature or the target feature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The feature you are trying to find the union with.

Buffer(Double,GeographyUnit,DistanceUnit)

  • N/A
Remarks
  • This method computes the area containing all of the points within a given distance from this feature. In this case, you will be using the rounded RoundedBufferCapStyle and the default 8 quadrant segments. The distance unit is determined by the distanceUnit argument. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Feature
  • Description:The return type is a Feature that represents all of the points within a given distance from the feature.
Parameters
  • distance
    • Type:Double
    • Description:The distance is the number of units to buffer the current shape. The distance unit will be the one specified in the distanceUnit parameter.
  • featureUnit
    • Description:This is the geographic unit of the shape you are performing the operation on.
  • distanceUnit
    • Description:This is the distance unit you would like to use as the distance. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles for the operation.

Buffer(Double,Int32,GeographyUnit,DistanceUnit)

  • N/A
Remarks
  • This method computes the area containing all of the points within a given distance from this feature. In this case, you will be using the rounded RoundedBufferCapStyle. The distance unit is determined by the distanceUnit argument. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Feature
  • Description:The return type is a Feature that represents all of the points within a given distance from the feature.
Parameters
  • distance
    • Type:Double
    • Description:The distance is the number of units to buffer the current shape. The distance unit will be the one specified in the distanceUnit parameter.
  • quadrantSegments
    • Type:Int32
    • Description:The quadrant segments are the number of points in each quarter circle. A good default is 8, but if you want smoother edges you can increase this number. The valid range for this number is from 3 to 100.
  • featureUnit
    • Description:This is the geographic unit of the feature you are performing the operation on.
  • distanceUnit
    • Description:This is the distance unit you would like to use as the distance. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles for the operation.

Buffer(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)

  • N/A
Remarks
  • This method computes the area containing all of the points within a given distance from this feature. In this case, you will be using the rounded RoundedBufferCapStyle and the default 8 quadrant segments. The distance unit is determined by the distanceUnit argument. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
  • Type:Feature
  • Description:The return type is a Feature that represents all of the points within a given distance from the feature.
Parameters
  • distance
    • Type:Double
    • Description:The distance is the number of units to buffer the current feature. The distance unit will be the one specified in the distanceUnit parameter.
  • quadrantSegments
    • Type:Int32
    • Description:The number of quadrantSegments used in the buffer logic.
  • bufferCapType
    • Description:The bufferCapType used in the buffer logic.
  • featureUnit
    • Description:This is the geographic unit of the feature you are performing the operation on.
  • distanceUnit
    • Description:This is the distance unit you would like to use as the distance. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles for the operation.

Contains(Feature)

  • N/A
Remarks
  • As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Boolean
  • Description:This method returns if the targetFeature lies within the interior of the current feature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The targetFeature that contains a shape you wish to compare the current one to.

Crosses(Feature)

  • N/A
Remarks
  • As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Boolean
  • Description:This method returns if the current feature and the targetFeature share some but not all interior points.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The targetFeature that contains a shape you wish to compare the current one to.

IsWithin(Feature)

  • N/A
Remarks
  • As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Boolean
  • Description:This method returns if the current feature lies within the interior of the targetFeature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The targetFeature that contains a shape you wish to compare the current one to.

Intersects(Feature)

  • N/A
Remarks
  • As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Boolean
  • Description:This method returns if the current feature and the targetFeature have at least one point in common.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The targetFeature you wish to compare the current one to.

IsDisjointed(Feature)

  • N/A
Remarks
  • None
Return Value
  • Type:Boolean
  • Description:This method returns if the current feature and the targetFeature have no points in common. 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.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The feature you wish to compare the current one to.

IsTopologicallyEqual(Feature)

  • N/A
Remarks
  • Topologically equal means that the shapes are essentially the same. For example, let's say you have a line with two points, point A and point B. You also have another line that is made up of point A, point B and point C. Point A of line one shares the same vertex as point A of line two, and point B of line one shares the same vertex as point C of line two. They are both straight lines, so point B of line two would lie on the first line. Essentially the two lines are the same, with line 2 having just one extra point. Topologically they are the same line, so this method would return true. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Boolean
  • Description:This method returns if the current feature and the targetFeature are topologically equal.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The targetFeature that contains a shape you wish to compare the current one to.

Overlaps(Feature)

  • N/A
Remarks
  • As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Boolean
  • Description:This method returns if the current feature and the targetFeature share some but not all points in common.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The targetFeature that contains a shape you wish to compare the current one to.

Touches(Feature)

  • N/A
Remarks
  • As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Boolean
  • Description:This method returns of the current feature and the targetFeature have at least one boundary point in common, but no interior points.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The targetFeature which contains a shape that you wish to compare the current one to.

GetIntersection(Feature)

  • N/A
Remarks
  • None
Return Value
  • Type:Feature
  • Description:The return type is a Feature that contains the set of all points which lie in both the current feature and the target feature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The feature you are trying to find the intersection with.

GetDifference(Feature)

  • N/A
Remarks
  • None
Return Value
  • Type:Feature
  • Description:The return type is a Feature that is the set of all points which lie in the current feature but not in the target feature.
Parameters
  • targetFeature
    • Type:Feature
    • Description:The feture you are trying to find the difference with.

GetConvexHull()

  • N/A
Remarks
  • This method is useful when you want to create a perimeter around the shape. For example, if you had a MultiPolygon that represented buildings on a campus, you could easily get the convex hull of the buildings and determine the perimeter of all of the buildings together. This also works with MultiPoint shapes, where each point may represent a certain type of person you are doing statistics on. With convex hull, you can get an idea of the regions those points are located in.
Return Value
  • Type:Feature
  • Description:This method returns the convex hull of the feature, defined as the smallest convex ring that contains all of the points in the feature.
Parameters

SetWellKnownBinary(Byte[])

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • wellKnownBinary
    • Type:Byte[]
    • Description:N/A

GetInvalidReason()

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

IsGeometryValid()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:returns True if valid. Otherwise, for example in the case of self intersection, returns false. The reason for being invalid can be found with GetInvalidReason()
Parameters

MakeValid()

  • N/A
Remarks
  • N/A
Return Value
Parameters

Equals(Object)

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

GetHashCode()

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

GetType()

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

CreateFeatureFromGeoJson(String)

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

CreateFeatureFromWellKnownData(Byte[])

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • wellKnownBinary
    • Type:Byte[]
    • Description:N/A

CreateFeatureFromWellKnownData(String)

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

Union(IEnumerable<Feature>)

  • N/A
Remarks
  • This is useful for adding area features together to form a larger area feature.
Return Value
  • Type:Feature
  • Description:The return type is a Feature that contains the set of all points that lie within the features you specified.
Parameters
  • targetFeatures
    • Type:IEnumerable<Feature>
    • Description:The features you are trying to find the union with.

ConvertToDataTable(IEnumerable<Feature>,IEnumerable<String>)

  • N/A
Remarks
  • N/A
Return Value
  • Description:A DateTable of information about those passed-in features and the returning columnNames.
Parameters
  • features
    • Type:IEnumerable<Feature>
    • Description:This parameter specifies the target features.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the returning columnNames for the features.

Protected Methods

GetWellKnownBinaryCore(RingOrder,WkbByteOrder)

  • N/A
Remarks
  • This method returns a byte array that represents the feature in well-known binary. Well-known binary allows you to describe geometries as a binary array. Well-known binary is useful when you want to save a geometry in an efficient format using as little space as possible. An alternative to well-known binary is well-known text, which is a textual representation of a geometry object. We have methods that work with well known text as well. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
  • Type:Byte[]
  • Description:This method returns a byte array that represents the feature in well-known binary.
Parameters
  • outerRingOrder
  • byteOrder
    • Description:This parameter specifies if the byte order is big- or little-endian.

GetWellKnownTypeCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetWellKnownTextCore(RingOrder)

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

GetGeoJsonCore()

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

GetBoundingBoxCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetStartPoint()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetEndPoint()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetAllPoints()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Vertex>
  • Description:N/A
Parameters

GetShapeCore()

  • N/A
Remarks
  • 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 Value
  • Type:BaseShape
  • Description:This method returns the shape class that represents the Feature.
Parameters

Finalize()

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

MemberwiseClone()

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

Public Properties

CanMakeValid

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Id

  • N/A
Remarks
  • 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 Value
  • Type:String

Tag

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

ColumnValues

  • N/A
Remarks
  • 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 Value
  • Type:Dictionary<String,String>

Protected Properties

Public Events

1) 2 2,6 2,6 6,2 6,2 2),(3 3,4 3,4 4,3 4,3 3
2) 4 5,11 51,21 26),(-4 -7,-9 -7,-14 -3
3) (2 2,6 2,6 6,2 6,2 2),(3 3,4 3,4 4,3 4,3 3
4) 4 4,7 3,7 5,4 4
api/thinkgeo.mapsuite.shapes.feature.txt · Last modified: 2017/01/11 06:50 (external edit)