@@ -1282,6 +1282,7 @@ def tile(
1282
1282
duration : Optional [Union [timedelta , str ]] = None ,
1283
1283
origin : Optional [shp .BaseGeometry ] = None ,
1284
1284
start : Union [datetime , str , None ] = None ,
1285
+ border_inc : bool = True ,
1285
1286
) -> List [STBox ]:
1286
1287
"""
1287
1288
Returns a list of `STBox` instances representing the tiles of
@@ -1298,6 +1299,7 @@ def tile(
1298
1299
origin will be (0, 0, 0).
1299
1300
start: The start time of the temporal tiling. If not provided,
1300
1301
the start time used by default is Monday, January 3, 2000.
1302
+ border_inc: Whether the border is inclusive or not.
1301
1303
1302
1304
Returns:
1303
1305
A list of `STBox` instances.
@@ -1336,7 +1338,9 @@ def tile(
1336
1338
else pgis_geometry_in ("Point(0 0 0)" , - 1 )
1337
1339
)
1338
1340
)
1339
- tiles , count = stbox_space_time_tiles (self ._inner , sz , sz , sz , dt , gs , st )
1341
+ tiles , count = stbox_space_time_tiles (
1342
+ self ._inner , sz , sz , sz , dt , gs , st , border_inc
1343
+ )
1340
1344
return [STBox (_inner = tiles + i ) for i in range (count )]
1341
1345
1342
1346
# ------------------------- Comparisons -----------------------------------
0 commit comments