MapThat – OS National Geographic Database Layers

Marketing
Marketing
  • Updated

by David Crowther

OS NGD 1.png

In this previous blog we explored how to use QGIS to access data from the Ordnance Survey National Geographic Database – https://www.cadlinecommunity.co.uk/hc/en-us/articles/10620039318813-QGIS-How-to-access-the-National-Geographic-Database

…. And now in this new blog we will go through how you can download some of these datasets and publish them within a webGIS!

 

1 – Download Data

Having ordered your OS NGD data using the Ordnance Survey Data Hub, you can use the Download menu to download the files.

OS NGD 2.jpg 

.. the files will be downloaded as zip files into your download folder.

OS NGD 3.jpg 

… in this example I ordered the OS NGD data as GeoPackage files.

OS NGD 4.jpg 

2 – Style in QGIS

Next use your desktop GIS e.g. QGIS to open the GeoPackage files.

OS NGD 5.jpg 

Once added to the map, you can use the QGIS Layer Properties to style the data as required. For example, styling the building outlines as a salmon colour….

OS NGD 6.jpg 

Applying styles to the buildings, residential gardens and road layers allow you to style OS NGD to be similar to the OS MasterMap styling!

OS NGD 7.jpg 

.. and using QGIS style options you can very easily make the rail lines appear as railway tracks!

OS NGD 8.jpg

And finally, you can use the Thematic styling options to style the Sites layer using their subset classification values.

OS NGD 9.jpg

For all the styles that you have created, you can export the style options as GeoServer Style Layer Descriptors (SLDs) which can be used later to style our GeoServer layers!

OS NGD 10.jpg 

3 – Upload to SQL Database

To upload the GeoPackage files from your PC, simply drag and drop them into your chosen spatial database e.g. SQL, PostGIS etc…

OS NGD 11.jpg 

… once uploaded the GIS data will now be available as a table in your spatial database.

OS NGD 12.jpg 

4 – Publish as WMS using GeoServer

Next we can use GeoServer to then publish the spatial database tables as WMS layers.

OS NGD 13.jpg 

Using the SLDs that we saved from QGIS earlier to create Style files to then be applied to the WMS layers.

OS NGD 14.jpgOS NGD 15.jpgOS NGD 16.jpgOS NGD 17.jpg

5 – Create layers in webGIS - MapThat

Finally, we will then publish the GeoServer WMS Layers within our WebGIS – MapThat!

Sites Layers -

OS NGD 18.jpg 

Water and Rail Layers -

OS NGD 19.jpg 

Buildings, Residential Gardens, Road, Rail, Water and Sites Layers -

OS NGD 20.jpg 

So, using open-source GIS technology QGIS and GeoServer you can very quickly process, style, and then publish the Ordnance Survey National Geographic Database layers into your chosen web mapping application.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.