Table of Contents

Method ValidateGPS

Namespace
Pinwheel.Vista.RealWorldData
Assembly
Pinwheel.Vista.RealWorldData.Runtime.dll

ValidateGPS(GeoPoint)

Wraps a GPS point back into the standard longitude and latitude ranges.

public static GeoPoint ValidateGPS(this GeoPoint p)

Parameters

p GeoPoint

Point to normalize.

Returns

GeoPoint

A point whose longitude is wrapped into [-180, 180] and latitude into [-90, 90].