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