getOSGBfromDms method
Returns the easting and northing values of an OS Grid Reference given the degrees, minutes and seconds of latitude and longitude values
Implementation
OSRef getOSGBfromDms(double latdeg, double latmin, double latsec, double longdeg, double longmin, double longsec, [var datum]) {
if (datum == null) {
datum = Datums.WGS84;
}
LatLong latLong = new LatLong.fromDms(latdeg, latmin, latsec, longdeg, longmin, longsec, 0, datum);
OSRef osRef = latLong.toOsGrid();
return osRef;
}