Skip to main content

GEO_BUFFER

Creates a buffer around a geometry

Updated today

Description

The GEO_BUFFER() function creates a buffer polygon around a geometry at a specified distance in miles or kilometers. It is commonly used to build proximity zones and trade areas.

Syntax

GEO_BUFFER(geometry, distance, [unit])

Output

geometry

Variables

  • geometry: The input geometry to buffer.

  • distance: The buffer distance.

  • unit : The unit used for the buffer distance. Supported values are mi or km.

Example

GEO_BUFFER(`store location`, 5.0, 'mi')

Store location

Geo Buffer

Store A

5-mile buffer polygon

Store B

5-mile buffer polygon

Did this answer your question?