The calculated distance (air line) between Oberviechtach and Dresden is approximately 125 miles respectively 200 kilometers.
By car or train, the actual journey to Dresden is certainly longer, as only the direct route (as the crow flies) between Oberviechtach and Dresden has been calculated here.
Air line (approximately)
200 kilometers
108 nautical miles