Answer the question
In order to leave comments, you need to log in
How to store information about the boundaries of the city in the database?
Hello.
There is a site catalog of sports facilities, which is still being developed (I'm not a programmer, I use the services of freelancers) I
plan to make a search for objects with the possibility of additional coverage of the territory around the city within the specified radius For example, as done on
the
OLX.UA website ( screenshot )
at the moment there is a solution that I do NOT like myself (I repeat that I am not a programmer):
Answer the question
In order to leave comments, you need to log in
If you are not using a spatial database, then it's time to switch to it.
Compares two geometries and checks if they are closer than the specified number of units - postgis.net/docs/ST_DWithin.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question