Skip to content

Commit

Permalink
Update tile functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Diviloper committed Aug 12, 2024
1 parent 2605a95 commit 3823c61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pymeos/boxes/stbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ def tile(
else pgis_geometry_in("Point(0 0 0)", -1)
)
)
tiles, count = stbox_tile_list(self._inner, sz, sz, sz, dt, gs, st)
tiles, count = stbox_space_time_tiles(self._inner, sz, sz, sz, dt, gs, st)
return [STBox(_inner=tiles + i) for i in range(count)]

# ------------------------- Comparisons -----------------------------------
Expand Down
4 changes: 2 additions & 2 deletions pymeos/boxes/tbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,9 +1131,9 @@ def tile(
)
)
if self._is_float():
tiles, count = tfloatbox_tile_list(self._inner, size, dt, origin, st)
tiles, count = tfloatbox_value_time_tiles(self._inner, size, dt, origin, st)
else:
tiles, count = tintbox_tile_list(
tiles, count = tintbox_value_time_tiles(
self._inner, int(size), dt, int(origin), st
)
return [TBox(_inner=tiles + c) for c in range(count)]
Expand Down

0 comments on commit 3823c61

Please sign in to comment.