GpsData Class

Definition

Namespace: P1.ImageSdk

A GPS data bundle, that defines an auxillary GPS’s position on earth, along with a date-time stamp More…

public class GpsData

Remarks

A GPS data bundle, that defines an auxillary GPS’s position on earth, along with a date-time stamp

Coordinates are stored in degrees and minutes (of arc) with decimals. (No seconds of arc components.)

Conveniece properties LatitudeAsDecimal and LongitudeAsDecimal, returns the the decimal degrees representation. These are calculated using the formular: decimalDegrees = degrees + minutes / 60

There are no convenience converters for convertion to a degree, minute & second representation. However, the seconds components can be calculated from the minutes: seconds = (minutes - floor(minutes)) * 60

The GPS timestamp might not contain a date component. This depends on the GPS device used, when the IIQ file was created. The member GpsDateTimeComponents.HasDate defines if date components (year, month, day) are present.

Members

GpsDateTimeStamp

The date and time for when the location data was collected

LatitudeDegrees

North-South point in (integer) degrees from -90 (South Pole) or +90 (North Pole)

LatitudeMinutes

Minute of arc part of the latitude coordinate (North-South)

LongitudeDegrees

East-West point in (integer) degrees from -180 (West) to +180 (East), where 0 is near Greenwich, England

LongitudeMinutes

Minute of arc part of the longitude coordinate (East-West)

AltitudeMeters

Height of camera in meters, above sea level. Negative values means, below sea level.

Properties

LatitudeAsDecimal

Return degrees only latitude coordinate. (Degrees with decimals)

LongitudeAsDecimal

Return degrees only longitude coordinate. (Degrees with decimals)

Methods

ToString()

Represent object as a human readable string