<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Helen McKenzie on Medium]]></title>
        <description><![CDATA[Stories by Helen McKenzie on Medium]]></description>
        <link>https://medium.com/@helenmakesmaps?source=rss-1701772dbb74------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HpkcTqbIlt3_9WLvFobFDQ.jpeg</url>
            <title>Stories by Helen McKenzie on Medium</title>
            <link>https://medium.com/@helenmakesmaps?source=rss-1701772dbb74------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:05:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@helenmakesmaps/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Running visibility analysis in QGIS]]></title>
            <link>https://medium.com/data-science/running-visibility-analysis-in-qgis-d8fbdd8b02c5?source=rss-1701772dbb74------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8fbdd8b02c5</guid>
            <category><![CDATA[hands-on-tutorials]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[mapping]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[spatialdata]]></category>
            <dc:creator><![CDATA[Helen McKenzie]]></dc:creator>
            <pubDate>Fri, 04 Oct 2024 17:59:31 GMT</pubDate>
            <atom:updated>2024-10-04T17:59:31.403Z</atom:updated>
            <content:encoded><![CDATA[<h3>Running Visibility Analysis in QGIS</h3><h4>Learn how to easily run visibility analysis with free GIS software and data, and use the results to create stunning visualizations</h4><p>One of my all-time favourite types of spatial analysis is visibility analysis. It’s a really simple concept, allowing you to work out — theoretically — where something can be seen from. There are two main forms of visibility analysis — also know as viewshed analysis or ZTVs (Zones of Theoretical Visibility). These are:</p><ul><li>The “standard” viewshed: where can I see from this location? E.g. if I’m stood on top of a mountain, what will my view be?</li><li>The “reverse” viewshed: where can see a location? E.g. if I’m stood on top of a mountain, who can see me?</li></ul><p>It works by taking a set of observer points and a relief model, then calculating the line of sight between every part of that relief model and the observer points. Sounds like it would be a slow process, right? It can be. But the results are amazing, and indispensible for some applications.</p><p>One of the most common applications is to help people to understand where a new development — such as a wind farm, solar panel site or highway — will be visible from. Analysts can then model different scenarios based on their findings, such as what happens to visibility if they plant a line of trees in this <strong>exact</strong> location? Visibility analysis can also be used to drive pricing strategies for billboards or help sell penthouse apartments.</p><p>In this article, I’ll be sharing how you can easily run visibility analysis with QGIS — an open-source, free GIS software. But first, here are some examples of the end result…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L7P9M0puu8v0sUIaO_foGg.png" /><figcaption>Source: created by the author</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rvNrtUZ4NmX325Gaql-jkQ.jpeg" /><figcaption>Source: created by the author</figcaption></figure><p>Want to try?</p><h3>You will need…</h3><p><strong>Software:</strong></p><ul><li>QGIS downloaded and installed, which you can do from <a href="https://www.qgis.org/">here</a></li><li>The QGIS plugin <a href="https://plugins.qgis.org/plugins/ViewshedAnalysis/">Visibility Analysis</a> installed. To do this, open QGIS and go to the <strong>Plugins</strong> drop-down. Select <strong>Manage and Install plugins…</strong> and search for <strong>Visibility Analysis</strong>, then click <strong>Install</strong>.</li></ul><p><strong>Data:</strong></p><ul><li>A <a href="https://geodetics.com/dem-dsm-dtm-digital-elevation-models/">Digital Surface Model</a> — an elevation model which includes surface features like buildings and trees. You can find some great free resources for this type of data in my <a href="https://www.helenmakesmaps.com/post/guide-to-free-gis-data-sources">guide to free GIS data sources</a>. You should choose a model which is relevant for both the extent you’ll be looking at and the level of detail and accuracy you require.</li><li>A point layer which you want to assess the visibility of.</li></ul><p>In this tutorial, we’ll be evaluating where you can see London’s Houses of Parliament from. In the first section, we’ll be sourcing the two above datasets for this analysis — so if you already have your data sourced, keep reading!</p><h3>Section 1: Data sourcing</h3><h4>#1 Digital Surface Model</h4><p>Our analysis will be a super localized look at views of the Houses of Parliament, so we want our data to be as detailed as possible — and that means LiDAR data! LiDAR — which stands for Light Detection And Ranging (love a really forced acronym!) — is hyper-local, hyper-accurate 3D data — which is often hyper-expensive as a result. However, there are some great free sources available, which I’ve detailed in <a href="https://www.helenmakesmaps.com/post/guide-to-free-gis-data-sources">this blog</a>. In England, the <a href="https://www.gov.uk/government/organisations/environment-agency">Environment Agency</a> publishes free LiDAR data for about 60% of the country. This is typically in areas which are flood-prone, which luckily (well, I suppose not) our study area is.</p><p>To source the data:</p><ol><li>Head to the <a href="https://environment.data.gov.uk/survey">Defra Survey Data Download</a> platform. This data is made available via the Open Government Licence. This data can be freely used for any purpose (including commercial) with the license: © Environment Agency copyright and/or database right 2024. All rights reserved.</li><li>Draw your area of interest — make sure you draw a bigger area than you think you need.</li><li>Select <strong>Get available tiles</strong>. Choose the product to download— we want <strong>LiDAR Composite First Return DSM</strong>, which will include the canopy height of vegetation (as opposed to last return, which will have the underlying terrain height). You can also select the year and resolution — generally the coarser the resolution, the better the coverage; I’m using a 2m resolution.</li><li><strong>Download all tiles</strong>, and unzip them all in your downloads folder.</li><li>Head to QGIS. Click <strong>Add Raster Layer</strong> and add all of your raster files to the project.</li><li>If you have any small gaps in your data, you can estimate these by using the <strong>Fill nodata…</strong> tool in the Raster menu under Analysis.</li><li>Now, we need to merge our tiles into one large file. First, we need to know the type of raster data we are using; double click on any of the layers in the <strong>Layer</strong> panel to bring up its properties. In the <strong>Information tab</strong> under <strong>Information from Provider</strong>, note the data type; mine is Float32.</li></ol><figure><img alt="A screenshot of QGIS" src="https://cdn-images-1.medium.com/max/1024/1*NqFtV4GWek4qnVqg8WE5Lw.png" /><figcaption>Source: created by author</figcaption></figure><p>8. Now, open the <strong>Merge…</strong> tool from the <strong>Raster</strong> menu under <strong>Miscellaneous</strong>. Select all of the raster tiles to merge, ensure the output data type is correct for your inputs (mine is Float32) and set the output path for your merged raster — and run!</p><p>Here’s our merged layer! I’ve changed the symbology to hillshade to understand more about the shape of the data.</p><figure><img alt="A screenshot of QGIS" src="https://cdn-images-1.medium.com/max/1024/1*Npkv6nDsU8fYD3LjIFXdIA.png" /><figcaption>Source: created by author</figcaption></figure><h4>#2 Visibility points</h4><p>Now I need a point grid which I’ll run the visibility analysis for, which covers the Tower of London.</p><ol><li>First, I need a polygon to build my point grid from. I’ve taken the Tower of London building outline from <a href="https://www.ordnancesurvey.co.uk/products/os-open-zoomstack">Ordnance Survey’s Zoomstack</a>, but you can use anything — or build your own.</li><li>Now head to Vector &gt; Research &gt; <strong>Create Grid</strong>, setting the grid extent to your polygon layer. The more detailed your grid resolution, the more accurate and detailed your visibility analysis will be — but there will be a trade-off with processing time. I’m going to use a resolution of 5m. Run!</li><li>Now, delete all of the points which do not fall inside your polygon. You can do this manually, with a Select by Location or just by using the <strong>Clip</strong> tool.</li></ol><figure><img alt="A screenshot of QGIS" src="https://cdn-images-1.medium.com/max/1024/1*aL9Lc8BRHnPcV5rSmpb3nQ.png" /><figcaption>Source: created by author</figcaption></figure><p>And that’s our two layers sorted — now on to the visibility analysis!</p><h3>Section 2: Visibility analysis</h3><ol><li>First, we need to create some parameters for our analysis. Open the <strong>Create Viewpoints</strong> tool. You can just search for this in the <strong>Processing Toolbox</strong>.</li><li>Set the Observer locations as your clipped points and your digital elevation model as the merged raster layer.</li><li>The default radius is set to 5000 metres which is fine for this use case, but you may wish to change it based on your requirements.</li><li>What we’re running here is a <strong>reverse viewshed</strong>; we don’t want to know what can be seen from the points, but <strong>where can see the points</strong>. So, change the Observer height to 0, and the Target height to 1.6 (this is the standard “human eye” height used in visibility analysis). Run this — if you open the attribute table of the layer that has been created, you will see the parameters you have set have been added as attributes.</li><li>From the Processing Toolbox, open the <strong>Viewshed </strong>tool which is where we’ll be running our visibility analysis from! Set the analysis type as binary, the Observer locations to those we created in step 4, the Digital elevation model to our merged raster, and make sure the “Combining multiple outputs” parameter is set to <strong>addition</strong>.</li><li>Run! This can be quite a slow processing depending on your computer, the number of points, DSM extent and resolution — so go and pop the kettle on.</li></ol><p>And when it’s finished, it should look a little something like…</p><figure><img alt="A screenshot of QGIS" src="https://cdn-images-1.medium.com/max/1024/1*IIVPTXzQTai1Tdnnb_0WQw.png" /><figcaption>Source: created by author</figcaption></figure><p>And that’s our visibility analysis done! You can see the lighter areas are where more of the Houses of Parliament are visible from, and the darker areas are where it can’t be seen at all. I love the way the source of the analysis is rendered like a light source, casting shadows where it can’t be seen.</p><p>One final step you may want to take here is to remove surface features from the viewshed results. As you can see from this analysis, some of the visible locations are actually on top of nearby buildings or trees— where it’s unlikely someone is going to actually be stood. I’m skipping this step because I know Central London consists of a lot of rooftop gardens and penthouse views, so this isn’t so much of a false positive in this area.</p><p>To do this you would need to:</p><ol><li>Download a Digital Terrain Model (DTM) for your study area— this is the equivalent to your DSM, but with all surface features from the DSM (e.g. buildings, trees) removed.</li><li>Use the expression below in the <strong>Raster Calculator. This </strong>calculates the difference between the DTM and DSM, to obtain only surface feature heights. Then, where the surface height feature exceeds zero, the value of the viewshed is set to 0.</li></ol><pre>(@viewshed) * ((&quot;(@dsm&quot; - &quot;@dtm&quot;) &lt;= 0)</pre><p>Finally, the output!</p><h3>Section 3: The final output</h3><p>Depending on your use case, there are lot of different ways of visualizing this output.</p><p>My use case is just “I want to make a damn sexy map” and — honestly — the results of the analysis have this kind of spooky, shadowy effect that for me does 90% of the job.</p><p>All I’m going to do is:</p><ol><li>Layer my original DSM on top of the viewshed, set the symbology type to hillshade and the <a href="https://www.helenmakesmaps.com/post/how-to-use-blending-modes-in-mapping">blending mode</a> to multiply. This gives quite a subtle contouring (the make-up style, not the GIS line type!) to the results which helps give the analysis some shape and context. You can see the difference below without hillshade (left) and with (right).</li></ol><figure><img alt="Two maps side by side comparing styling" src="https://cdn-images-1.medium.com/max/800/1*fb1RrjDEXiMm78tk6zMDEw.png" /><figcaption>Source: created by author</figcaption></figure><p>2. I’ve added a “firefly” effect to the footprint of the Houses of Parliament. This type of cartographic style really helps features stand out against a darker basemap. Is it wildly misleading to show the UK’s governmental buildings in a fun neon vibe? Yes. Does it look good so I’m going to do it anyway? Also yes. You can learn how to use firefly style cartography in QGIS <a href="https://medium.com/p/cb1772d8dda0">here</a>.</p><p>3. Finally, I’ve just added on a few contextual labels and a minimalist legend. I really want the analysis to be the star of the show here, so I’ve kept everything super subtle and light touch.</p><p>And here’s the result…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0xSmzCifZ3KmiErSgmIieQ.png" /><figcaption>Source: created by the author</figcaption></figure><h3>Conclusion</h3><p>I hope you enjoyed this tutorial! Whether you’re using it as part of a visual impacts assessment, environmental study or just — like me — to make some really funky maps, hopefully you’ve seen how easy it is to run such a powerful form of analysis — with entirely free and open tools and software! The biggest challenge often isn’t the analysis itself — which is fairly straightforward — but learning to balance detail and extent with processing time, and that will come as you familiarise yourself with the process.</p><p>If you’ve followed along, please do find me on <a href="https://x.com/helenmakesmaps">X</a> and <a href="https://www.linkedin.com/in/helenmckenzie003/">LinkedIn</a> and share what you’ve produced — I’d love to see!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8fbdd8b02c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/running-visibility-analysis-in-qgis-d8fbdd8b02c5">Running visibility analysis in QGIS</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make a firefly map with QGIS]]></title>
            <link>https://medium.com/@helenmakesmaps/how-to-make-a-firefly-map-with-qgis-cb1772d8dda0?source=rss-1701772dbb74------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb1772d8dda0</guid>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[gis]]></category>
            <category><![CDATA[maps]]></category>
            <category><![CDATA[geography]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Helen McKenzie]]></dc:creator>
            <pubDate>Wed, 11 Sep 2024 17:51:28 GMT</pubDate>
            <atom:updated>2024-09-15T08:23:09.190Z</atom:updated>
            <content:encoded><![CDATA[<p>Firefly maps are a type of map in which the data appears to be glowing. Typically, these maps feature a dark basemap with light, glowing features overlaid. They’re a great way of communicating density, intensity and — well — they’re just damn <em>sexy</em>.</p><figure><img alt="A map showing the different meanings of “North”" src="https://cdn-images-1.medium.com/max/800/1*V9iZlB-G0xT7Xa0oxAa4Sg.jpeg" /><figcaption>Mapping the “norths,” firefly style!</figcaption></figure><p>Here’s my quick guide to building a firefly map in my favourite tool for creating beautiful static maps — QGIS! You can recreate this approach in any mapping tool which has <a href="https://www.helenmakesmaps.com/post/how-to-use-blending-modes-in-mapping">blending modes</a> enabled.</p><p>💡 If you haven’t used QGIS before, run — don’t walk! You can download it for free <a href="https://www.qgis.org/">here</a>! QGIS is a community-built, open source GIS software which is totally free!</p><h3>Step 1: set the scene</h3><p>The foundation of a great firefly map is a beautiful, dark basemap. Otherwise, you can find a wide range of pre-built basemaps by:</p><ol><li>Open QGIS and head to the <strong>Plugins</strong> drop-down menu (top of the screen) and open <strong>Manage and Install Plugins</strong>.</li><li>Search for <strong>QuickMapServices</strong> and install this plugin.</li><li>Leave the plugin menu, and open the <strong>Web</strong> drop-down menu.</li><li>Via QuickMapServices, go through Settings &gt; More Settings &gt; and enable <strong>Get contributed pack</strong>.</li><li>If you head back to this menu, you’ll now see there’s a host of webmaps available for you to use, including a number of really nice dark options. Some of these require licenses so be mindful of that when using them.</li></ol><p>You can also adapt any basemap’s coloration, brightness and contrast in the layer’s symbology (although again, be mindful of the license terms).</p><p>If you have the time — and patience — you can build you own! I’m just going to use country boundaries from Natural Earth to keep things nice and simple (see below).</p><figure><img alt="A screenshot of QGIS" src="https://cdn-images-1.medium.com/max/1024/1*WKbqln-TiOfJ_nk6Q962Qw.png" /><figcaption>The beginnings of our firefly map!</figcaption></figure><h3>Step 2: your firefly layer</h3><p>Next, add the layer to your map that you want to “glow!” I’m using UK pub locations from OpenStreetMap because… I don’t have to justify myself. (© OpenStreetMap contributors)</p><p>So this is what we’re dealing with… there are so many pubs (what a great problem to have) that it’s difficult to make out any spatial patterns. Let’s firefly this up!</p><figure><img alt="A screenshot of QGIS" src="https://cdn-images-1.medium.com/max/1024/1*39fisQGiAf9MEtIJH3XbnQ.png" /><figcaption>UK pubs</figcaption></figure><ol><li>Double click on your layer in the<strong> Layers</strong> panel to bring up layer settings</li><li>In the <strong>Symbology</strong> tab, change the symbol radius to 0.5, fill colour to white (20% opacity) and remove the stroke, so we have a very faint white dot. You’ll probably want to adapt this depending on the density of your data.</li><li>This is the key moment! Right at the bottom of the symbol settings, expand the <strong>Layer rendering</strong> section. Change the <strong>Feature blending mode</strong> from normal to addition.</li></ol><p>If you were to hit ok now, this would look something like…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdNwqUXh2QcT0QjIRf3y_w.png" /></figure><p>We’re getting there!</p><p>4. Head back to your layer’s Symbology window.</p><p>5. Click on the Simple Marker’s individual style (rather than the overall Marker group) and scroll right down to the bottom to where you can enable <strong>Draw effects</strong>. Enable it!</p><p>6. Enable an <strong>Outer glow</strong> effect. Choose a non-white colour for the glow, and change both the spread and blur radius to 0.75. Switch the blending mode to addition (again, this is super important). This is another stage which you will probably want to come back to and adapt depending on your data density.</p><p>7. Key hitting ok til you’re back in your map, and you should have something that looks a little like… 💫</p><figure><img alt="A screenshot of QGIS" src="https://cdn-images-1.medium.com/max/1024/1*Xm9s4QMmrmTVwqRYf21GLQ.png" /></figure><p>And there you have it! It’s now so much easier to understand the spatial patterns of our data in this way, plus our map looks 🔥🔥🔥</p><p>Get confused at all? Here’s me pretending to be Gen Z and explaining the whole process to the tiktok yoofs 👇</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.tiktok.com%2Fembed%2Fv2%2F7351460809610022177&amp;display_name=tiktok&amp;url=https%3A%2F%2Fwww.tiktok.com%2F%40helenmakesmaps%2Fvideo%2F7351460809610022177&amp;image=https%3A%2F%2Fp16-sign-useast2a.tiktokcdn.com%2Fobj%2Ftos-useast2a-p-0037-euttp%2F8be89b18553546e6a212a82a38585f38_1711645358%3Flk3s%3Db59d6b55%26x-expires%3D1726246800%26x-signature%3DMJiffSvP5ViUJKZYM9kkPYoPCDc%253D%26shp%3Db59d6b55%26shcp%3D-&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tiktok" width="340" height="700" frameborder="0" scrolling="no"><a href="https://medium.com/media/bba04e51b41e3fbb3a52d67cf6e868f1/href">https://medium.com/media/bba04e51b41e3fbb3a52d67cf6e868f1/href</a></iframe><p>You can take this even further by using different glow colours and radii (not convinced this is a word) to convey different variables.</p><p>Thanks for reading! You can find more tutorials from me <a href="https://www.helenmakesmaps.com/blog">here</a>.</p><figure><img alt="A map of Manhattan street trees" src="https://cdn-images-1.medium.com/max/600/1*L7GdiA1jluVenHtzmcpOew.jpeg" /><figcaption>Manhattan street trees</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb1772d8dda0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create and use Isolines to understand catchment profiles]]></title>
            <link>https://medium.com/data-science/how-to-create-and-use-isolines-to-understand-catchment-profiles-e8847bbdff68?source=rss-1701772dbb74------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8847bbdff68</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[editors-pick]]></category>
            <category><![CDATA[location]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Helen McKenzie]]></dc:creator>
            <pubDate>Fri, 28 Oct 2022 14:52:56 GMT</pubDate>
            <atom:updated>2022-10-28T14:52:56.580Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to create and use isolines for catchment profiles</h3><h4>Introducing isolines — catchments based on transport networks and journey times.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*994Syc3wCVVfBIQde7dRuQ.png" /><figcaption>Isolines created in CARTO — keep reading to find out how to create these! Source: CARTO</figcaption></figure><p>Isolines are an incredibly powerful tool for Data Scientists, showing the areas that can easily access a given location. You may have also heard these referred to as isochrones, trade areas or journey time catchments. No matter their name, the concept is the same — they measure the areas which a site is accessible from based on a set distance or time, such as 1 mile or 20 minutes. These calculations are based on travelling along the actual transport network, including highways and — where appropriate — cycleways and footpaths.</p><p>In this guide, we’ll explain the difference between isolines and fixed-distance buffers, share how you can easily compute isolines, and finally share how you can derive insights from these.</p><p>This post is by Helen McKenzie, a Geospatial Advocate at <a href="https://carto.com/">CARTO</a>.</p><h3>Fixed-distance buffers vs isolines</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y8suw-PZwQfT0guc" /><figcaption>Illustrating the difference between isolines and fixed-distance buffers. Source: CARTO.</figcaption></figure><p>A fixed-distance buffer is exactly what it sounds like. These compute the catchment of a location based on a fixed distance in every direction from that location. It doesn’t take into account whether travel in all these directions is possible.</p><p>You can see this concept illustrated in the visualization above — the blue circle is a fixed-distance buffer. It doesn’t consider the transport network, and indicates that travel is possible across water.</p><p>A fixed-distance buffer has the advantage of being quicker to compute and cheaper to store than the more geometrically complex isolines. However, fixed-distance buffers can be misrepresentative as they assume that all areas within that distance can be easily accessed by individuals. That may not be the case for multiple reasons, such as:</p><ul><li>Natural barriers such as coastline, rivers or lakes may obstruct travel.</li><li>Man-made barriers, such as private land, could prevent people from accessing certain areas.</li><li>The network of streets and — if looking at active travel modes — footpaths which comprise an area may not allow for unimpinged travel around a catchment. For example, streets may be one way or dead-ends.</li></ul><p>With that in mind, are there ever any circumstances where you should use fixed-distance buffers rather than isolines? Absolutely!</p><p>One such instance is if you are looking at creating a catchment for a location where you know the transport infrastructure around that location will undergo a major transformation. An example of this would be computing the catchment of a store at a new shopping mall (a common use case for Data Scientists in Retail / Real Estate). It is likely that the highway network around that new mall would be completely reconfigured, and assessments based on the current network would be completely misrepresentative. In this case, a more “indicative” fixed-distance catchment is more appropriate.</p><p>Secondly, as we mentioned earlier, isolines are more expensive to compute and store than fixed-distance buffers. Additionally, isoline calculations also take advantage of Location Data Services.</p><h3>Creating catchments: what you need to know first</h3><p>Before diving into creating a catchment (in this case <a href="https://carto.com/">using CARTO</a>), there are a few parameters you’ll need to decide on.</p><h4>Mode of travel</h4><p>The <a href="https://docs.carto.com/analytics-toolbox/about-the-analytics-toolbox/">Analytics Toolbox</a> allows you to select one of two modes of transportation; car or pedestrian.</p><p>When selecting “car,” your analysis will be limited only to parts of the transport network which allow vehicles. The catchment will also be subject to traffic conditions and restrictions (such as one-way streets) for each street in order to best mimic actual driving conditions.</p><p>Conversely, when creating a pedestrian catchment more of the transport network will be opened up such as footpaths, cycleways and paths. This analysis also won’t be affected by road speeds or restrictions, but will avoid major highways like interstates and motorways deemed unusable for pedestrians.</p><p>As pedestrians and cyclists generally use the same infrastructure, you can translate this into analysis for cyclists. Cyclists typically travel 3.75 times faster than a pedestrian, and this figure can be used to scale isolines appropriately e.g. a 30-minute cycle isochrone could be calculated based as an approximate 2-hour pedestrian walk.</p><p>You can see the difference between car and pedestrian catchments in the example below, originating at the south east corner of Central Park, NYC (the white disk). The green 5-minute walking catchment travels about the same distance in all directions, including through Central Park. Contrasting this is the purple 3-minute walking isochrone, which can neither traverse the park nor drive against one-way restrictions, such as along the southbound Fifth Avenue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S0I7rKHBS0owYKyg" /><figcaption>Drive time vs walk time isochrones. Source: CARTO</figcaption></figure><h4>Isochrones vs isolines</h4><p>When creating catchments, there are two main types to choose from; isochrones (catchments based on journey times e.g. how far can I travel in 10 minutes?) or isolines (based on journey distances e.g. how far along the transport network can I travel in 1km?).</p><p>When analyzing active travel modes (i.e. walking and cycling), it doesn’t hugely matter which you choose as travelers will typically move at a fairly constant speed. However, if you are looking at a vehicular mode this will matter, as isochrones will be affected by road speeds and traffic conditions whereas isolines will not.</p><h3>Creating isolines: a guide</h3><p>Now we are ready to isochrone! These functions are currently available when connected to either a <a href="https://cloud.google.com/bigquery">Google BigQuery</a> or <a href="https://www.snowflake.com/en/">Snowflake</a> data warehouse and we’ll run this analysis from a SQL console.</p><h4>Isolines with SQL</h4><p>To start, make sure you are using a point table; ST_CENTROID() can be used to create a central point from lines and polygons if necessary.</p><p>For BigQuery users, the basic syntax is below. Users should select whether the mode is car or walk and if they want to measure their trade area in terms of time or distance. For time, the number (in integer format) used should be in seconds and for distance it should be in meters. You’ll need to reference the Location Data Services (LDS) API URL and token. These can both be found in the CARTO Workspace in the Developer tab.</p><pre>CALL ‘carto-un’.carto.CREATE_ISOLINES(<br> ‘input-query’,<br> ‘my-schema.my-output-table’,<br> ‘my_geom_column’,<br> ‘car/walk’, number, ‘time/distance’,<br> ‘my_lds_api_url’, ‘my_lds_token’<br>);</pre><p>If you’re a Snowflake user you can check out our guide to running isolines from your data warehouse <a href="https://docs.carto.com/analytics-toolbox-snowflake/sql-reference/lds/">here</a>.</p><p>Make sure you replace ‘carto-un’ with the appropriate prefix if your data warehouse is not in the United States region.</p><p>Check out our example! The map below illustrates areas within a 15 and 30-minute walk from McDonald’s across Orlando, Florida. The locations for this were obtained via our data partner Safegraph’s <a href="https://carto.com/spatial-data-catalog/browser/dataset/sg_coreplaces_948d1168/">Places</a> dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q60b5Uhe5_rI7kjN" /><figcaption>15-minute and 30-minute walk isochrones, originating at McDonald’s stores across Orlando. Source: CARTO.</figcaption></figure><h3>Isolines and spatial insights</h3><p>There may be times when producing a trade area is the end goal of your analysis. However, in general, this is just a crucial step to unlock further insights from your analysis.</p><p>Below are three examples of the types of insights you can gain from creating isolines.</p><h4>Insight 1: Trade area demographics</h4><p>Being able to understand the number and characteristics of people living or working within a trade area is invaluable. For instance, a retail analyst would be able to assess the size of the potential market of each store based on who could actually travel to their store. They could take this further and work out how many people are likely to walk, cycle or drive to their store and use this to plan parking facilities or focus marketing campaign investments.</p><p>A great way to understand this is using <a href="https://docs.carto.com/analytics-toolbox-bigquery/guides/data-enrichment-using-the-data-observatory/">Enrichment Tools</a>. These tools allow users to quickly and easily calculate characteristics of an area based on attributes from another dataset — either one of their own or from <a href="https://carto.com/spatial-data-catalog/">third party data sources</a>.</p><p>Extending our McDonald’s in Orlando example above, we’ve enriched our 30-minute walking isolines with the total population (freely available via the American Community Survey <a href="https://carto.com/spatial-data-catalog/browser/?provider=usa_acs">here</a>) as well as a “fast casual affinity” index. This index is available through Spatial.ai’s <a href="https://carto.com/spatial-data-catalog/browser/dataset/spa_geosocial_s_d5dc42ae/">Geosocial Segments</a> dataset. It scores people against 72 indexes based on their experiences, personalities, feelings shared over social media platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZwR7jNgGvYT0bpss" /><figcaption>Using isochrones to understand demographic profiles of store catchments. Source: CARTO.</figcaption></figure><h4>Insight 2: Reverse trade area demographics</h4><p>In many cases, it’s not actually the people who have access to a service that you will be most interested in; it’s the people who don’t. Being able to work out where people don’t have easy access to a store or service is fundamental to strategizing future expansion. In these cases, it’s the areas outside each catchment that is of most interest.</p><p>For instance, in the map below the light blue area highlights all of the places in our study area (consisting of the Orange, Osceola and Seminole counties, Florida) which are beyond a 30-minute walk from a McDonald’s. Using our enrichment tools again, we can calculate that 1,783,500 residents live in this area — approximately 84% of the population!</p><p>This figure help strategists decide whether this study area is a strong candidate for adding additional locations as it has such a large untapped market. The next step would be then to further explore where within the study area would be the optimal location for new locations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DM4iEffd0xTcji1F" /><figcaption>Reverse catchments — using isochrones to understand areas which don’t have access to a facility. Source: CARTO.</figcaption></figure><h4>Insight 3: Accessible service assessments</h4><p>Our final insight example is using isolines to assess nearby supporting — or competitive facilities. Planners behind a new housing development may be required to understand how many relevant services — such as schools, bus stops and health clinics — are accessible within a travel time threshold from their development. Logistics companies may wish to base fleet management decisions or distribution center location on actual proximity to elements of their supply chain.</p><p>Building on our example use case, the map below shows the number of other quick service restaurants (QSRs) in the 30-minute walking catchment area of each restaurant to help assess the local competition. Explore the interactive version <a href="https://gcp-us-east1.app.carto.com/map/bb111629-b976-4c75-9a7a-f9007200ba27">here</a>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UXMkow93wFQEe8iD" /><figcaption>Using isolines to understand competitor distribution. Source (CARTO).</figcaption></figure><p>Using a Spatial Join (more details about this <a href="https://carto.com/blog/guide-to-spatial-joins-and-predicates-with-sql/">here</a>) we can assess competitor brands in each 30-minute walk catchment, and also establish which location has the most competitors. This information is invaluable for driving strategies such as marketing and recruitment.</p><p>Thanks for reading our post about isolines! We hope that we’ve shown you not only how powerful they can be to help you understand the geographic context of a site, but also how easy they are to create.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8847bbdff68" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/how-to-create-and-use-isolines-to-understand-catchment-profiles-e8847bbdff68">How to create and use Isolines to understand catchment profiles</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>