Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Use ST_DISTANCE_SPHERE for MariaDB Spatial Queries

Open neliason0 opened this issue 3 years ago • 1 comments

It looks like MariaDB added support for ST_DISTANCE_SPHERE in May. Currently MariaDB queries are translated using an explicit haversine function. Since MariaDB now supports ST_DISTANCE_SPHERE spatial queries can be implemented using this method.

neliason0 avatar Dec 04 '21 01:12 neliason0

See issue https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/1183.

mguinness avatar Dec 04 '21 03:12 mguinness