Infrastructure contour extraction