Is there a best practices as to what format GPS coordinates should be stored in the database and then just convert it to the required format when requested?
I have the following:
S33° 56' 51.972" E18° 51' 25.83"
Is it good to store it like this in the database or in another format? I'm just wondering because it contains a degree symbol and minutes and seconds symbols.
Would the above needed to be saved as an NVARCHAR(50)
or will VARCHAR(50)
be sufficient?
I am using SQL Server
but this should be applicable to all forms of databases.