Returns an expanded geometry region (or shrunken, if the buffer distance is negative) of the supplied geometry, called a buffer, using the supplied distance and resolution. If the supplied geometry contains holes, then a positive-distance buffer will extend into those holes.


The following table lists the request and response messages for the buffer operation.

Click on a message name to get more information about the message.

Message Description
BufferRequest The request message for the buffer operation.
BufferResponse The response message for the buffer operation.


The XML returned by the Geometry Service for buffer requests can contain multiple polygons (exterior and interior), not just a single polygon. The XML namespaces can help you determine that this is the case. For instance, the appearance of <ns2:Exterior> and <ns2:InteriorList> within an XML response indicates that a buffer contains multiple polygons. When the returned XML is visualized, you can see a self-intersecting polygon.

If you do not parse out these elements, a polygon will be displayed that looks like this:

Once parsed, the polygon should look like this: