0

What is the correct way to store a Google Maps DrawingManager circle overlay? Should I just store the center as a POINT and the radius in a separate column or store a polygon using ST_Buffer()?

1 Answer 1

1

It kind of depends on you needs and dynamic nature of your points and buffer. If the buffer is dynamic I would store the point and make a view creating the buffer. If the buffer is static, you could store it as a polygon using ST_BUFFER(). Either way you can always extract the other.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.