The calculated distance (air line) between Janowiec Wielkopolski and Gliwice is approximately 177 miles respectively 285 kilometers.
By car or train, the actual journey to Gliwice is certainly longer, as only the direct route (as the crow flies) between Janowiec Wielkopolski and Gliwice has been calculated here.
Air line (approximately)
285 kilometers
154 nautical miles