MapWinGeoProc:SpatialOperations BufferPolygonSF

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

BufferPolygonSF

Syntax

 bool BufferPolygonSF(ref string inputSFPath, ref string resultSFPath, System.Double distance, System.Boolean uniteOverlaps, MapWinGeoProc.Enumerations.Buffer_HoleTreatment holeTreatment, MapWinGeoProc.Enumerations.Buffer_CapStyle capStyle)

Summary

Creates a buffer around each polygon in the input shapefile.

Parameters

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).

Returns

False if an error was encountered, true otherwise.

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to SpatialOperations

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGeoProc:SpatialOperations_BufferPolygonSF"

This page has been accessed 928 times. This page was last modified on 26 June 2006, at 04:09.