CustomTable Class |
Namespace: Telogis.GeoBase
The CustomTable type exposes the following members.
Name | Description | |
---|---|---|
CustomTable | Initializes a new instance of the CustomTable class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Columns |
An array of the columns in this table.
| |
Indices |
A dictionary of table indices in the custom data.
| |
Name |
The user-defined name of the table. Some table names are predefined and should
be avoided - see CustomTable.
| |
Type |
A string describing the data type of the table. One of: "Line, Polygon, Point" (case-sensitive).
|
A table could record, for example, the location, type and ID number of a set of power pylons. Also see CustomColumn.
Some table names are predefined and reserved for use by the GeoBase engine. These predefined table names are:
Predefined Polygon Query Tables: |
---|
all |
countries |
states |
counties |
islands |
cities |
airports |
runways |
cemeteries |
hospitals |
industrial |
major_parks |
state_parks |
parks |
shopping |
sports |
universities |
golf_courses |
native |
military |
buildings |
oceans |
bays |
water |
Predefined PointFeature Query Tables: |
---|
all |
small_villages |
villages |
large_villages |
towns |
large_towns |
small_cities |
cities |
major_cities |
Predefined Line Query Tables: |
---|
all |
railways |
rivers |
canals |
Related articles: Data Query Concept.
CustomTable NWPylons = new CustomTable(); NWPylons.Name = "North-Western Power Pylons"; // user-defined label NWPylons.Type = "Point"; // the type of data: one of "Line", "Polygon", "Point". Case-sensitive NWPylons.Columns[0] = pylonType; // an object of type CustomColumn NWPylons.Columns[1] = dateLastInspected; // another CustomColumn