Skip to content
Open
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3eadb4d
Fix test workflow and add release workflow
Diviloper Dec 1, 2024
5bf0aa9
Add border_inc parameter in STBox tile method
Diviloper Dec 1, 2024
d3dd7bb
Update pymeos_cffi requirement version
Diviloper Jul 28, 2025
8bb9c97
Update references to geoset functions (geoset -> spatialset)
Diviloper Jul 28, 2025
b5b3c43
Update reference to temporal point extent aggregator
Diviloper Jul 28, 2025
0fa0da8
Drop support for python 3.8 and 3.9 and require 3.10 minimum
Diviloper Aug 1, 2025
b6ad0ba
Start syncing
Diviloper Aug 1, 2025
6b247e9
Move functionalities only available to planar object (TGeoms) from TP…
Diviloper Aug 6, 2025
70f6d7f
Drop python versions 3.8 and 3.9 from workflows
Diviloper Aug 8, 2025
b8b1f27
Ditch black in favour of ruff.
Diviloper Aug 8, 2025
0f977e7
added correct function
1-ARIjitS Aug 5, 2024
0a0b482
Close PR #72 1.3 bump: circular imports + 1 test typo
estebanzimanyi May 14, 2026
b398ddc
Merge remote-tracking branch 'origin/master' into bump/meos-1.3
estebanzimanyi May 14, 2026
52e8237
Bump apt postgresql-server-dev to 16 in the test workflow
estebanzimanyi May 14, 2026
ca1c81b
ruff format on collections after master merge
estebanzimanyi May 14, 2026
d8f9c02
Look up matching MobilityDB/PyMEOS-CFFI branch by head_ref first
estebanzimanyi May 14, 2026
22110ef
Derive MEOS branch from package version in test workflow
estebanzimanyi May 14, 2026
4504334
Correct pre-existing test fixture bugs
estebanzimanyi May 14, 2026
b22b81a
ruff format
estebanzimanyi May 14, 2026
85ceb5b
Fix the Linux GEOS install: pin cache-apt-pkgs-action and bust the st…
estebanzimanyi Jul 11, 2026
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
Prev Previous commit
Next Next commit
Update references to geoset functions (geoset -> spatialset)
  • Loading branch information
Diviloper committed Jul 28, 2025
commit 8bb9c97c155a76788abf3e29cd1000b2f78271ae
39 changes: 19 additions & 20 deletions pymeos/collections/geo/geoset.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@
intersection_set_geo,
minus_set_geo,
union_set_geo,
geoset_as_ewkt,
geoset_as_text,
geoset_out,
spatialset_as_ewkt,
spatialset_as_text,
geoset_make,
geoset_srid,
geoset_round,
spatialset_srid,
set_round,
minus_geo_set,
geomset_in,
geogset_in,
pgis_geometry_in,
geom_in,
geometry_to_gserialized,
pgis_geography_in,
geog_in,
geography_to_gserialized,
intersection_set_set,
minus_set_set,
Expand Down Expand Up @@ -53,9 +52,9 @@ def __str__(self, max_decimals: int = 15):
A new :class:`str` instance

MEOS Functions:
geoset_out
spatialset_as_text
"""
return geoset_out(self._inner, max_decimals)
return self.as_text(max_decimals)

def as_ewkt(self, max_decimals: int = 15) -> str:
"""
Expand All @@ -68,9 +67,9 @@ def as_ewkt(self, max_decimals: int = 15) -> str:
A :class:`str` instance.

MEOS Functions:
geoset_as_ewkt
spatialset_as_ewkt
"""
return geoset_as_ewkt(self._inner, max_decimals)
return spatialset_as_ewkt(self._inner, max_decimals)

def as_wkt(self, max_decimals: int = 15):
"""
Expand All @@ -83,9 +82,9 @@ def as_wkt(self, max_decimals: int = 15):
A :class:`str` instance.

MEOS Functions:
geoset_as_text
spatialset_as_text
"""
return geoset_as_text(self._inner, max_decimals)
return spatialset_as_text(self._inner, max_decimals)

def as_text(self, max_decimals: int = 15):
"""
Expand All @@ -98,9 +97,9 @@ def as_text(self, max_decimals: int = 15):
A :class:`str` instance.

MEOS Functions:
geoset_as_text
spatialset_as_text
"""
return geoset_as_text(self._inner, max_decimals)
return spatialset_as_text(self._inner, max_decimals)

# ------------------------- Conversions -----------------------------------

Expand Down Expand Up @@ -176,9 +175,9 @@ def srid(self) -> int:
An integer

MEOS Functions:
geoset_srid
spatialset_srid
"""
return geoset_srid(self._inner)
return spatialset_srid(self._inner)

# ------------------------- Topological Operations --------------------------------

Expand Down Expand Up @@ -308,15 +307,15 @@ def round(self: Self, max_decimals: int) -> Self:
MEOS Functions:
tpoint_roundgeoset_round
"""
return self.__class__(_inner=geoset_round(self._inner, max_decimals))
return self.__class__(_inner=set_round(self._inner, max_decimals))


class GeometrySet(GeoSet):
_mobilitydb_name = "geomset"

_parse_function = geomset_in
_parse_value_function = lambda x: (
pgis_geometry_in(x, -1) if isinstance(x, str) else geometry_to_gserialized(x)
geom_in(x, -1) if isinstance(x, str) else geometry_to_gserialized(x)
)


Expand All @@ -325,5 +324,5 @@ class GeographySet(GeoSet):

_parse_function = geogset_in
_parse_value_function = lambda x: (
pgis_geography_in(x, -1) if isinstance(x, str) else geography_to_gserialized(x)
geog_in(x, -1) if isinstance(x, str) else geography_to_gserialized(x)
)
Loading