GISLatLon


Synopsis

stores a GIS coordinate point as a Latitude/Longitude/Altitude location in Degree/Minute/Second (DMS) form

Input Ports

latDegree

double

latMinute

double

latSecond

double

lonDegree

double

lonMinute

double

lonSecond

double

inAlt

double

 

Output Ports

Latitude

double

Longitude

double

Altitude

double

 

Description

GISLatLon stores a DMS coordinate location and returns the coordinate in decimal degrees. Altitude can be in any units, as long as those units are consistent throughout the GIS network.

Input Ports

latDegree
latMinute
latSecond

Double. Input latitude in DMS format.

lonDegree
lonMinute
lonSecond

Double. Input latitude in DMS format.

inAlt

Double. Input altitude in user units.

Output Ports

Latitude
Longitude
Altitude

Double. Output location in decimal degree format.

Latitude Conversions

All DMS Latitude inputs are constrained from -90.0 o (90.0 o S) to 90.0 o (90.0 o N). Values outside of these bounds will be clipped to fall within the -90.0 o to 90.0 o constraints. Cartographers who use N/S latitude notation must map their latitudes to the N = positive, S = negative convention. Conformance with this convention should be observed throughout all GIS related modules.

Longitude Conversions

DMS Longitude inputs are constrained from 0 o (0 o E) to 360 o (0 o W). Values outside of these bounds will be clipped to fall within the 0 o to 360 o constraints. Cartographers who use E/W latitude notation must map their longitudes to the
E = positive, W = negative convention. The GISLatLon module will handle mapping from the +/- convention to the 360 o convention using the following restrictions:

0 o longitude runs through Greenwich, England.

Longitudes run positive in an eastward direction.

0 o E to 180 o E (+180 o ) will be mapped from 0 o to 180 o

180 o W (-180 o ) to 0 o W will be mapped from 180 o to 360 o .

Altitude

Altitude can be represented as any double precision unit of measurement. It is your responsibility to ensure that all units are consistent throughout the network. Negative altitude values are allowed.

Example

Not Available.

File

v/gis1.v

See also