def getSRS(self, srsname, typename):
if not isinstance(srsname, Crs):<EOL><INDENT>srs = Crs(srsname)<EOL><DEDENT>else:<EOL><INDENT>srs = srsname<EOL><DEDENT>try:<EOL><INDENT>index = self.contents[typename].crsOptions.index(srs)<EOL>return self.contents[typename].crsOptions[index]<EOL><DEDENT>except ValueError:<EOL><INDENT>options = "<STR_LIT:U+002CU+0020>".join(map(lambda crs: crs.id,<EOL>self.contents[typename].crsOptions))<EOL>log.warning("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>", srs.getcode(), typename, options)<EOL>return None<EOL><DEDENT>
Returns None or Crs object for given name

        @param typename:  feature name 
        @type typename: String