You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSTS devs
Hi,
First of all thanks for creating a such useful and powerful java script library. Recently I came across one requirement based on the polygon intersection. Do JSTS library have any function to compute the percentage of polygon intersection. If not could anyone please let me know how can I achieve the same.
Thanks.
Message has been deleted
Message has been deleted
Kamarajugadda Manjula
unread,
Aug 12, 2016, 2:20:22 AM8/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSTS devs
any related examples are also welcomed sir.
erik.he...@climate.com
unread,
May 11, 2017, 4:46:51 PM5/11/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSTS devs
Sivaram,
1. Call getArea() on the union of your polygons.
2. Call getArea() on the intersection of your polygons.
3. Divide the intersection area by the union area and that is your percentage of intersection.