- Getting Started with Tableau 2018.x
- Tristan Guillevin
- 274字
- 2021-07-16 17:34:00
Spatial join (2018.2)
A new type of Join, called an Intersect, is now available, and it was created especially for spatial files. You can find it in the Join configuration, highlighted as follows:
Intersects are useful when the only common field between the two tables is the spatial one. Tableau joins the data when there is a spatial intersection between a polygon and a point.
For example, let's look at how to join the two following shapefiles. The first one contains the polygons of the French regions:
The second one contains a list of ports around the world:
Let's create a spatial Join between the two spatial files, as follows:
- Open Tableau and connect to the first spatial file, contours-geographiques-des-nouvelles-regions-metropole.shp.
- Add a second spatial connection in the same Data Source (see Chapter 12, Advanced Data Connections, if you don't know how to create cross-database Joins), and choose the ne_10m_ports.shp file.
- Choose an Inner interest Join between the two tables, shown as follows:
- You can test your Data Source; the remaining French regions are the ones with ports, and the remaining ports are only French ones. If you create a Dual Axis map, you can show both the regions and the ports on the same map, as follows:
This is surely a great advancement for using spatial files in Tableau. Let's finish this section by looking at other Data Source improvements.
- Instant Raspberry Pi Gaming
- Dreamweaver CS3+Flash CS3+Fireworks CS3創(chuàng)意網(wǎng)站構(gòu)建實例詳解
- 大數(shù)據(jù)戰(zhàn)爭:人工智能時代不能不說的事
- Cinema 4D R13 Cookbook
- Julia 1.0 Programming
- 數(shù)據(jù)庫原理與應(yīng)用技術(shù)
- 機器人編程實戰(zhàn)
- 21天學通Java Web開發(fā)
- Java Web整合開發(fā)全程指南
- The Python Workshop
- FPGA/CPLD應(yīng)用技術(shù)(Verilog語言版)
- Pentaho Analytics for MongoDB
- Raspberry Pi 3 Projects for Java Programmers
- 工廠電氣控制設(shè)備
- 工業(yè)機器人基礎(chǔ)