The calculated distance (air line) between Ulbroka and Daugavpils is approximately 112 miles respectively 180 kilometers.
By car or train, the actual journey to Daugavpils is certainly longer, as only the direct route (as the crow flies) between Ulbroka and Daugavpils has been calculated here.
Air line (approximately)
180 kilometers
97 nautical miles