If you have lat/lon for both of them it would be easy
Just add your points first, and then add a second copy of latitude. On the second marks card that appears, change the type to filled map and replace the details with your spatial file and an ID to disaggregate the polygons.
I was reviewing this and I am not sure but I think you are going for two distinct spatial files rather than a spatial file and points on the map. So more like a Venn diagram and trying to assign values for the overlapping and seperate areas of each spatial file relative to the other? Is that right? So circle A overlaps circle B and would have a unique value for the part of A that doesn't overlap, the overlapping segment, and the part of B not overlapping.
Please clarify and I will raise this with our maps team as well.
I'll just add to what Patrick and Lénaïc have written. If you've got two ESRI shape files/geoJSON/KML/etc. spatial files and are looking to join them to find intersections that is not presently supported by Tableau. Spatial joins on SQL Server data sources are in alpha right now (they were announced at TC17), we can expect support for spatial joins on additional sources to develop over time but I haven't heard any commitments as to what sources and when.
If you just want a visual "join" then you can plot both spatial files on the same map to see the intersection, besides Lénaïc's instructions you can take a look at Dual Axis Mapping - Many Ways for more details. If you're looking for something that is more like what Patrick is describing then for the present Tableau released version you'd need to do that join outside of Tableau using QGIS, ESRI, Alteryx, or some other tool.
The request that I received is from a client that has a spatial file with
state electorate boundaries and a second file with suburb boundaries, there
are no columns that link the boundaries. They then have a data file that
can link to the suburb spacial file. They want to create a hierarchy style
of roll up from suburb into the state electorate boundaries or at least be
able to then aggregate the suburb data into the state electorate boundaries.
state electorate boundaries:
The state electorate should aggregate the suburbs that fall within the
state electorate boundaries.
Forest Grove Technology I 171 St Georges Terrace I
Perth I Western Australia I 6000 I
P: +61 8 9481 2400 I E: firstname.lastname@example.org I
On 31 January 2018 at 07:48, Patrick A Van Der Hyde <
I can understand the use case, but the problem is there is no relationship between the 2 shapefiles for your intersect.
However, if you dual-axis the viz, you can aggregate the layer information that you are looking for at the tooltip level inside the All marks card - is this what you are looking for ?
HTH 10.5 attached
Willem.twbx 1.2 MB