@@ -75,7 +75,7 @@ async def test_parquet_dataset():
7575
7676def test_write_wkb ():
7777 geoms = shapely .points ([1 , 2 , 3 ], [4 , 5 , 6 ])
78- arr = GeoArray . from_arrow (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
78+ arr = GeoArray (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
7979 table = Table .from_arrays ([arr ], names = ["geometry" ])
8080 with GeoParquetWriter ("points.parquet" , table .schema ) as writer :
8181 writer .write_table (table )
@@ -96,7 +96,7 @@ def test_write_wkb():
9696
9797def test_write_wkb_covering ():
9898 geoms = shapely .points ([1 , 2 , 3 ], [4 , 5 , 6 ])
99- arr = GeoArray . from_arrow (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
99+ arr = GeoArray (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
100100 table = Table .from_arrays ([arr ], names = ["geometry" ])
101101 with GeoParquetWriter (
102102 "points.parquet" , table .schema , generate_covering = True
@@ -143,7 +143,7 @@ def test_write_wkb_covering():
143143
144144def test_write_geoarrow ():
145145 geoms = shapely .points ([1 , 2 , 3 ], [4 , 5 , 6 ])
146- arr = GeoArray . from_arrow (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
146+ arr = GeoArray (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
147147 table = Table .from_arrays ([arr ], names = ["geometry" ])
148148 with GeoParquetWriter (
149149 "points.parquet" , table .schema , encoding = "geoarrow"
@@ -170,7 +170,7 @@ def test_write_geoarrow():
170170
171171def test_write_geoarrow_xyz ():
172172 geoms = shapely .points ([1 , 2 , 3 ], [4 , 5 , 6 ], [7 , 8 , 9 ])
173- arr = GeoArray . from_arrow (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
173+ arr = GeoArray (gpd .GeoSeries (geoms ).to_arrow ("geoarrow" ))
174174 table = Table .from_arrays ([arr ], names = ["geometry" ])
175175 with GeoParquetWriter (
176176 "points.parquet" , table .schema , encoding = "geoarrow"
@@ -203,7 +203,7 @@ def test_write_crs():
203203 geoms = shapely .points ([1 , 2 , 3 ], [4 , 5 , 6 ])
204204 crs = CRS .from_user_input ("EPSG:4326" )
205205 series = gpd .GeoSeries (geoms , crs = crs )
206- arr = GeoArray . from_arrow (series .to_arrow ("geoarrow" ))
206+ arr = GeoArray (series .to_arrow ("geoarrow" ))
207207 table = Table .from_arrays ([arr ], names = ["geometry" ])
208208 with GeoParquetWriter ("points.parquet" , table .schema ) as writer :
209209 writer .write_table (table )
0 commit comments