It is situated on the river Main , 20 km east of Schweinfurt and 30 km northwest of Bamberg .
It is on the river Main , 20 km east of Schweinfurt and 30 km northwest of Bamberg .