The calculated distance (air line) between General Ramírez and San Miguel is approximately 185 miles respectively 297 kilometers.
By car or train, the actual journey to San Miguel is certainly longer, as only the direct route (as the crow flies) between General Ramírez and San Miguel has been calculated here.
Air line (approximately)
297 kilometers
160 nautical miles