The calculated distance (air line) between San Juan de Dios and Nicoya is approximately 95 miles respectively 153 kilometers.
By car or train, the actual journey to Nicoya is certainly longer, as only the direct route (as the crow flies) between San Juan de Dios and Nicoya has been calculated here.
Air line (approximately)
153 kilometers
82 nautical miles