MySQL Forums
Forum List  »  GIS

Distance between a point and a linestring
Posted by: Emilio Bravo Garcia
Date: August 09, 2008 12:51PM


I'm starting to use the spatial extension whit mysql 5.0. I have a table with a point attribute, i want to calculate the distance between points and a linestring. I have tried to Distance function, but mysql throw "Error Code : 1305 FUNCTION Distance does not exist".
How can i calculate the distance?, Are there any other function to calculate the distance?.


Edited 1 time(s). Last edit at 08/11/2008 12:34PM by Emilio Bravo Garcia.

Options: ReplyQuote

Written By
Distance between a point and a linestring
August 09, 2008 12:51PM

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.