#NEWLINE# def to_crs( self , crs = None , epsg = None , inplace = False ) : #NEWLINE# #INDENT# 'Transform geometries to a new coordinate reference system\n\n        This method will transform all points in all objects.  It has\n        no notion or projecting entire geometries.  All segments\n        joining points are assumed to be lines in the current\n        projection, not geodesics.  Objects crossing the dateline (or\n        other projection boundary) will have undesirable behavior.\n\n        `to_crs` passes the `crs` argument to the `Proj` function from the\n        `pyproj` library (with the option `preserve_units=True`). It can\n        therefore accept proj4 projections in any format\n        supported by `Proj`, including dictionaries, or proj4 strings.\n\n        ' #NEWLINE# if inplace : #NEWLINE# #INDENT# df = self #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# df = self . copy ( ) #NEWLINE# #UNINDENT# geom = df . geometry . to_crs ( crs = crs , epsg = epsg ) #NEWLINE# df . geometry = geom #NEWLINE# df . crs = geom . crs #NEWLINE# if ( not inplace ) : #NEWLINE# #INDENT# return df