changed gps format in sql query