geography.BufferWithCurves
spatial method BufferWithCurves (instance.BufferWithCurves(...))
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
.BufferWithCurves ( distance )
Work example
Use geography.BufferWithCurves to create a buffer while retaining supported curve segments.
Set tolerance for coordinate scale and inspect the result. Keep the geography type and SRID in the review.
Check your work The 100 metre geography buffer is nonempty and can retain curved segments.
Practice SQL
Open in SQL FlowOpen the SQL for a walkthrough. Run the example in SQL Server to check its result.
SELECT p.shape.BufferWithCurves(100).STGeometryType() AS buffer_type, p.shape.BufferWithCurves(100).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.