map and form the line mining