logo  OS Grid, GPS, Lat and Long
This Chapter
GPS & OS Ref
GPS to OS (GB)
OS(GB) to GPS
OS(GB) Format
GPS Format
Chapters
Home Page
Colours, RGB
Computer Specifications
Dates&Times
Disk Drives
Files
Folders
GPS and OS Ref
VB.Net Forms
Image Files
If & Select
List/Array
Mathematics
NuGet
Sound
String Functions
Sun and Moon
User Controls
Validation
DigitalDan Sites
My Other Sites
Contact Site

Note
Some pages
may contain
inaccuracies
Hits=6
Converting OS Grid References to Latitude/Longitude
Ordnance Survey have published a document "A Guide to Coordinate Systems in Great Britain" which can be downloaded from their website (free.) This provides a detailed explanation of the GB National Grid Reference System, how it works and the complex algorthythyms and OSTN transfromation grid used for converting GPS to/from National Grid. Most of the functions provided within this section utilise OS data or are derived from material within this publication. Where you copy, publish or distribute the contents of this document to third parties, you must acknowledge Ordnance Survey as the source of the information by including the attribution statement Copyright Ordnance Survey 2018
 
The conversion process has two stages - a mathematical procedure to project the curved surface of the earth onto the flat plane of a map and a data grid called OSTN15 which provides fine adjustments for a 1km grid covering all of England, Wales and Scotland. (Northern Ireland comes under the Irish Grid Reference system.)
 
Obtaining and Preparing the OSTN15 File
Accurate conversion from GPS to OS-Grid or OS-Grid to GPS requires access to a data grid called OSTN15 which can be downloaded free from the Ordnance Survey website. You will also have to prepare this file to ensure your project can access this data. The prepared file should start
90.750,-82.020
90.764,-82.015
90.779,-82.010
90.794,-82.005
  
and end
109.132,-53.032
109.158,-53.042
109.183,-53.054
109.209,-53.064
  
Depending on your .NET configuration, the Application.StartUp folder may have a path similar to this
...\source\repos\ ProjectName \bin\Debug\net10.0-windows
 
Acknowledgement
This page refences material Copyright Ordnance Survey 2018 from their publication A Guide to Coordinate Systems in Great Britain

DigitalDan.co.uk