MySQL Forums
Forum List  »  GIS

Searching Point Column
Posted by: Mark Grover
Date: December 09, 2005 09:11AM

I have created a database table which has a field of type Point. I have inserted about a million records with x,y coordinates (latitude & longitudes). If I have an arbitrary lat/long (that does not have an exact match) what would be the best way to find the closest coordinates from the database table? Can someone give an SQL example?

Options: ReplyQuote

Written By
Searching Point Column
December 09, 2005 09:11AM
December 15, 2005 12:19PM
December 16, 2005 07:44AM
December 16, 2005 08:03AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.