{"id":279,"date":"2015-11-25T10:31:46","date_gmt":"2015-11-25T10:31:46","guid":{"rendered":"http:\/\/www.noisemap.ltd.uk\/wpress\/?page_id=279"},"modified":"2015-12-02T21:28:23","modified_gmt":"2015-12-02T21:28:23","slug":"importing-from-shapefiles","status":"publish","type":"page","link":"http:\/\/www.noisemap.ltd.uk\/wpress\/features\/data-importing-2\/importing-from-shapefiles\/","title":{"rendered":"Importing from Shapefiles"},"content":{"rendered":"<p class=\"heading1\">Shapefiles originated as a way of storing objects in an ESRI Geographical Information System (GIS).\u00a0 In addition to storing the 2- or 3-dimensional co-ordinates of map objects, they can also store any number of other attributes about the object, such as the traffic flow data for a road.\u00a0 DXF files cannot do this.\u00a0 However, unlike a DXF file, each shapefile can only contain one type of object, although there may be thousands or even millions of that type of object in the file.<\/p>\n<p class=\"subheading\"><strong>What Information do you need?<\/strong><\/p>\n<p class=\"bodytext\">If you are using shapefile format, then ideally you will need the following shapefiles:<\/p>\n<ul>\n<li><span class=\"bodytext\">Road segments with traffic flows<\/span><\/li>\n<li><span class=\"bodytext\">Building outlines<\/span><\/li>\n<li><span class=\"bodytext\">Noise barriers<\/span><\/li>\n<li><span class=\"bodytext\">Ground contours<\/span><\/li>\n<li><span class=\"bodytext\">Ground-type outlines<\/span><\/li>\n<\/ul>\n<p class=\"bodytext\">NoiseMap gives you a lot of flexibility about the content of each of these files.\u00a0 The preferred content of each of these files is described in Appendix 1 of the main NoiseMap manual.\u00a0 Very often, some of the information will be missing from the shapefiles that you have been given.\u00a0 There are several options for dealing with this, which are illustrated by the following examples.\u00a0 There are many other possibilities.<\/p>\n<p class=\"bodytext\"><strong><span class=\"subheading\">Using Default Values<\/span><\/strong><\/p>\n<p>When you import the shapefile into NoiseMap, you can tell NoiseMap what values to assume in place of the missing values (these are called the \u2018default values\u2019). For example, the shapefile may not contain information about the type of road surface to use.\u00a0 So you might want to tell NoiseMap to assume a bitumen surface with a 2mm texture depth \u2018by default\u2019.\u00a0 It may be possible to add the missing information later on, because you can change the default values to the correct values after you have imported the shapefile.\u00a0 There are various tools to help you to do this.<\/p>\n<p class=\"bodytext\"><span class=\"subheading\"><strong>Calculating Missing Values<\/strong> <\/span><\/p>\n<p>If you have a \u2018ground model\u2019 (i.e. ground height contours) but the roads shapefile does not have any height data, you can import the ground model first and then tell NoiseMap to get the height of roads from the ground model.\u00a0 Usually, this will mean that all the roads will be at ground level, although if the roads shapefile has information on the height of the road above the ground, then this can be used to get the height of elevated roads as well.<\/p>\n<p class=\"bodytext\"><strong><span class=\"subheading\">Importing from another Shapefile <\/span><\/strong><\/p>\n<p>If the road shapefile does not have traffic flows in it, you can import the roads and then import the traffic flows from a separate file.\u00a0 In this case, it is essential that the traffic flow reference numbers in the road shapefile and in the traffic flow file are in correspondence, otherwise the correct flows will not be assigned to the correct roads.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shapefiles originated as a way of storing objects in an ESRI Geographical Information System (GIS).\u00a0 In addition to storing the 2- or 3-dimensional co-ordinates of map objects, they can also store any number of other attributes about the object, such as the traffic flow data for a road.\u00a0 DXF files cannot do this.\u00a0 However, unlike &hellip; <a href=\"http:\/\/www.noisemap.ltd.uk\/wpress\/features\/data-importing-2\/importing-from-shapefiles\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Importing from Shapefiles<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":70,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/pages\/279"}],"collection":[{"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":3,"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/pages\/279\/revisions"}],"predecessor-version":[{"id":323,"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/pages\/279\/revisions\/323"}],"up":[{"embeddable":true,"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/pages\/70"}],"wp:attachment":[{"href":"http:\/\/www.noisemap.ltd.uk\/wpress\/wp-json\/wp\/v2\/media?parent=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}