Identifying types of lines