{"id":539,"date":"2015-03-17T23:38:16","date_gmt":"2015-03-17T23:38:16","guid":{"rendered":"http:\/\/blogs.lincoln.ac.nz\/gis\/?p=539"},"modified":"2023-05-07T04:14:48","modified_gmt":"2023-05-07T04:14:48","slug":"the-spatial-smoking-gun-part-2","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/the-spatial-smoking-gun-part-2\/","title":{"rendered":"The Spatial Smoking Gun (part 2)"},"content":{"rendered":"<p><em><span class=\"Apple-style-span\">This is the second of two posts about some spatial analysis aimed at reducing adolescent smoking rates. \u00a0The first talked about the analysis itself while this one discusses how the results were shared with colleagues and end users.<\/span><\/em><\/p>\n<p>In <a title=\"The Spatial Smoking Gun (part 1)\" href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/the-spatial-smoking-gun-part-1\/\" target=\"_blank\" rel=\"noopener\">part 1 of this post<\/a>, the analysis issues were covered and we ended up with a spatial database of tobacco retailers and their proximity to secondary schools, using geocoding and spatial joins. \u00a0Our next issue was how best to share these results. \u00a0There were two aspects to this: sharing preliminary results with my colleagues during analysis and then sharing the final results with our end users (the DHBs). \u00a0With my colleague, <a href=\"http:\/\/www.otago.ac.nz\/dsm\/people\/expertise\/profile\/?id=606\" target=\"_blank\" rel=\"noopener\">Louise<\/a>, in Dunedin, it wasn&#8217;t going to be easy to sit down with her to go over the maps. \u00a0For a while I would email her screen shots of what I was working on, but that wasn&#8217;t ideal either when she wanted to look at specific schools &#8211; lots of tooing and froing.\u00a0 The primary end users of our results were the district health boards and one of the things they wanted was maps of the outputs. \u00a0And therein lay our first challenge. \u00a0Of the 20\u00a0DHBs, let&#8217;s start by looking at the smallest one, Capital and Coast, to illustrate. \u00a0Here&#8217;s a map showing the area that this DHB covers:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoast.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-721\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoast.jpg\" alt=\"CapCoast\" width=\"704\" height=\"687\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoast.jpg 704w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoast-300x293.jpg 300w\" sizes=\"auto, (max-width: 704px) 100vw, 704px\" \/><\/a><\/p>\n<p>Within this district are 24\u00a0secondary schools and 324\u00a0tobacco retailers. \u00a0How best to show these on a map? \u00a0There&#8217;s a big scale issue at work here which became clear when we starting thinking about hard copy maps, and one that gets more problematic as the DHBs get larger. \u00a0How much useful information would one map of the whole district convey? \u00a0We could show the locations of all the schools, but at the scale of the whole district, it would be impossible to see the walking zones around each school. \u00a0Adding the retailers would just make things messier. \u00a0So maybe we could make a separate map for each school in each district?\u00a0 Let&#8217;s see, that would be 20 separate district maps and as many as 478 individual\u00a0maps for each school. In urban areas we could try and get away with several schools per map, but at a cost of using a scale that might be too coarse. \u00a0We could set up a map template to make life easier but we&#8217;d still be dealing with a lot of maps and coordination to keep things consistent. \u00a0The thought filled me with dread, to be honest.<\/p>\n<p>So while we could have done paper maps, a much better route for all of us was to use web maps. \u00a0With webmaps, Louise could see all of the latest results from the comfort of her own computer or tablet from wherever she was (yes, even her phone), so long as she had a good internet connection. \u00a0For the DHBs, webmaps enabled them to easily get as much detail as they needed rather than having to rely on pre-made paper maps. \u00a0Using the Snipping Tool in Windows they could put together their own figures for reports (as Hawkes Bay have been doing).<\/p>\n<p>So for Louise, I used the webmap below to share results during the analysis. \u00a0I would do my analysis on my desktop machine, then upload those data to the GIS server, create the webmap and send her the link. \u00a0She would ooh and ahh (if I was lucky) and give me feedback on what she wanted to do next (click on the image to go to the map).<\/p>\n<p><a href=\"http:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=90bf3ffdca06418ba31a02b71e6bdd47&amp;extent=170.4188,-45.9201,170.5982,-45.8522\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-749\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/LouiseWebmap.jpg\" alt=\"LouiseWebmap\" width=\"1358\" height=\"716\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/LouiseWebmap.jpg 1358w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/LouiseWebmap-300x158.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/LouiseWebmap-1024x540.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/LouiseWebmap-768x405.jpg 768w\" sizes=\"auto, (max-width: 1358px) 100vw, 1358px\" \/><\/a><\/p>\n<p>For the clients, we needed to set up a webmap for each of the DHBs, so a template was created to keep all of the maps consistent in style and content. \u00a0Once the data were on the server, we developed a web application, customised to each DHB and then sent each the link to their particular district (click on the image to go to the map).<\/p>\n<p><a href=\"http:\/\/gis.lincoln.ac.nz\/DHB\/CapitalandCoast\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-716\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoastWebmap.jpg\" alt=\"CapCoastWebmap\" width=\"1361\" height=\"718\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoastWebmap.jpg 1361w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoastWebmap-300x158.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoastWebmap-1024x540.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2015\/02\/CapCoastWebmap-768x405.jpg 768w\" sizes=\"auto, (max-width: 1361px) 100vw, 1361px\" \/><\/a><\/p>\n<p>We set up pop up windows so when someone clicks on a school or a retailer, a table opens showing the attributes for that feature, so it provides a little look into the attribute table.<\/p>\n<p>Being a webmap, what the end users are actually seeing is an image rather than actual data. \u00a0So while they can see what&#8217;s there, pan around, and turn layers on and off, they can&#8217;t do any real analysis with the data. \u00a0For that we would either have to send them copies of the data (which we&#8217;ve done for Hawkes Bay) or set up a <a title=\"Web Feature Services \u2013 real data from the web to your desktop\" href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/web-feature-services-real-data-from-the-web-to-your-desktop\/\" target=\"_blank\" rel=\"noopener\">web feature service<\/a> to they could work with some actual data using ArcMap on their end.<\/p>\n<p>So far, this has been working out well for the DHBs and they&#8217;re actively using these results for their work. \u00a0Being able to share my preliminary results with Louise was made a lot easier by setting up the webmap so she could see what I was seeing.<\/p>\n<p>The process of setting up a <a title=\"Anatomy of a Web Map\" href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/anatomy-of-a-web-map\/\" target=\"_blank\" rel=\"noopener\">webmap<\/a> isn&#8217;t all that difficult and I&#8217;ll cover it in another post. \u00a0If nothing else, this post may spur some ideas for how you might be able to share some of your mapped results with others. \u00a0If so,<a href=\"mailto:crile.doscher@lincoln.ac.nz\"> give us a ring<\/a>.<\/p>\n<p>C<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the second of two posts about some spatial analysis aimed at reducing adolescent smoking rates. \u00a0The first talked about the analysis itself while this one discusses how the results were shared with colleagues and end users. In part 1 of this post, the analysis issues were covered and we ended up with a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-539","post","type-post","status-publish","format-standard","hentry","category-interesting-problems"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/comments?post=539"}],"version-history":[{"count":1,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/539\/revisions"}],"predecessor-version":[{"id":4158,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/539\/revisions\/4158"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}