Skip to content

Commit 6b187c3

Browse files
gforsythcpcloud
authored andcommitted
chore(api): remove top-level geo functions
BREAKING CHANGE: All `ibis.geo_*` functions are removed. Equivalent methods are available on all geo columns.
1 parent 886b2d1 commit 6b187c3

File tree

1 file changed

+0
-105
lines changed

1 file changed

+0
-105
lines changed

ibis/expr/api.py

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -81,58 +81,6 @@
8181
"dtype",
8282
"e",
8383
"following",
84-
"geo_area",
85-
"geo_as_binary",
86-
"geo_as_ewkb",
87-
"geo_as_ewkt",
88-
"geo_as_text",
89-
"geo_azimuth",
90-
"geo_buffer",
91-
"geo_centroid",
92-
"geo_contains",
93-
"geo_contains_properly",
94-
"geo_covered_by",
95-
"geo_covers",
96-
"geo_crosses",
97-
"geo_d_fully_within",
98-
"geo_d_within",
99-
"geo_difference",
100-
"geo_disjoint",
101-
"geo_distance",
102-
"geo_end_point",
103-
"geo_envelope",
104-
"geo_equals",
105-
"geo_geometry_n",
106-
"geo_geometry_type",
107-
"geo_intersection",
108-
"geo_intersects",
109-
"geo_is_valid",
110-
"geo_length",
111-
"geo_line_locate_point",
112-
"geo_line_merge",
113-
"geo_line_substring",
114-
"geo_max_distance",
115-
"geo_n_points",
116-
"geo_n_rings",
117-
"geo_ordering_equals",
118-
"geo_overlaps",
119-
"geo_perimeter",
120-
"geo_point",
121-
"geo_point_n",
122-
"geo_simplify",
123-
"geo_srid",
124-
"geo_start_point",
125-
"geo_touches",
126-
"geo_transform",
127-
"geo_unary_union",
128-
"geo_union",
129-
"geo_within",
130-
"geo_x",
131-
"geo_x_max",
132-
"geo_x_min",
133-
"geo_y",
134-
"geo_y_max",
135-
"geo_y_min",
13684
"get_backend",
13785
"greatest",
13886
"ifelse",
@@ -2260,59 +2208,6 @@ def wrapper(self, *args, **kwargs):
22602208
return dec(wrapper)
22612209

22622210

