Click or drag to resize

Line Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Represents a non-street line feature, such as a railway, stream or custom line data.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class Line : GISObject, IMapFeature

The Line type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyColumns
Every GIS object comprises a series of columns. This function returns the names of the columns for this GISObject.
(Inherited from GISObject.)
Public propertyFeatureType
Returns FeatureType.Line.
(Overrides GISObjectFeatureType.)
Public propertyGeometries
The LineString geometries associated with this feature.
Public propertyGeometry Obsolete.
The line geometry associated with this feature.
Public propertyItem
The field of the specified column for this object.
(Inherited from GISObject.)
Public propertyName
The label for this feature.
Public propertyPoints Obsolete.
An array of LatLon points that define this line.
Public propertyType
Returns the line type based on a given flag.
Public propertyWKT
Returns the WKT representation of the Geometry.
(Overrides GISObjectWKT.)
Top
Methods
  NameDescription
Public methodCode exampleDistanceTo
Calculates the shortest distance from the given point to this Line.
(Overrides GISObjectDistanceTo(LatLon, DistanceUnit).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldFlags
The flag indicates the type of line feature being represented.
Top
Remarks
When this object represents a built-in GeoBase line, flags tell GeoBase whether this line is a railway, river etc.
Flags are assigned automatically when data is loaded from the database. For custom data, the flags and name fields are ignored and the inherited column access methods from GISObject should be used to access feature attributes.

Related articles: Data Query Concept.

See Also