Home > Uncategorized > Spatial Indexes in MySQL

Spatial Indexes in MySQL

January 7th, 2003 Tony Leave a comment Go to comments

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;
Tags:
  1. No comments yet.