Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CODE I EDITED
- lon = 521490
- lat = 192263
- height = 0
- osgb36point = convertOSGB36toWGS84(lat,lon, height)
- oslat = osgb36point[0]
- oslon = osgb36point[1]
- osh = osgb36point[2]
- osUKgridPoint = LatLongToOSGrid(oslat,oslon)
- easting = osUKgridPoint[0].round
- northing = osUKgridPoint[1].round
- OUTPUT
- wgs84 lat:192263, wgs84 lon:521490
- Converts to:
- osgb36 lat:23.00619802206627, osgb36 lon:-149.99650128215052
- Converts to:
- easting:-33856949, northing:56599846
- (THE LAT AND LONG IS INCORRECT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement