Skip to content

Commit 293faff

Browse files
authored
[GH-2456] chore(geopandas): remove 'IMPLEMENTATION_STATUS' global variables (#2464)
1 parent 5711a13 commit 293faff

File tree

2 files changed

+2
-163
lines changed

2 files changed

+2
-163
lines changed

python/sedona/spark/geopandas/geodataframe.py

Lines changed: 1 addition & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -45,73 +45,6 @@
4545
# IMPLEMENTATION STATUS TRACKING
4646
# ============================================================================
4747

48-
IMPLEMENTATION_STATUS = {
49-
"IMPLEMENTED": [
50-
"area",
51-
"buffer",
52-
"crs",
53-
"geometry",
54-
"active_geometry_name",
55-
"sindex",
56-
"rename_geometry",
57-
"copy",
58-
"sjoin",
59-
"to_parquet",
60-
],
61-
"NOT_IMPLEMENTED": [
62-
"to_geopandas",
63-
"_to_geopandas",
64-
"geom_type",
65-
"type",
66-
"length",
67-
"is_valid",
68-
"is_valid_reason",
69-
"is_empty",
70-
"is_simple",
71-
"is_ring",
72-
"is_ccw",
73-
"is_closed",
74-
"has_z",
75-
"boundary",
76-
"centroid",
77-
"convex_hull",
78-
"envelope",
79-
"exterior",
80-
"interiors",
81-
"unary_union",
82-
"count_coordinates",
83-
"count_geometries",
84-
"count_interior_rings",
85-
"get_precision",
86-
"get_geometry",
87-
"concave_hull",
88-
"delaunay_triangles",
89-
"voronoi_polygons",
90-
"minimum_rotated_rectangle",
91-
"extract_unique_points",
92-
"offset_curve",
93-
"remove_repeated_points",
94-
"set_precision",
95-
"representative_point",
96-
"minimum_bounding_circle",
97-
"minimum_bounding_radius",
98-
"minimum_clearance",
99-
"normalize",
100-
"make_valid",
101-
"reverse",
102-
"segmentize",
103-
"transform",
104-
"force_2d",
105-
"force_3d",
106-
"line_merge",
107-
"union_all",
108-
"intersection_all",
109-
"contains",
110-
"contains_properly",
111-
],
112-
"PARTIALLY_IMPLEMENTED": ["set_geometry"], # Only drop=True case is not implemented
113-
}
114-
11548
IMPLEMENTATION_PRIORITY = {
11649
"HIGH": [
11750
"to_geopandas",
@@ -254,7 +187,7 @@ class GeoDataFrame(GeoFrame, pspd.DataFrame):
254187
- Uses Spark for distributed processing
255188
- Geometries are stored in WKB (Well-Known Binary) format internally
256189
- Some methods may have different performance characteristics
257-
- Not all GeoPandas methods are implemented yet (see IMPLEMENTATION_STATUS)
190+
- Not all GeoPandas methods are implemented yet (see Sedona GeoPandas docs).
258191
259192
Performance Considerations:
260193
- Operations are distributed across Spark cluster

python/sedona/spark/geopandas/geoseries.py

Lines changed: 1 addition & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -60,100 +60,6 @@
6060
# IMPLEMENTATION STATUS TRACKING
6161
# ============================================================================
6262

63-
IMPLEMENTATION_STATUS = {
64-
"IMPLEMENTED": [
65-
"area",
66-
"buffer",
67-
"bounds",
68-
"centroid",
69-
"contains",
70-
"crs",
71-
"distance",
72-
"envelope",
73-
"geometry",
74-
"intersection",
75-
"intersects",
76-
"is_empty",
77-
"is_simple",
78-
"is_valid",
79-
"is_valid_reason",
80-
"length",
81-
"make_valid",
82-
"relate",
83-
"set_crs",
84-
"to_crs",
85-
"to_geopandas",
86-
"to_wkb",
87-
"to_wkt",
88-
"x",
89-
"y",
90-
"z",
91-
"has_z",
92-
"get_geometry",
93-
"boundary",
94-
"total_bounds",
95-
"estimate_utm_crs",
96-
"isna",
97-
"isnull",
98-
"notna",
99-
"notnull",
100-
"from_xy",
101-
"copy",
102-
"geom_type",
103-
"sindex",
104-
],
105-
"NOT_IMPLEMENTED": [
106-
"clip",
107-
"contains_properly",
108-
"convex_hull",
109-
"count_coordinates",
110-
"count_geometries",
111-
"count_interior_rings",
112-
"explode",
113-
"force_2d",
114-
"force_3d",
115-
"from_file",
116-
"from_shapely",
117-
"from_arrow",
118-
"line_merge",
119-
"reverse",
120-
"segmentize",
121-
"to_json",
122-
"to_arrow",
123-
"to_file",
124-
"transform",
125-
"unary_union",
126-
"union_all",
127-
"intersection_all",
128-
"type",
129-
"is_ring",
130-
"is_ccw",
131-
"is_closed",
132-
"get_precision",
133-
"concave_hull",
134-
"delaunay_triangles",
135-
"voronoi_polygons",
136-
"minimum_rotated_rectangle",
137-
"exterior",
138-
"extract_unique_points",
139-
"offset_curve",
140-
"interiors",
141-
"remove_repeated_points",
142-
"set_precision",
143-
"representative_point",
144-
"minimum_bounding_circle",
145-
"minimum_bounding_radius",
146-
"minimum_clearance",
147-
"normalize",
148-
"m",
149-
],
150-
"PARTIALLY_IMPLEMENTED": [
151-
"fillna", # Limited parameter support (no 'limit' parameter)
152-
"from_wkb",
153-
"from_wkt", # Limited error handling options (only 'raise' supported)
154-
],
155-
}
156-
15763
IMPLEMENTATION_PRIORITY = {
15864
"HIGH": [
15965
"contains",
@@ -281,7 +187,7 @@ class GeoSeries(GeoFrame, pspd.Series):
281187
- Uses Spark for distributed processing
282188
- Geometries are stored in WKB (Well-Known Binary) format internally
283189
- Some methods may have different performance characteristics
284-
- Not all GeoPandas methods are implemented yet (see IMPLEMENTATION_STATUS)
190+
- Not all GeoPandas methods are implemented yet (see Sedona GeoPandas docs).
285191
286192
Performance Considerations:
287193
- Operations are distributed across Spark cluster

0 commit comments

Comments
 (0)