File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ def load(
105
105
y : Optional [Tuple [float , float ]] = None ,
106
106
like : Optional [Any ] = None ,
107
107
geopolygon : Optional [Any ] = None ,
108
+ intersects : Optional [Any ] = None ,
108
109
# UI
109
110
progress : Optional [Any ] = None ,
110
111
fail_on_error : bool = True ,
@@ -263,6 +264,10 @@ def load(
263
264
``EPSG:4326`` projection for dictionary and Shapely inputs. CRS information available
264
265
on GeoPandas inputs should be understood correctly.
265
266
267
+ :param intersects:
268
+ Simple alias to `geopolygon` so that the same inputs work for `pystac_client.Client.search`
269
+ as they do here.
270
+
266
271
.. rubric:: STAC Related Options
267
272
268
273
:param stac_cfg:
@@ -355,6 +360,9 @@ def load(
355
360
items = list (items )
356
361
_parsed = list (parse_items (items , cfg = stac_cfg , md_plugin = md_plugin ))
357
362
363
+ if geopolygon is None and intersects is not None :
364
+ geopolygon = intersects
365
+
358
366
gbox = output_geobox (
359
367
_parsed ,
360
368
bands = bands ,
You can’t perform that action at this time.
0 commit comments