Hi i want to check if 2 polygons overlap each other from any of its side
working on this link these days... please share your experience with mysql functions
database - How can I handle MySQL polygon overlap queries? - Stack Overflow
don't it make my app very slow, to retrieve all users polygons(more than 1000) from db and then check on browser side with this method. one by one.
Is their any method to check it on server side.
As i have to show also that overlaped polygon, so i think it makes my app very slow
The intersects method only compares one geometry with another. So you'd have to loop through your array, comparing each polygon with your graphic.
Hi Ken,
I would like to know , that if i get an array of polygons from db (assume constant) and match it with current map graphicslayer graphics geomtery, in that case how intersect will work. to match 2 arrays of geometries
You can use the geometryEngine's intersects method to test the two polygons.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.