

{"id":6780,"date":"2019-10-30T12:45:45","date_gmt":"2019-10-30T16:45:45","guid":{"rendered":"https:\/\/sites.temple.edu\/tudsc\/?p=6780"},"modified":"2020-04-22T15:52:49","modified_gmt":"2020-04-22T19:52:49","slug":"measuring-the-impact-of-built-environments-on-health-gathering-data-from-satellite-imagery-and-census-maps","status":"publish","type":"post","link":"https:\/\/sites.temple.edu\/tudsc\/2019\/10\/30\/measuring-the-impact-of-built-environments-on-health-gathering-data-from-satellite-imagery-and-census-maps\/","title":{"rendered":"Measuring the Impact of Built Environments on Health: Gathering Data from Satellite Imagery and Census Maps"},"content":{"rendered":"<p>By Huilin Zhu<\/p>\n<p style=\"text-align: left\"><!--more--><\/p>\n<h2><b>Introduction<\/b><\/h2>\n<p><span style=\"font-weight: 400\">My project aims to study the relationship between built environments and health outcomes, specifically excess weight in Pennsylvania. My primary research question is: Does where you live can affect your health? What is a good community design for health?\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">I am curious about the role built environments play in our health. For my digital fellowship project, I plan to <\/span><span style=\"font-weight: 400\">use <\/span><span style=\"font-weight: 400\">satellite imagery and transfer learning to extract data representing the feature of the built environment from Google maps, and to investigate the links between the built environment and health outcomes.\u00a0<\/span><\/p>\n<h2><b>Built environment<\/b><\/h2>\n<p><span style=\"font-weight: 400\">\u00a0<\/span><span style=\"font-weight: 400\">A \u201cbuilt environment\u201d can be defined as a human-made space in which people live, work, and recreate on a day-to-day basis, including buildings, parks, roads, lakes, etc. Factors of the \u201cbuilt environment\u201d can determine individuals&#8217; access to food, health resources, and facilities that promote physical activity and healthy behaviors.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Based on the previous study, there are two main channels by which the built environment can affect body weight index (BMI): physical activity environment and food environment. Some features, such as land-use diversity and street connectivity, may increase physical activity, thus lowering the possibilities of being obese (<\/span><a href=\"https:\/\/www.tandfonline.com\/doi\/abs\/10.1080\/01944360608976725?src=recsys\"><span style=\"font-weight: 400\">Frank et al.,2007<\/span><\/a><span style=\"font-weight: 400\">;<\/span><a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/S074937970800072X?via%3Dihub\"><span style=\"font-weight: 400\">Brown et al.,2009<\/span><\/a><span style=\"font-weight: 400\">,<\/span> <a href=\"https:\/\/www.tandfonline.com\/doi\/abs\/10.1080\/01944360608976721\"><span style=\"font-weight: 400\">Doyle et al., 2006<\/span><\/a><span style=\"font-weight: 400\">).\u00a0 Limited access to healthy food increases the probability of obesity(<\/span><a href=\"https:\/\/ehp.niehs.nih.gov\/doi\/10.1289\/ehp.11590\"><span style=\"font-weight: 400\">Rundle et al.,2009<\/span><\/a><span style=\"font-weight: 400\">;<\/span><a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/S0749379706001462?via%3Dihub\"><span style=\"font-weight: 400\">Inagami et al.,2009<\/span><\/a><span style=\"font-weight: 400\">).<\/span><\/p>\n<h2><b>Satellite imagery<\/b><\/h2>\n<p><span style=\"font-weight: 400\">For the data collection stage of my project, I use Google static maps as the main resource to capture features for the built environment. Google static maps can capture the physical characteristics of a neighborhood such as the presence of parks, highways, green streets, crosswalks, diverse housing. But we cannot recognize the specific use of the building since the google static map cannot provide detailed information about a specific place.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Initially, I want to use a high-resolution map for one city and raster it to tile images. The problem is that pixels for the initial map are not large enough. My project requires the size of each tile 256*256 pixels.\u00a0 That means each census tract needs to be mapped into tens or hundreds of tiles. For example, Philadelphia has 384 census tracts. About 60000 tile images need to be downloaded for Philadelphia.\u00a0 However, I cannot find a publicly available super high-resolution map that can support the 256*256 pixel after being divided into 60000 pieces.<\/span><\/p>\n<p><span style=\"font-weight: 400\">So I choose to get tile geographic information first and then download images accordingly form google static map. Google static maps offer free plans, with daily download limits of 25,000 requests per day.\u00a0 The difficulty here is how to access each tile image from the Google Static Map API. This is very tough for me. I am very glad that Tim Bieniosek in the digital scholar center help me figure it out. We use the shapefile, divide the shapefile into census tract, and then divide each census tract into a square grid. With the geographic information in each grid, we can download the google map directly by using Python. Python loop code can allow us to keep on downloading tile images, and we do not need to manually download image one by one.<\/span><\/p>\n<p><span style=\"font-weight: 400\"> The below is one tile image downloaded from google static map. The size of each tile is 256*256 pixels, covering an area of 77m*77m in the real world(zoom level 20).<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6787 aligncenter\" src=\"https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/106817.jpg\" alt=\"\" width=\"256\" height=\"256\" srcset=\"https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/106817.jpg 256w, https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/106817-150x150.jpg 150w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/p>\n<p><span style=\"font-weight: 400\">After we download some tile image, we put these images into QGIS to make sure the images are downloaded correctly. The below picture shows how the tile images look like in the shapefile for Philadelphia. In the left picture, there are about 100 tile images in the first layer, the second layer is the shapefile for Philadelphia.\u00a0 Each number in the second layer is a specific number indicating the census tract, city, state.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6786\" src=\"https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/Screenshot-2019-10-17-21.31.11-300x206.png\" alt=\"The view of tile image and the shape-files for Philadelphia\" width=\"398\" height=\"273\" srcset=\"https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/Screenshot-2019-10-17-21.31.11-300x206.png 300w, https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/Screenshot-2019-10-17-21.31.11-768x527.png 768w, https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/Screenshot-2019-10-17-21.31.11-1024x703.png 1024w, https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/Screenshot-2019-10-17-21.31.11-850x583.png 850w, https:\/\/sites.temple.edu\/tudsc\/files\/2019\/10\/Screenshot-2019-10-17-21.31.11.png 1084w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/p>\n<h2><strong>Future work\u00a0<\/strong><\/h2>\n<p><span style=\"font-weight: 400\">Currently, I am still in the stage of data collecting. \u00a0 Even for one city Philadelphia, about 60,000 tile image needs to be downloaded.\u00a0 It takes some time. After I get all tile images ready, I will do the following work:\u00a0<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400\"> \u00a0 \u00a0 <\/span><span style=\"font-weight: 400\">Use a convolutional neural network (CNN)\u00a0 to extract data representing the feature of built environment. A Convolutional Neural Network (CNN) is a deep learning algorithm that can take in an input image, assign weights to pixels in the image and be able to differentiate different objects in the image. This project will collect outputs from the penultimate layer of the network for each image in the data set.\u00a0\u00a0<\/span><\/li>\n<\/ol>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400\">Use the elastic net algorithm to run a regression to find the correlation between the built environment and body weight. Health outcome is regarded as the dependent variable. The independent variables would be the variables drawn from CNN, such as color, gradient, edge,<\/span> <span style=\"font-weight: 400\">height, length, etc..<\/span><\/li>\n<\/ol>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400\"> Do data analysis including control variables: median household income, percentage of male(female), percentage of the race (White, Black, Asian, and other race), percentage of households under the poverty line.\u00a0<\/span><\/li>\n<\/ol>\n<ol start=\"4\">\n<li><span style=\"font-weight: 400\"> Get the data of places of interest to investigate how the built environment will affect body weight through a food access channel.<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Huilin Zhu<\/p>\n","protected":false},"author":18180,"featured_media":6782,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[395,2,406],"tags":[396,6],"class_list":["post-6780","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-economics","category-grad-students","category-maps-gis","tag-image-analysis","tag-top-news"],"_links":{"self":[{"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/posts\/6780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/users\/18180"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/comments?post=6780"}],"version-history":[{"count":0,"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/posts\/6780\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/media\/6782"}],"wp:attachment":[{"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/media?parent=6780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/categories?post=6780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.temple.edu\/tudsc\/wp-json\/wp\/v2\/tags?post=6780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}