There's not a lot of information about what you are trying to do in your original question, but have you looked at this:
If this is not helpful, please provide more information about what you are trying to accomplish.
I'll try and post the workbook later today, but essentially this is the situation:
We have two datasets. One has the custom polygons of the submarkets, and another has customer details, which includes latitude and longitude values, but not submarkets.
We are able to map the two datasets, but we need a calculation that will determine which submarket each customer is in. Do you know if that is possible?
Are you looking for the extants or the centroid? Most of the polygon datasets has a [polygon id] or some field associated with each polygon. If you have the lat/long in the level of detail shelf, it should give you at least the polygon extants. This could be complicated if the poly is an island (multipoly)
The centroid is typically found in the feature file (DBF) if the poly has been built from single point data, but you are talking about a voroni poly in this case.
Hope that helps,
I'm not sure I entirely understand what you're saying here. Hopefully this workbook will make it more clear.
You'll see that we've mapped 12 submarkets across London, along with 5 customers. We then like to be to (at it's most basic level) count how many customers fall into each submarket (along with a whole load of other information).
Would be easier / possible to do this in the database?
Point in Polygon.twbx.zip 65.0 KB
I see, you are using the polygon as a binding box.
Did you create the polygon in ESRI?
You need to join your customer file to the feature file.
2 of 2 people found this helpful
Tableau's 2018.2 supports Spatial Join - which will allow you to determine point in polygon.