Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "spatial-polars"
version = "0.2.2" # dont forget __init__.py and uv lock
version = "0.2.3" # dont forget __init__.py and uv lock
description = "A package that extends polars for working with geospatial data."
readme = "README.md"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/spatial_polars/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"spatial_series_dtype",
]

__version__ = "0.2.1" # dont forget pyproject.toml and uv lock
__version__ = "0.2.3" # dont forget pyproject.toml and uv lock
4 changes: 2 additions & 2 deletions src/spatial_polars/spatialexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2163,7 +2163,7 @@ def line_locate_point(
if other is not None:
return self._expr.map_batches(
lambda s: s.spatial.line_locate_point(other, normalized=normalized),
return_dtype=spatial_series_dtype,
return_dtype=pl.Float64,
is_elementwise=True,
)
# expect struct with two geometries.
Expand All @@ -2172,7 +2172,7 @@ def line_locate_point(
combined.struct[1].spatial.to_shapely_array(),
normalized=normalized,
),
return_dtype=spatial_series_dtype,
return_dtype=pl.Float64,
is_elementwise=True,
)

Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.