The calculated distance (air line) between Daugavgrīva and Valmiera is approximately 62 miles respectively 100 kilometers.
By car or train, the actual journey to Valmiera is certainly longer, as only the direct route (as the crow flies) between Daugavgrīva and Valmiera has been calculated here.
Air line (approximately)
100 kilometers
54 nautical miles