location to string changed to write coordinates as double values