mirror of
https://github.com/wassname/geopandas.git
synced 2026-10-04 12:40:08 +08:00
updated to_crs docstring
This commit is contained in:
1 parent
70c0166049
commit
0e2324df07
2 files changed
+12
No files matched your search
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user