bool BufferPolygonSF(ref string inputSFPath, ref string resultSFPath, System.Double distance, System.Boolean uniteOverlaps, MapWinGeoProc.Enumerations.Buffer_HoleTreatment holeTreatment, MapWinGeoProc.Enumerations.Buffer_CapStyle capStyle)
Creates a buffer around each polygon in the input
|inputSFPath||Full path to the polygon shapefile.|
|resultSFPath||Full path to the resulting buffer shapefile.|
|distance||Distance from polygon border at which the corresponding buffer should be created.|
|uniteOverlaps||True if overlapping buffers should be combined.|
|holeTreatment||For multiPart polygons with holes, specifies what should be
done with holes.
Ignore (no holes will be included in result buffer), Opposite (if distance is positive, hole will shrink),
Same (if distance is positive, hole will grow), Original (the hole will not be buffered but will still exist inside of the buffer shape).
|capStyle||Edge treatment (Pointed or Rounded caps).|
False if an error was encountered, true otherwise.
Visual Basic Net 2005 Example
Visual C# 2005 Example Implementation Code
Back to SpatialOperations