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
This is an old revision of the document!
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.
CreateFeatureFromWellKnownData
CreateFeatureFromWellKnownData
N/A
N/A
This method is the constructor for the Feature.
You can use this constructor to create a point Feature based on x and y coordinates and specify the Id.
x
id
y
id
This method is the constructor for the Feature.
You can use this constructor to create a point Feature and specify the Id as well as the column values.
vertex
columnValues
id
N/A
N/A
wellKnownBinary
columnValues
id
N/A
N/A
wellKnownText
columnValues
id
N/A
N/A
baseShape
N/A
N/A
baseShape
This method is the constructor for the Feature.
This overload allows you to create the Feature from well-known text and specify the Id.
wellKnownText
This method is the constructor for the Feature.
This overload allows you to create a feature using well-known text. The Id for the Feature will be a random GUID.
wellKnownText
id
This method is the constructor for the Feature.
When you create the Feature, specify the ID of the BaseShape you want to use as a basis.
baseShape
y
columnValues
y
columnValues