Video | Tableau | Data visualisation | Analytics

Using the Intersect Function in Tableau for Spatial Analysis | New in Tableau 2022.4

How many trees sit within one kilometre of the Empire State Building? Tableau's new INTERSECT function can tell you without leaving the tool.

Part ofWhat's new in Tableau 2022.4
  • INTERSECT returns a Boolean when two geometries match, and currently supports points-in-polygons, lines-in-polygons and polygons-in-polygons matching.
  • You can capture latitude and longitude from Google Maps and parse them with SPLIT, then convert to FLOAT to build a usable point of interest.
  • MAKEPOINT plus BUFFER lets you draw a search zone, and feeding a range parameter into the buffer makes the radius dynamic.
  • INTERSECT works at row level on a single data set, so loading points of interest into a parameter sidesteps the mixed-aggregation limitation between two separate data sets.
  • All of this runs in the browser on Tableau Cloud, including uploading a 256MB CSV, though performance slows noticeably with hundreds of thousands of points.

In geospatial analysis, the intersect function is a powerful tool used to identify the areas of overlap between two or more spatial objects, such as points, lines, or polygons. These objects can represent cities, roads, or census tracts, among other things. The intersect function takes these objects as inputs and outputs a boolean object that represents the area of overlap, essentially true or false. You can imagine it as an imaginary polygon where the two match. This function can be used for tasks such as identifying common features between different datasets, aggregating data at the intersection of regions, and creating thematic maps that show the overlap between spatial data sets. In Tableau, intersect can be combined with other functions and visualization techniques to create interactive maps and charts that help users understand and analyze geospatial data.

Timestamps 0:00 Intro 0:26 Connecting to data 2:03 Creating some points of interest 4:25 Splitting our text to get latitude and Longitude 9:19 Creating our buffer Polygon to intersect 12:06 Creating points for our trees 14:31 Using the intersect function in Tableau 18:50 Some quirks to watch out for