0

How does the STBuffer function measure distances around a polygon?

I am looking at the expression:

select SP_GEOMETRY.STBuffer(100) 

and wondering how the 100-meter buffer is calculated around the geometry of polygons.

e.g., is it from the centre of the polygon? or does the buffer start from the edges of the polygon?

I am struggling to find helpful documentation on this so if you have any links let me know!

Thanks heaps

I am wondering because the function is trying to pick up boundaries which are within 100m from each other, but when running the function, not all the properties within 100m are being selected.

2
  • Here are the docs. It's 100m (or whatever) from the edge. If you can include a minimal reproducible example, more specific help might be possible Commented Feb 21, 2023 at 11:15
  • 1
    You should probably include which database you're using. On SQL Server STBuffer is not even meters, but degrees, at least for Geometry 4326. It's supposed to be a circle, but it isn't really. So i wouldn't trust it's values if you want exacly measures Commented Mar 7, 2023 at 23:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.