phpMyAdmin GIS Visualization does not work with this query
-
19-10-2022 - |
Вопрос
I have a table which contains latitude and longitude information in Decimal
format. I am successfully getting them as GIS POINT type with the following query but phpMyAdmin's GIS Visualization extension act as if this returns an empty data set.
SELECT name, PointFromText( Concat( 'POINT (', geo_lat, ' ', geo_long, ')' ) ) AS coordinates
FROM `users`
LIMIT 0 , 50
If I do AsText(coordinates)
I can see that it is a valid point with correct lat/long values. Should I report this as a bug?
Нет правильного решения
Не связан с StackOverflow