Video | Tableau | Data visualisation

Spatial Union now possible

Tableau 2020.3 finally lets you union two shapefiles \u2014 here's how to overlay congressional districts and counties on one map.

  • Spatial Union only works between shapefiles of the same type \u2014 you can't union a GeoJSON with a KML, for example
  • All files related to a shapefile must sit in the same folder, as Tableau treats the directory like a database and each shapefile like a table
  • Convert a spatial connection to a union via the dropdown arrow, then drag the second file in to get a clean union plus the usual table name column
  • After mapping the geometry, drag the table name onto colour to separate the two overlaid layers visually
  • You can combine this with set actions to let users switch between levels of detail, such as congressional districts and counties

In Tableau 2020.3 you can now perform spatial unions with 2 spatial files. You need to make sure they’re int he same directory otherwise it works just like two csv files. Note you can not union two different spatial formats just yet. This video is part of a larger playlist on Tableau 2020.3. Be sure to check out other videos in the playlist and subscribe for more content.https://tableautim.com ----Join my Discord Server. https://discord.gg/shBuxXr it’s a little sparse at the moment but hang in there.