GIS Lounge


  • Home
  • What is GIS?
  • GIS Career
  • Learn GIS
  • Maps
  • Contact

You are here: Home » GIS Data » Spatial Analysis » Heat Maps in GIS

Heat Maps in GIS

Filed in Spatial Analysis by Caitlin Dempsey on May 20, 2012 • 1 Comment

Share this article:

Related Content:

Spatial Analysis in GIS Geospatial Redux: Wartime Escape Maps, Map of Australian Heat Wave, OpenStreetMap Game

Heat mapping, from a  geographic perspective, is a method of showing the geographic clustering of a phenomenon.  Also known as hot spot mapping, heat maps show locations of higher densities of geographic entities.  The ‘heat’ in the term refers to the concentration of the geographic entity within any given spot, not to be confused with heat mapping that refers to the mapping of actual temperatures on the earth’s surface.  Heat mapping is a way of geographically visualizing locations so that patterns of higher than average occurrence of things likes crime activity, traffic accidents, or store locations can emerge.

One way to create a heat map is by interpolating discrete points to create a continuous surface known as a density surface.  When calculating a density surface, three main parameters have to be determined that will affect the results.  Given that the output is a raster file, the cell size will be a determining factor as  to the degree of detail in terms of coarseness of the resulting density surface.  The larger the cell size, the more of a staircase effect on the resulting surface layer.  Conversely, a smaller cell size will result in a smoother surface but processing will take longer and will result in a larger file size.  The suggested balance is to set the cell size between 10 and 100 cells per density unit. Esri’s Guide to GIS Analysis Volume 1: Geographic Patterns & Relationships (page 79) provides more detail on how to figure out determine an ideal cell size.

The bandwidth or search radius is the second parameter to be set.  The search radius is the area around each cell the GIS software will factor into the density calculation.  Set a search radius too small and density patterns will be restricted to the immediate area of the point features.  Set a search radius too large and density patterns will become too generalized.

The third parameter is the type of calculation used in interpolating the density surface.  The most simple calculation is a straightforward count of features within a search radius.  The more common calculation is to use a weighted calculation such as Inverse distance weighting (IDW).  IDW assigns more weight to features closest to the starting cell than to features farther away.  In other words, the weight of a given point is in inverse proportion to its distance from the interpolated cell.

The resulting density surface is visualized using a gradient that allows the areas of highest density (or hot spots) to be easily identified.  This heat map was created from geotagged photos from Panoramio by Ahti Heinla who created what he named the “World touristiness map.”  Yellow indicates areas with the highest concentrations of photos taken by the highest number of individual photographers (as first noted in Mapping Out Geotagged Photos).  Red indicates areas of moderate “touristiness” and blue are the lowest levels.  Grey areas have no photos in Panoramio.  The areas of highest density in terms of photos uploaded are immediately identifiable with Europe, areas along the coasts in the United States, and areas within Asia most notable.  (You can also view the touristiness map in Google Maps or download the KML file from Heinla’s site.  Heinla also makes available the Python script used to create the overlay.)

World touristiness map by Ahti Heinla.

World touristiness map by Ahti Heinla.

Heat maps are particularly popular for crime prevention planning by law enforcement agencies as being able to identify discernible geographic clusters of higher criminal activity allows for more intelligent deployment of police resources to areas of high crime.  Hot spot analysis has other applications besides crime mapping.  Hot spot analysis using GIS software was used to locate areas within California where families who are eligible for the state’s Department of Public Health’s Women, Infants, and Children (WIC) programs but not receiving WIC services.  The analysis allowed the Department of Health to identify regions with high proportions of unmets needs.

Hot-Spot Analysis in Public Health.  Source: Esri.

Hot-Spot Analysis in Public Health. Source: Esri.

Heat Mapping Tools

Heatmap.py is a python script for generating heat maps based on coordinate data.

gheat “implements a map tile server for a heatmap layer.”

As the name implies, HeatMapAPI is an API (with both a limited free and licensed version) that integrates heat map images into Google Maps.   The GeoChalkBoard web site has a post explaining how to use the API to generate a heat map.

