Spatial Indexes in MySQL
Jeremy shows how to use spatial indexes in MySQL:
SELECT name
FROM map_test
WHERE Contains(GeomFromText('POLYGON((0 0, 0 3, 3 3, 3 0, 0 0))'), loc) = 1;
Jeremy shows how to use spatial indexes in MySQL:
SELECT name
FROM map_test
WHERE Contains(GeomFromText('POLYGON((0 0, 0 3, 3 3, 3 0, 0 0))'), loc) = 1;