2263-
geo_area = _wrap_deprecated(ir.GeoSpatialValue.area, "geo_")
2264-
geo_as_binary = _wrap_deprecated(ir.GeoSpatialValue.as_binary, "geo_")
2265-
geo_as_ewkb = _wrap_deprecated(ir.GeoSpatialValue.as_ewkb, "geo_")
2266-
geo_as_ewkt = _wrap_deprecated(ir.GeoSpatialValue.as_ewkt, "geo_")
2267-
geo_as_text = _wrap_deprecated(ir.GeoSpatialValue.as_text, "geo_")
2268-
geo_azimuth = _wrap_deprecated(ir.GeoSpatialValue.azimuth, "geo_")
2269-
geo_buffer = _wrap_deprecated(ir.GeoSpatialValue.buffer, "geo_")
2270-
geo_centroid = _wrap_deprecated(ir.GeoSpatialValue.centroid, "geo_")
2271-
geo_contains = _wrap_deprecated(ir.GeoSpatialValue.contains, "geo_")
2272-
geo_contains_properly = _wrap_deprecated(ir.GeoSpatialValue.contains_properly, "geo_")
2273-
geo_covers = _wrap_deprecated(ir.GeoSpatialValue.covers, "geo_")
2274-
geo_covered_by = _wrap_deprecated(ir.GeoSpatialValue.covered_by, "geo_")
2275-
geo_crosses = _wrap_deprecated(ir.GeoSpatialValue.crosses, "geo_")
2276-
geo_d_fully_within = _wrap_deprecated(ir.GeoSpatialValue.d_fully_within, "geo_")
2277-
geo_difference = _wrap_deprecated(ir.GeoSpatialValue.difference, "geo_")
2278-
geo_disjoint = _wrap_deprecated(ir.GeoSpatialValue.disjoint, "geo_")
2279-
geo_distance = _wrap_deprecated(ir.GeoSpatialValue.distance, "geo_")
2280-
geo_d_within = _wrap_deprecated(ir.GeoSpatialValue.d_within, "geo_")
2281-
geo_end_point = _wrap_deprecated(ir.GeoSpatialValue.end_point, "geo_")
2282-
geo_envelope = _wrap_deprecated(ir.GeoSpatialValue.envelope, "geo_")
2283-
geo_equals = _wrap_deprecated(ir.GeoSpatialValue.geo_equals, "geo_")
2284-
geo_geometry_n = _wrap_deprecated(ir.GeoSpatialValue.geometry_n, "geo_")
2285-
geo_geometry_type = _wrap_deprecated(ir.GeoSpatialValue.geometry_type, "geo_")
2286-
geo_intersection = _wrap_deprecated(ir.GeoSpatialValue.intersection, "geo_")
2287-
geo_intersects = _wrap_deprecated(ir.GeoSpatialValue.intersects, "geo_")
2288-
geo_is_valid = _wrap_deprecated(ir.GeoSpatialValue.is_valid, "geo_")
2289-
geo_line_locate_point = _wrap_deprecated(ir.GeoSpatialValue.line_locate_point, "geo_")
2290-
geo_line_merge = _wrap_deprecated(ir.GeoSpatialValue.line_merge, "geo_")
2291-
geo_line_substring = _wrap_deprecated(ir.GeoSpatialValue.line_substring, "geo_")
2292-
geo_length = _wrap_deprecated(ir.GeoSpatialValue.length, "geo_")
2293-
geo_max_distance = _wrap_deprecated(ir.GeoSpatialValue.max_distance, "geo_")
2294-
geo_n_points = _wrap_deprecated(ir.GeoSpatialValue.n_points, "geo_")
2295-
geo_n_rings = _wrap_deprecated(ir.GeoSpatialValue.n_rings, "geo_")
2296-
geo_ordering_equals = _wrap_deprecated(ir.GeoSpatialValue.ordering_equals, "geo_")
2297-
geo_overlaps = _wrap_deprecated(ir.GeoSpatialValue.overlaps, "geo_")
2298-
geo_perimeter = _wrap_deprecated(ir.GeoSpatialValue.perimeter, "geo_")
2299-
geo_point = _wrap_deprecated(ir.NumericValue.point, "geo_")
2300-
geo_point_n = _wrap_deprecated(ir.GeoSpatialValue.point_n, "geo_")
2301-
geo_set_srid = _wrap_deprecated(ir.GeoSpatialValue.set_srid, "geo_")
2302-
geo_simplify = _wrap_deprecated(ir.GeoSpatialValue.simplify, "geo_")
2303-
geo_srid = _wrap_deprecated(ir.GeoSpatialValue.srid, "geo_")
2304-
geo_start_point = _wrap_deprecated(ir.GeoSpatialValue.start_point, "geo_")
2305-
geo_touches = _wrap_deprecated(ir.GeoSpatialValue.touches, "geo_")
2306-
geo_transform = _wrap_deprecated(ir.GeoSpatialValue.transform, "geo_")
2307-
geo_union = _wrap_deprecated(ir.GeoSpatialValue.union, "geo_")
2308-
geo_within = _wrap_deprecated(ir.GeoSpatialValue.within, "geo_")
2309-
geo_x = _wrap_deprecated(ir.GeoSpatialValue.x, "geo_")
2310-
geo_x_max = _wrap_deprecated(ir.GeoSpatialValue.x_max, "geo_")
2311-
geo_x_min = _wrap_deprecated(ir.GeoSpatialValue.x_min, "geo_")
2312-
geo_y = _wrap_deprecated(ir.GeoSpatialValue.y, "geo_")
2313-
geo_y_max = _wrap_deprecated(ir.GeoSpatialValue.y_max, "geo_")
2314-
geo_y_min = _wrap_deprecated(ir.GeoSpatialValue.y_min, "geo_")
2315-
geo_unary_union = _wrap_deprecated(ir.GeoSpatialColumn.unary_union, "geo_")
23162211
negate = _wrap_deprecated(ir.NumericValue.negate)
23172212

23182213

0 commit comments

Comments
 (0)