Skip to content

Commit

Permalink
Small doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Jul 10, 2024
1 parent 46a5889 commit 694f5f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion salem/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def __init__(self, x, y, crs=wgs84, size_x=640, size_y=640, scale=1,
Google API key. If None, it will try to read it from
the environment variable STATIC_MAP_API_KEY
kwargs : **
any keyword accepted by motionless.CenterMap (e.g. `key` for the API)
any keyword accepted by motionless.CenterMap
Notes
-----
Expand Down
1 change: 1 addition & 0 deletions salem/gis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,7 @@ def transform_geopandas(gdf, from_crs=None, to_crs=wgs84, inplace=False):
try:
out.set_crs(to_crs, allow_override=True, inplace=True)
except ValueError:
# Older versions of geopandas
out.crs = to_crs
out.geometry.crs = to_crs
out['min_x'] = [g.bounds[0] for g in out.geometry]
Expand Down

0 comments on commit 694f5f9

Please sign in to comment.