The calculated distance (air line) between San Juan Nepomuceno and Riohacha is approximately 184 miles respectively 296 kilometers.
By car or train, the actual journey to Riohacha is certainly longer, as only the direct route (as the crow flies) between San Juan Nepomuceno and Riohacha has been calculated here.
Air line (approximately)
296 kilometers
160 nautical miles