Query on KML files

57 views
Skip to first unread message

Adriana Liendo

unread,
Jun 10, 2013, 12:09:52 PM6/10/13
to kml-suppor...@googlegroups.com
Hello,

I have some coordinates points which represents certain information and I have different polygons, and I can identify to which polygon belongs each point, using the google map API and using the function google.maps.geometry.poly.containsLocation(point.getPosition(),polygon). However, in order to do so, I had to write the polygons on google map API format (as google.maps.Polygon objects), that means that I had to create at least 24 polygon out of a kml file. But now, I jave to do the same with more than 200 polygons. I would like to know if I could get the information directly from the kml file doing some sort of query, taking into account that there is just one kml file with more than 200 different polygons.

Regards

LiendoS
Reply all
Reply to author
Forward
0 new messages