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

Des Callaghan des.callaghan at ecostudy.co.uk
Mon Apr 23 06:57:36 PDT 2012


Many thanks Lene and Nick, this worked a treat. Combined with the Google
Satellite basemap, imported using the fantastic 'OpenLayers' plugin, this is
just what I needed. Many thanks for your help. Best wishes, Des 

-----Original Message-----
From: qgis-user-bounces at lists.osgeo.org
[mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Nick Hopton
Sent: 23 April 2012 11:04
To: qgis-user at lists.osgeo.org
Subject: [Qgis-user] Re: GPX, OS Grid References and Google Earth

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.
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2411/4953 - Release Date: 04/22/12




More information about the Qgis-user mailing list