Advertisement
Guest User

Untitled

a guest
May 3rd, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. CODE I EDITED
  2.  
  3.  
  4. lon = 521490
  5. lat = 192263
  6. height = 0
  7.  
  8. osgb36point = convertOSGB36toWGS84(lat,lon, height)
  9. oslat = osgb36point[0]
  10. oslon = osgb36point[1]
  11. osh = osgb36point[2]
  12.  
  13. osUKgridPoint = LatLongToOSGrid(oslat,oslon)
  14. easting = osUKgridPoint[0].round
  15. northing = osUKgridPoint[1].round
  16.  
  17.  
  18. OUTPUT
  19.  
  20.  
  21. wgs84 lat:192263, wgs84 lon:521490
  22. Converts to:
  23. osgb36 lat:23.00619802206627, osgb36 lon:-149.99650128215052
  24. Converts to:
  25. easting:-33856949, northing:56599846
  26.  
  27. (THE LAT AND LONG IS INCORRECT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement