#NEWLINE# def __init__( self , srid = 4326 , iterable = ( ) , **kwargs ) : #NEWLINE# #INDENT# self [ 'type' ] = 'link' #NEWLINE# if isinstance ( srid , int ) : #NEWLINE# #INDENT# properties = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# properties [ 'href' ] = ( 'http://spatialreference.org/ref/epsg/%s/proj4/' % srid ) #NEWLINE# properties [ 'type' ] = 'proj4' #NEWLINE# self [ 'properties' ] = properties #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# iterable = ( iterable or srid ) #NEWLINE# #UNINDENT# self . update ( iterable , ** self )