updated to_crs docstring

This commit is contained in:
Nick Eubank committed 2016-03-29 11:36:58 -07:00
1 parent 70c0166049
commit 0e2324df07
2 files changed
+12

No files matched your search

+6
View File
@@ -350,6 +350,12 @@ class GeoDataFrame(GeoPandasBase, DataFrame):
joining points are assumed to be lines in the current
projection, not geodesics. Objects crossing the dateline (or
other projection boundary) will have undesirable behavior.
`to_crs` passes the `crs` argument to the `Proj` function from the
`pyproj` library (with the option `preserve_units=True`). It can
therefore accept proj4 projections in any format
supported by `Proj`, including dictionaries, or proj4 strings.
"""
if inplace:
df = self
+6
View File
@@ -254,6 +254,12 @@ class GeoSeries(GeoPandasBase, Series):
joining points are assumed to be lines in the current
projection, not geodesics. Objects crossing the dateline (or
other projection boundary) will have undesirable behavior.
`to_crs` passes the `crs` argument to the `Proj` function from the
`pyproj` library (with the option `preserve_units=True`). It can
therefore accept proj4 projections in any format
supported by `Proj`, including dictionaries, or proj4 strings.
"""
from fiona.crs import from_epsg
if self.crs is None: