You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I access the 3d attribute for building height, RelHMax:
map.on('style.load',function(){// Duplicate 'OS/TopographicArea_2/Building/1' layer to extrude the buildings// in 3D using the Building Height Attribute (RelHMax) value.
I only want to get the building height for a particular grid location or TOID/UPRN, so I don't need to plot anything else on a map. How can this be done using any of the OS products?
The text was updated successfully, but these errors were encountered:
Hi @eabase. You can also obtain the building height attribution from the OS Features API. Here are a couple of code examples which demonstrate how you could achieve this:
Alternatively you could use something like vector-tile-query. This repo is no longer maintained; but should allow you to query the attribution directly from the vector tiles.
Hi @tmnnrs
Thank you for the reply. However, I cannot find any reference to building height in any of those examples. Perhaps you can briefly explain how this could be done, using those examples?
These examples have been configured to return only a limited set of the available attributes for the TopographicAreas (in this case TOID + DescriptiveGroup + SHAPE) through use of the propertyName query parameter.
Excluding this parameter will result in the full set of attributes (including those for the building heights) being returned.
How can I access the 3d attribute for building height,
RelHMax
:I only want to get the building height for a particular grid location or TOID/UPRN, so I don't need to plot anything else on a map. How can this be done using any of the OS products?
The text was updated successfully, but these errors were encountered: