T
T
t38c3j2019-02-06 15:58:32
SQL
t38c3j, 2019-02-06 15:58:32

Get all objects provided there are other objects within the radius of each object?

There is a table with records of objects. Columns id,name,lat(float),lon(float). How to get all objects provided there are other objects within the radius of each object. I understand that you first need to simply measure the distance between all objects and then filter out everything that does not fall under the condition through the HAVING construction. How to write sql query correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2019-02-06
@t38c3j

SQL Geometry find all points in a radius .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question