Skip to main content

This is my first go at using a spatial file as a source. I have a spatial file and a separate geolocation spreadsheet with a set of latitude and longitudes. How do I figure out if those locations are inside a the polygons defined by the spatial file? Is it possible to filter out locations that only belong to a particular polygon using RLS? Thank you!

7 answers
  1. Dec 19, 2022, 3:11 PM

    @Siva Mudaliar​ 

    Hi, you may need to create a join of type intersects between your data and a shape file. So you would need to create a cross database join with a spatial file (e.g. shape file)

     

    In this case you may need a MAKEPOINT(Lat, Long) in your join clauses.

    https://vizpainter.com/spatial-joins-in-tableau-with-excel-text-anything/

    https://help.tableau.com/current/pro/desktop/en-us/maps_spatial_join.htm

    https://www.modux.co/2019/12/como-zonificar-en-tableau-usando-archivos-espaciales-de-poligonos/

     

    If this post resolves the question, would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.

     

    Regards,

     

    Diego Martinez

    Tableau Visionary and Forums Ambassador

0/9000