function - Distance between a polygon and a point in mysql -
guys please suggest me mysql function calculate distance between point , polygon.
i need inbuilt mysql function issue
you looking functions testing spatial relations between geometric objects
the functions described in these sections take 2 geometries input parameters , return qualitative or quantitative relation between them.
from manual:
note mysql implemented these functions such used object bounding rectangles , returned same result corresponding mbr-based functions. of mysql 5.6.1, corresponding versions available use precise object shapes. these versions named st_ prefix. example, contains() uses object bounding rectangles, whereas st_contains() uses object shapes.
as of mysql 5.6.1, there st_ aliases existing spatial functions exact. example, st_isempty() alias isempty()
Comments
Post a Comment