I have a drainage/ river shapefile. If i identify a particular pattern/ feature in the drainage file then using it as input is it possible to identify similar features in the rest of the drainage file. Is it possible to write a code in python for the above