

 Amazon Redshift will no longer support the creation of new Python UDFs starting Patch 198. Existing Python UDFs will continue to function until June 30, 2026. For more information, see the [ blog post ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

# default\$1geometry\$1encoding
<a name="r_default_geometry_encoding"></a>

## Values (default in bold)
<a name="default_geometry_encoding-values"></a>

1, **2**

## Description
<a name="description"></a>

A session configuration that specifies if spatial geometries created during this session are encoded with a bounding box. If `default_geometry_encoding` is `1`, then geometries are not encoded with a bounding box. If `default_geometry_encoding` is `2`, then geometries are encoded with a bounding box. For more information about support for bounding boxes, see [Bounding box](spatial-terminology.md#spatial-terminology-bounding-box). 