{"id":353,"date":"2014-06-05T07:00:00","date_gmt":"2014-06-05T07:00:00","guid":{"rendered":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/2014\/06\/05\/uk-new-os-building-height-data-how-to-use-it-with-autocad-map3d-and-autodesk-infraworks\/"},"modified":"2014-06-05T07:00:00","modified_gmt":"2014-06-05T07:00:00","slug":"uk-new-os-building-height-data-how-to-use-it-with-autocad-map3d-and-autodesk-infraworks","status":"publish","type":"post","link":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/2014\/06\/05\/uk-new-os-building-height-data-how-to-use-it-with-autocad-map3d-and-autodesk-infraworks\/","title":{"rendered":"UK &#8211; New OS building height data &#8211; How to use it with AutoCAD Map3D\/C3D and Autodesk Infraworks"},"content":{"rendered":"<p><span style=\"font-size: 10pt\">Customers using Ordnance Survey MasterMap Topography Layer can now access information on the heights of almost 20 million buildings across Great Britain with the alpha release of OS building height attributes (<a href=\"www.ordnancesurvey.co.uk\" target=\"_blank\">www.ordnancesurvey.co.uk<\/a>) Released on 17 March, OS MasterMap Topography Layer \u2013 Building Height Attribute is a product enhancement to OS MasterMap Topography Layer, and available to licence holders at no additional cost.<\/span><\/p>\n<p><span style=\"font-size: 10pt\">If you are one of the lucky customers who can now access this very useful dataset then here you will find how to use it in AutoCAD Map3D\/C3D and Autodesk Infraworks environments.<\/span><\/p>\n<p><span style=\"font-size: 10pt\">First of all the OS MasterMap Topography Layer \u2013 Building Height Attribute comes as .cvs file and it is not joint to the topography so in order to reuse it with Autodesk products it is necessary to manipulate first the .csv file then you need to join it to the topography.<\/span><\/p>\n<h2 class=\"MsoNormal\" style=\"line-height: normal\"><strong><span>Step 1 &#8211; Managing the CSV data<\/span><\/strong><\/h2>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>The Building Height Attribute .csv contains the attribute OS_TOPO_TOID, which is the TOID from Topography Layer. This TOID is the attribute that is used to join the data to your Topography Layer data.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>TOIDs are stored in GML as a character string, with the prefix \u2018osgb\u2019, and can comprise of either a 13-digit number or a 16-digit number after \u2018osgb\u2019 (for example, osgb1000042992516).<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>The first step is to open .csv, removes \u2018osgb\u2019 and adds three leading zeroes to 13-digit TOIDs and save as .xlsx<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>e.g.&#160;osgb1000042992516 becomes 0001000042992516<\/span><\/p>\n<h2><span style=\"font-family: times new roman,times;font-size: 12pt\"><strong>Step 2 &#8211; Managing OS Mastermap Topography Layer&#160;<\/strong><\/span><\/h2>\n<p><span style=\"font-family: arial,helvetica,sans-serif;font-size: 10pt\">To make the TOIDs joining process simpler it is reccomend you filter the Building poligons in the OS Mastermap Topography Layer and you save it as sdf file.<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif;font-size: 10pt\">a. Command line: MAPIMPORT, Select .gz file and bring it into your Map, &gt; Select &quot;Topographic Area&quot; only &gt; Create object data and select Import polygons as polylines.<\/span><\/p>\n<p><a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd142826970b-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p1\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a3fd142826970b img-responsive\" height=\"264\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd142826970b-500wi\" title=\"B1p1\" width=\"472\" \/><\/a><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif;font-size: 10pt\">b. Command line: MAPEXPORT to .sdf (export Object data too)<\/span><\/p>\n<p><a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d53970c-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p2\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a511c44d53970c img-responsive\" height=\"330\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d53970c-500wi\" title=\"B1p2\" width=\"469\" \/><\/a><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif;font-size: 10pt\">c. Connect to Data &gt; Add sdf connection to the .sdf file just created<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif;font-size: 10pt\">d. In the Task Pane&gt; Select Layer&gt; Right click, Query to Filter data&gt; Filter the Buildings only<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif;font-size: 10pt\"> <a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d66970c-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p3\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a511c44d66970c img-responsive\" height=\"290\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d66970c-500wi\" title=\"B1p3\" width=\"468\" \/><\/a><br \/><\/span><\/p>\n<h2 class=\"MsoNormal\" style=\"line-height: normal\"><strong><span>Step 3 &#8211; Create Data Source Name (DSN)<\/span><\/strong><\/h2>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>You now need to create a Data Source Name (DSN) . <\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>a. Using ODBC Data Source administrator, create a user DSN connected to the .xlsx file.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span> <a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d77970c-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p4\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a511c44d77970c img-responsive\" height=\"306\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d77970c-500wi\" title=\"B1p4\" width=\"468\" \/><\/a><\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif;font-size: 10pt\">b. Add an ODBC connection;In AutoCAD Map3D or Civil 3D Select, Task Pane &gt; Manage data content &gt; Connect to Data &gt; Add ODBC connection to the user DSN just created.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>&#160; <a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd14ac80970b-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p5\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a3fd14ac80970b img-responsive\" height=\"459\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd14ac80970b-500wi\" title=\"B1p5\" width=\"462\" \/><\/a><\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span><strong>Step 4 &#8211; Join the Building Height Attribute to OS Mastermap Topography <\/strong><\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>Once you have Building Height.xlsx file and the OS Mastermap Topography Layer (Buildings only) added to your Map;<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>a. Right click the Topographic Layer and Select &quot;Create a join&quot; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span> <a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d9a970c-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p6\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a511c44d9a970c img-responsive\" height=\"317\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a511c44d9a970c-400wi\" title=\"B1p6\" width=\"257\" \/><\/a><br \/><\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>b. Create a join between the sdf building topograpy layer and the building height data by matching the TOIDs<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span> <a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd14ac92970b-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p7\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a3fd14ac92970b img-responsive\" height=\"633\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd14ac92970b-500wi\" title=\"B1p7\" width=\"464\" \/><\/a><br \/><\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>c. In order to Save the joint Map, Right click the topography Layer and select &quot;Export Layer to SDF&quot;.<\/span><\/p>\n<h2 class=\"MsoNormal\" style=\"line-height: normal\"><strong><span>Step 5 &#8211; Use the OS Building Height Attribute into Autodesk Infraworks<\/span><\/strong><\/h2>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>a. Launch Autodesk Infraworks<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>b. Drag and drop a digital terrain of the area.&#160; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>(If you do not have it you may want to use the free OS Terrain 50 Open Data&#160; http:\/\/www.ordnancesurvey.co.uk\/business-and-government\/products\/terrain-50.html)<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>c. Drag and drop the .sdf file created earlier and use the AbsH2 coloum for your building height.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd14acae970b-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p8\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a3fd14acae970b img-responsive\" height=\"393\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a3fd14acae970b-500wi\" title=\"B1p8\" width=\"459\" \/><\/a><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\"><span>and voila&#039; your town have now realist building height<br \/> <a class=\"asset-img-link\" href=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a73dcf754e970d-popup\"><img loading=\"lazy\" decoding=\"async\" alt=\"B1p9\" class=\"asset  asset-image at-xid-6a01127918d1ef28a401a73dcf754e970d img-responsive\" height=\"277\" src=\"http:\/\/fromthegroundup.typepad.com\/.a\/6a01127918d1ef28a401a73dcf754e970d-500wi\" title=\"B1p9\" width=\"461\" \/><\/a><br \/><\/span><\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal\">&#160;Cristina Savian&#160;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Customers using Ordnance Survey MasterMap Topography Layer can now access information on the heights of almost 20 million buildings across Great Britain with the alpha release of OS building height attributes (<a href=\"www.ordnancesurvey.co.uk\" target=\"_blank\">www.ordnancesurvey.co.uk<\/a>) Released on 17 March, OS MasterMap Topography Layer \u2013 Building Height Attribute is a product enhancement to OS MasterMap Topography Layer,<\/p>\n","protected":false},"author":335,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[74,11,17],"tags":[53,92,89],"class_list":["post-353","post","type-post","status-publish","format-standard","hentry","category-autodesk-2015-release","category-infrastructure-design-suite","category-infraworks","tag-akn_include","tag-autocad-c3d","tag-autocad-map3d"],"acf":[],"_links":{"self":[{"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/users\/335"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":0,"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.autodesk.com\/from-the-ground-up\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}