FUNCTION ST_Distance_Sphere does not exist in MariaDB

后端 未结 4 1453
时光取名叫无心
时光取名叫无心 2021-02-13 13:34

I want get all locations around my location but the function ST_Distance_Sphere does not work.

My query:

select *, astext(location) as locat         


        
4条回答
  •  情书的邮戳
    2021-02-13 14:11

    A direct copy of my answer on DBA.SE,


    Almost unbelievably, MariaDB lacks this ST_Distance_Sphere (MDEV-13467).

    Find their support matrix here.

    And it's not just that either, it also lacks ST_GeoHash that MySQL has.

提交回复
热议问题