Google Fusion Tables has a heat map function available as part of the options for visualizing geographic data.

heatmap.js generates web heatmaps with the html5 canvas element created by Patrick Wied.  The page has usage demonstrations including a Google Maps and an OpenLayers demonstration.

Further Heat Mapping References

Mapping Crime: Understanding Hot Spots by John Eck, Spencer Chainey, James Cameron, Michael Leitner, Ronald E. Wilson, 2008.  Produced by the National Institute of Justice, this 79 page report takes a look at different hot spot mapping techniques for use in law enforcement.

 

You Might Also Be Interested In:

  • GIS DataGIS Data
  • Geospatial Redux: Oakland Crimespotting, GISFish, Festival of MapsGeospatial Redux: Oakland Crimespotting, GISFish, Festival of Maps
  • Converting Shapefiles to Google Fusion TablesConverting Shapefiles to Google Fusion Tables
  • GIS News: Hot-Spot Analysis, Map Suite for Windows 7GIS News: Hot-Spot Analysis, Map Suite for Windows 7


Tags: Crime Mapping, density surface, gis, google fusion tables, heat map, hot-spot analysis, raster



Comments (1)

Trackback URL | Comments RSS Feed

  1. Rav says:
    May 24, 2012 at 8:10 pm

    Very useful article. I believe heat maps can be used virtially for any GIS based dicision making models

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

« The Politics of Google’s Mapping
Map as Art »

Subscribe

Fill out your e-mail address to receive a weekly newsletter from GIS Lounge:

Advertise on GIS Lounge

GIS Book Pick

The Look of Maps: An Examination of Cartographic Design is a cartographic classic by Arthur H. Robinson originally published in 1952. The book was based on Robinson’s doctoral research “which investigated the relationship between science and art in cartography and the resultant refinement of graphic techniques in mapmaking to present dynamic geographic information.”

  • Popular
  • Recent
  • Comments
  • Archives
  • Largest Atlas in the World Created using ArcGIS
  • What is GIS?
  • Creating Simple Maps with Microsoft Excel
  • GIS Job Listing Sites
  • Google Map Redesign
  • Open and Machine Readable Now the Default for Government Data
  • Google Map Redesign
  • Crowdsource Power Plant Data Project
  • Shapefile Viewers
  • Timelapse Satellite Imagery – View Changes on Earth over Time
  • Mark: A very easy way to do this!!! Thank you.
  • Richard Ortwine: I am currenlty working on a project that will show there are more liquor stores in zip codes that ha
  • John Chioles: This is a phenomenal move on the part of the USGS! I remeber getting imagery was cost prohibitive, n
  • aizolnai: this is yesterday's news, but it's so well illustrated that it's defo worth a (re)read, thx for the
  • Web GIS System: FYI. We have collected 1,545 responses in our 2012 GIS salary survey to our vendors and customers pa

Connect


Introduction to GIS

New to GIS? Start by reading What is GIS for an introduction to Geographic Information Systems. Next visit the GIS 101 launch page for basics of GIS articles.

Getting Started with GIS

To understand the different options for GIS education read How to Learn GIS , GIS distance learning programs, and GIS certification versus certificate programs

GIS Jobs

Interested in GIS as a career? Visit GISGig.com for GIS job listings.A good first article is the Building a Career in GIS which provides an introduction to the building blocks of GIS employment .

Subscribe

Enter your email address below to receive updates each time we publish new content.

Connect

Connect with us on the following social media platforms.

Subscribe via RSS Feed Connect on Facebook Follow Me on Twitter Connect on Google Plus Join Our LinkedIn Group

GIS Resources

  • What is GIS?
  • GIS 101
  • GIS Career
  • Cartography
  • Maps
  • GIS Software
  • Learn GIS
  • Data
  • Free GIS

Colophon

  • Advertising on GIS Lounge
  • Submitting to GIS Lounge
  • Contact GIS Lounge
  • Subscribe
  • Site Map
© 2013 GIS Lounge. All rights reserved.