[Qgis-user] Re: GPX, OS Grid References and Google Earth

Nick Hopton nhopton at gmail.com
Mon Apr 23 03:04:10 PDT 2012


Hi Des, just to add a lttle to what Lene wrote. As mentioned, import the GPX
file to QGIS, then save it as a EPSG:27700 projected shapefile. To do this
right-click on the GPX file in the layers panel, go 'Save As...' and set
'Format' to 'ESRI Shapefile'. Set the CRS for the new shapefile by clicking
to the right of 'CRS', and picking 'Selected CRS', then press the 'Browse'
button. In the window that appears enter '27700' (without the quotes) in the
'Filter' field. Highlight 'OSGB 1936 / British National Grid' in the list
below and press 'OK'. Then give the new shapefile a name and click 'OK'.

Next, load the new shapefile into QGIS, right-click on it in the layers
panel and go 'Set Project CRS from Layer'. You can now add OS grid
coordinates to the shapefile's attribute table. To do this, highlight the
layer in the layers panel and (from the top menu bar) go Vector -> Geometry
Tools -> Export/Add geometry columns. All you need to do here is tick 'Save
to new shapefile', give the new file a name and press 'OK'.

Now load the new shapefile and have a look at the attribute table
(right-click on the layer in the layers panel and go 'Open Attribute
Table'). You should find that it contains two new columns, one for OS
eastings (x-ordinates) and the other for northings (y-ordinates). The
ordinates form OS grid coordinates, not grid references (ie. SD4568798345
will be shown as 345687 498345, for example). QGIS doesn't know about
Ordnance Survey grid references I'm afraid, but if this is a problem then
come back.

Nick.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GPX-OS-Grid-References-and-Google-Earth-tp4907061p4909729.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list