Show / Hide Table of Contents

Class GeoPoint

Handling of a geographical point

Inheritance
System.Object
GeoMapElement
GeoPoint
Implements
IGeoMapElement
Inherited Members
GeoMapElement.UniqueId
GeoMapElement.Color
GeoMapElement.Thickness
GeoMapElement.Name
GeoMapElement.Description
GeoMapElement.DataList
GeoMapElement.AddDataList(String, String)
GeoMapElement.AssignProperties(MapObjectProperties)
GeoMapElement.Draw()
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class GeoPoint : GeoMapElement, IGeoMapElement

Constructors

View Source

GeoPoint(GeoCoordinate)

Constructor to initialise the GeoPoint with a coordinate

Declaration
public GeoPoint(GeoCoordinate geoCoordinate)
Parameters
Type Name Description
GeoCoordinate geoCoordinate

geographical coordinate of the geographical point

Properties

View Source

Coordinate

GeoCoordinate of the geographical point

Declaration
public GeoCoordinate Coordinate { get; set; }
Property Value
Type Description
GeoCoordinate

Point of the geographical point

Methods

View Source

AsGeography()

Creates a geography type POINT()

Declaration
public string AsGeography()
Returns
Type Description
System.String

String of the geography

View Source

AsGmlPos(GmlDimension)

Creates a value for GML pos element

Declaration
public string AsGmlPos(GmlDimension gmlDimension)
Parameters
Type Name Description
GmlDimension gmlDimension

Controls if 2D or 3D is required for GML pos

Returns
Type Description
System.String

String of the GML pos element value

Implements

IGeoMapElement
  • View Source
In This Article
Back to top Copyright 2018-2024 CADology Limited