#NEWLINE# def get_placeholder( self , value ) : #NEWLINE# #INDENT# '\n        Provides a proper substitution value for Geometries that are not in the\n        SRID of the field.  Specifically, this routine will substitute in the\n        SDO_CS.TRANSFORM() function call.\n        ' #NEWLINE# if ( value is None ) : #NEWLINE# #INDENT# return '%s' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( value . srid != self . _srid ) : #NEWLINE# #INDENT# return ( '%s(SDO_GEOMETRY(%%s, %s), %s)' % ( TRANSFORM , value . srid , self . _srid ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( 'SDO_GEOMETRY(%%s, %s)' % self . _srid )