The city of Cortlandville , near the western border of the county , is surrounded by the town of Cortland .
The town of Cortlandville , located near the western border of the county , is surrounded by the city of Cortland .