Search code examples
androidgoogle-mapskmlgoogle-fusion-tablespoint-in-polygon

Check if position (Latitude Longitude) is within KML polygon


I am planning a data visualisation. But there is one big questionmark I need to clarify in advance.

Let's say I have a Fusion Table containing several Latitude, Longitude positions. And furthermore I have a map with KML polygons.

How can I check if a Lat/Lng position is within a specific polygon? So that I get back true or false.

Thank you very much in advance. All the best


Solution

  • Fusion Tables offers spatial queries. This example and the reference guide have more details.