In MySql database I have points (pairs of latitudes and longitudes represented as doubles) like this:
LATITUDE | LONGITUDE ---------|---------- 45.045664| 46.084528 26.938933| 60.903848 .....
Now, what I need is to get these points from my database (which is not a problem at all) and echo them in a WKT format or WKT line (this part I don't know). This PHP script is going to be a part of an API used by Windows App.
How can I convert points to WKT format?
Perhaps there is a plugin I can use.