write geolocation of truck into database