Supported in: Batch, Streaming
Computes the buffer of a geometry for both positive and negative buffer distances. Returns an approximate representation of all points within a given distance of the this geometric object (or for negative buffers, all points minus those within the buffer distance of the boundary). Buffer drops any z coordinates, and zero/negative distance buffers of lines and points will return null.
Expression categories: Geospatial
Output type: Geometry
Argument values:
distance
geometry
ROUND
ROUND
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"Point","coordinates":[-77.07368071728229,38.83040844313318]} | 10.0 | {"type":"Polygon","coordinates":[[[-77.07356558299462, 38.83041048767274],[-77.07356728534256, 38.83... |
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318, 1],[-77.0725293738795,38.83042888342659, 1]]} | 10.0 | {"type":"Polygon","coordinates":[[[-77.07253198637027, 38.83051894052714],[-77.07250947453703, 38.83... |
{"type":"Polygon","coordinates":[[[-77.07368071728229,38.83040844313318, 1],[-77.0725293738795,38.83... | 10.0 | {"type":"Polygon","coordinates":[[[-77.07379585155829, 38.83040639848026],[-77.07382199292853, 38.83... |
Argument values:
distance
geometry
ROUND
ROUND
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"Point","coordinates":[-77.07368071728229,38.83040844313318]} | -1.0 | null |
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659]]} | -1.0 | null |
{"type":"Polygon","coordinates":[[[-77.07368071728229,38.83040844313318],[-77.07370685720375,38.83130901341597],[-77.0725293738795,38.83042888342659],[-77.07368071728229,38.83040844313318]]]} | -1.0 | {"type":"Polygon","coordinates":[[[-77.07366946524603, 38.830417653295896],[-77.07369471254682, 38.83128747619332],[-77.07255743103391, 38.83043739579778],[-77.07366946524603, 38.830417653295896]]]} |
{"type":"Polygon","coordinates":[[[-77.07331719760555, 38.83072458211154],[-77.07331719760555, 38.83... | -500.0 | null |
Argument values:
distance
geometry
ROUND
ROUND
SINGLE_SIDED_LEFT
geometry | distance | Output |
---|---|---|
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659]]} | 5.0 | {"type":"Polygon","coordinates":[[[-77.0725293738795, 38.83042888342659],[-77.07368071728229, 38.830... |
{"type":"Polygon","coordinates":[[[-77.0725293738795, 38.83042888342659],[-77.07368071728229, 38.830... | 5.0 | null |
{"type":"Point","coordinates": [-77.0725293738795, 38.83042888342659]]} | 5.0 | null |
Argument values:
distance
geometry
ROUND
ROUND
SINGLE_SIDED_RIGHT
geometry | distance | Output |
---|---|---|
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659]]} | 5.0 | {"type":"Polygon","coordinates":[[[-77.07368071728229, 38.83040844313318],[-77.0725293738795, 38.830... |
Argument values:
distance
geometry
ROUND
ROUND
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
null | 10.0 | null |
Argument values:
distance
geometry
ROUND
ROUND
SINGLE_SIDED_LEFT
geometry | distance | Output |
---|---|---|
{"type": "GeometryCollection","geometries": [{"type":"LineString","coordinates":[[-77.0736807172822... | 5.0 | {"type":"Polygon","coordinates":[[[-77.0725293738795, 38.83042888342659],[-77.07368071728229, 38.830... |
Argument values:
distance
geometry
ROUND
BEVEL
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"Polygon","coordinates":[[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659],[-77.07370685720375,38.83130901341597],[-77.07368071728229,38.83040844313318]]]} | 5.0 | {"type":"Polygon","coordinates":[[[-77.07373828442175, 38.83040742082089],[-77.0737644250676, 38.831... |
Argument values:
distance
geometry
FLAT
ROUND
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659]]} | 5.0 | {"type":"Polygon","coordinates":[[[-77.07253068012344, 38.830473911977066],[-77.07252806763852, 38.8... |
Argument values:
distance
geometry
ROUND
ROUND
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"Point","coordinates":[-77.07368071728229,38.83040844313318]} | 10.0 | {"type":"Polygon","coordinates":[[[-77.07356558299462, 38.83041048767274],[-77.0735662268165, 38.830... |
Argument values:
distance
geometry
ROUND
MITRE
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"Polygon","coordinates":[[[-77.07373697742014, 38.830362392304345],[-77.07376758060177, 38.83141669950616],[-77.072389088204, 38.83038632146655],[-77.07373697742014, 38.830362392304345]]]} | 5.0 | {"type":"Polygon","coordinates":[[[-77.07379323748556, 38.830316341450036],[-77.0738283041888, 38.83152438555785],[-77.07224880268927, 38.83034375933304],[-77.07379323748556, 38.830316341450036]]]} |
Argument values:
distance
geometry
ROUND
ROUND
SINGLE_SIDED_LEFT
geometry | distance | Output |
---|---|---|
{"type":"Point","coordinates":[-77.07368071728229,38.83040844313318]} | -1.0 | null |
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659]]} | -1.0 | null |
{"type":"Polygon","coordinates":[[[-77.07368071728229,38.83040844313318],[-77.07370685720375,38.83130901341597],[-77.0725293738795,38.83042888342659],[-77.07368071728229,38.83040844313318]]]} | -1.0 | null |
Argument values:
distance
geometry
SQUARE
ROUND
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659]]} | 5.0 | {"type":"Polygon","coordinates":[[[-77.07253068012344, 38.830473911977066],[-77.0724731128864, 38.83... |
Argument values:
distance
geometry
ROUND
ROUND
DOUBLE_SIDED
geometry | distance | Output |
---|---|---|
{"type":"Point","coordinates":[-77.07368071728229,38.83040844313318]} | 0.0 | null |
{"type":"LineString","coordinates":[[-77.07368071728229,38.83040844313318],[-77.0725293738795,38.83042888342659]]} | 0.0 | null |
{"type":"Polygon","coordinates":[[[-77.07368071728229,38.83040844313318],[-77.07370685720375,38.83130901341597],[-77.0725293738795,38.83042888342659],[-77.07368071728229,38.83040844313318]]]} | 0.0 | {"type":"Polygon","coordinates":[[[-77.07368071728229,38.83040844313318],[-77.07370685720375,38.83130901341597],[-77.0725293738795,38.83042888342659],[-77.07368071728229,38.83040844313318]]]} |