def find_crs(op, element):
crss = [crs for crs in element.traverse(lambda x: x.crs, [_Element])<EOL>if crs is not None]<EOL>if not crss:<EOL><INDENT>return {}<EOL><DEDENT>crs = crss[<NUM_LIT:0>]<EOL>if any(crs != ocrs for ocrs in crss[<NUM_LIT:1>:]):<EOL><INDENT>raise ValueError('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>% type(op).__name__)<EOL><DEDENT>return {'<STR_LIT>': crs}<EOL>
Traverses the supplied object looking for coordinate reference
systems (crs). If multiple clashing reference systems are found
it will throw an error.