diff --git a/pyproject.toml b/pyproject.toml index 12a5af9..b121538 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ diff --git a/src/spatial_polars/__init__.py b/src/spatial_polars/__init__.py index 2be215a..3c58648 100644 --- a/src/spatial_polars/__init__.py +++ b/src/spatial_polars/__init__.py @@ -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 diff --git a/src/spatial_polars/spatialexpr.py b/src/spatial_polars/spatialexpr.py index a92a91c..0cbc3ad 100644 --- a/src/spatial_polars/spatialexpr.py +++ b/src/spatial_polars/spatialexpr.py @@ -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. @@ -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, ) diff --git a/uv.lock b/uv.lock index bfe3172..9bb67ac 100644 --- a/uv.lock +++ b/uv.lock @@ -3401,7 +3401,7 @@ wheels = [ [[package]] name = "spatial-polars" -version = "0.2.2" +version = "0.2.3" source = { editable = "." } dependencies = [ { name = "cloudpickle" },