geography.BufferWithTolerance
spatial method BufferWithTolerance (instance.BufferWithTolerance(...))
What changes
- Input
- spatial instance (and arguments)
- Output or change
- geography
- Return type
- SQL Server return type: geography CLR return type: SqlGeography
Syntax at a glance
.BufferWithTolerance ( distance, tolerance, relative )
Work example
Use geography.BufferWithTolerance to create a buffer with an explicit curve tolerance.
Set tolerance in spatial units and compare at the intended map scale. Keep the geography type and SRID in the review.
Check your work The buffer uses a 100 metre distance and a 1 metre absolute approximation tolerance.
Practice SQL
Open in SQL FlowOpen the SQL for a walkthrough. Run the example in SQL Server to check its result.
SELECT p.shape.BufferWithTolerance(100, 1, 0).STGeometryType() AS buffer_type, p.shape.BufferWithTolerance(100, 1, 0).STIsEmpty() AS is_empty FROM (VALUES (geography::Point(47.651, -122.349, 4326))) AS p(shape);
Open Microsoft Learn for full syntax, permissions, and details for your version.