Could someone suggest the best format to store geolocation coordinates into a websql database? Would it be better to grab the values from an array and store in the format: (52.8165972, -2.1174389000000247),(52.8165972, -2.1174389000000247),(52.8165972, -2.1174389000000247), with each bracket representing a set of coordinates (lat,lng), or would it be better to separate lat and lng values into their own separate columns?
Please bear in mind I will be using the coordinates stored within this database to plot a polyline onto Google maps. The reason I currently have the structure stated above, is because Google maps expects the format of the path values to be (lat, lng).
The current concern is outputting from the database column, all the values in that format, so for example if it's possible to output as (52.8165972, -2.1174389000000247), it may be possible to work with it more easily.
Any advice would be highly appreciated!
EDIT: Additional information about the whole project
I am building an application that is intended to track a users location whilst on walks. The mechanics behind the tracking and drawing a polyline in real-time all work perfectly. Upon "finishing" the walk, the user is taken to a second screen where additional details can be added such as walk titles, descriptions. Information such as the polyline path is output from an array onto the map so that the user can see it. Upon "saving" from this page, all the data is collected both from the arrays for that session and any information entered on that page and stored into its own auto incremental row in the table.
There is another page where the users can view all the walks they have undertaken, this will list out all the individual walk details, and also display a map with that particular walk's polyline added.