Set Latitude from string
Expects a '-' sign for South Latitudes
any character other than a digit, decimal (period) or a - sign is
ignored completely and not used in parsing
Accepted types of co-ordinates are:
Decimal degrees: "-49.3435"
Degree decimal minutes: "49°22.456"
Degrees Minutes Seconds Decimal seconds: "49° 22' 13.456''"
Degree symbols are ignored and thus optional as well as minute ' or seconds '' symbols
traditionally used. All that is important is that there is a space or non-numeric character
between the groups of digits.
If a single number is found it is assumed to be decimal degrees.
If two separate numbers are found it is assumed to be Degree decimal minutes
If three separate groups of numbers are found it is assumed to be Degress minutes seconds
Namespace: GZTW.AyaNova.BLLAssembly: GZTW.AyaNova.BLL (in GZTW.AyaNova.BLL.dll) Version: 7.0.0.0 (7.0.0.0)
Syntax
| C# |
|---|
public void LatitudeFromString(
string strLatitude
) |
| Visual Basic |
|---|
Public Sub LatitudeFromString ( _
strLatitude As String _
) |
| Visual C++ |
|---|
public:
void LatitudeFromString(
String^ strLatitude
) |
See Also