def gps_offset(lat, lon, east, north):
 bearing = math.degrees(math.atan2(east, north))
 distance = math.sqrt(((east ** 2) + (north ** 2)))
 return gps_newpos(lat, lon, bearing, distance)

def gps_offset ( lat , lon , east , north ) : bearing = math . degrees ( math . atan2 ( east , north ) ) distance = math . sqrt ( ( ( east ** 2 ) + ( north ** 2 ) ) ) return gps_newpos ( lat , lon , bearing , distance )
return new lat/lon after moving east/north by the given number of meters .