fmeobjects.FMEFeature.buffer

FMEFeature.buffer(width, sampleAngle)

This method generates a buffer around the feature. The features geometry is replaced by the new buffer geometry. If the feature is an area feature then the buffer is only generated on the outside (and inside holes) of the feature.

Parameters:
  • width (float) – The number of ground units to buffer around the feature.

  • sampleAngle (float) – The sampling angle. If 5 then there is a vertex on the buffer every 5 degrees.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.