#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        ST_Transform() function call.\n        ' #NEWLINE# if ( ( value is None ) or ( value . srid == self . srid ) ) : #NEWLINE# #INDENT# return '%s' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( '%s(%%s, %s)' % ( TRANSFORM , self . srid ) )