Trouble with MapWinGeoProc.SpatialOperations.Intersection Method

Oct 4, 2011 at 11:42 PM

I get a runtime error when I try to use the MapWinGeoProc.SpatialOperations.Intersection Method

Visual Studio presents the below message.

Method not found: 'Boolean MapWinGIS.IShape.get_IsValid()

Any ideas?

Oct 5, 2011 at 7:55 AM

Which version are you using?
IsValid requires the geos_c.dll in versions prior to v4.8.5.

The GEOS library is now merged with the ocx so you don't need an additional dll.

You also might consider using the shapefile.Intersect method so you don't need MapWinGeoProc.