grimzy/laravel-mysql-spatial

scopeDistanceSphereExcludingSelf and scopeDistanceExcludingSelf doesnt work

H-ishak opened this issue · 0 comments

when using one these functions the result of the query is always including Self which is wrong because values from the SGBD are not 0 but close to 0 ex : 3.1514678425869E-8 .

i'm using laravel 8 and mysql 8.0.21 with point type.

can you please fix that or give an explanation about it ?