Background information on OS MasterMap® Topography Layer Building Height Attribute and details of the attributes supplied by Ordnance Survey can be found on the Building Height Attribute Overview page.
BHA data is available from Digimap in File Geodatabase format, which can be read by QGIS without requiring any processing. It is easy to visualise BHA in File Geodatabase format using a freely available QGIS plugin. The following steps describe the process in detail.
Download the following datasets for your area of interest from Digimap using the OS download data tab in Digimap:
Visualising the data in 3D in QGIS is achieved using the Qgis2ThreeJS plugin, which can be installed using the QGIS plugin manager. The steps below describe how to use the plugin to create a 3D model:
The plugin outputs an HTML file, along with a small number of accompanying files. The HTML file requires a WebGL compatible browser (WebGL is a method of generating dynamic 3D graphics using JavaScript), most modern browsers are WebGL compatible including IE 11, FireFox, Chrome, Safari. The Can I Use site offers further information on browser compatibility.
As the files are output as a web page, you can share the results of your work with colleagues without them needing to have any specialist GIS software, however you are not permitted to make the website publicly available as the html and javaScript files contain map data rather than just images of maps. The Digimap licence does not permit the sharing of licensed data from Digimap with anyone other than registered users of the service: see licensing details.
TypeError: float() argument must be a string or a number.
As it is not possible to edit ESRI File Geodatabases in QGIS without installing another driver, the easiest work around is to run a ‘selection by attribute’ to select only those features that have a value for the specified attribute then export the selection to a new shapefile dataset. In the example here the query would be:
“NT27_relh2” is not null
Having selected all the features that have a height value for this attribute we can then save the selected features to a new dataset and run the visualisation on this dataset.
The screen grab below shows the final visualisation centred on the south side of Edinburgh using OS 1:25,000 Colour Raster as the surface layer.
We use cookies for security purposes, remembering your preferences and to analyse site traffic in order
to improve your experience using the service. This includes anonymised Google Analytics data.
We won't share your data with anyone else.
For more information please see our
Cookie Policy page.