This project has moved and is read-only. For the latest updates, please go here.

find percentage of overlaping geometries

Topics: SharpMap v2.0
Feb 16, 2009 at 9:05 PM
Ok this is propably a silly question to ask. I am using SharpMap v.2

Is there an (implemented) method to find if two geometries (areas) in different Layers are overlaping(intersect) and the percentage of overlaping ?
Feb 18, 2009 at 11:11 AM
Hi Agelos,

I haven't tried it but how about :

IGeometry a = ....
IGeometry b = ....
IGeometry c = a.Intersection(b);
double perc = c.Area / a.Area * 100
hth jd