1 Reply Latest reply on Feb 9, 2017 8:52 PM by Bill Lyons

    Find out if point is inside shape?

    gabriela..zorrilla

      I'd like to plot shapes on a map and know if any of the lat/long points in another dataset is inside one of those shapes.

       

      Is this possible?

        • 1. Re: Find out if point is inside shape?
          Bill Lyons

          This depends a lot on the complexity of your shapes. With simple convex shapes, and enough math, this might be possible, but it would definitely not be easy. If you have irregular shapes, the complexity increases exponentially. I wouldn't recommend it, at least with the current version of Tableau. Tableau 10.2 is supposed to include support for some geospatial data types, but I don't know if it will go so far as to include geospatial matching or relationship functions. I doubt it.

           

          I find Alteryx to be fantastic for this kind of functionality. Other modern databases, including SQL Server and PostgreSQL include geospatial functions, but expect the learning curve to be pretty steep.

           

          I hope that helps.