Skip to content

Commit 1f7f70e

Browse files
committed
closes #10
1 parent 577f15c commit 1f7f70e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/arrow_compat.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ fn as_geoarrow_array<const N: usize>(geom_type: &str, geoms: Vec<Option<EsriGeom
184184
})
185185
.collect::<Vec<_>>();
186186

187-
let arr = geoarrow::array::MultiPointArray::<i64>::from(res);
187+
let arr = geoarrow::array::MultiPointArray::<i32>::from(res);
188188
(arr.extension_field(), arr.into_array_ref())
189189
},
190190
"esriGeometryPolyline" => {
@@ -195,7 +195,7 @@ fn as_geoarrow_array<const N: usize>(geom_type: &str, geoms: Vec<Option<EsriGeom
195195
})
196196
.collect::<Vec<_>>();
197197

198-
let arr = geoarrow::array::MultiLineStringArray::<i64>::from(res);
198+
let arr = geoarrow::array::MultiLineStringArray::<i32>::from(res);
199199
(arr.extension_field(), arr.into_array_ref())
200200
},
201201
"esriGeometryPolygon" => {
@@ -206,7 +206,7 @@ fn as_geoarrow_array<const N: usize>(geom_type: &str, geoms: Vec<Option<EsriGeom
206206
})
207207
.collect::<Vec<_>>();
208208

209-
let arr = geoarrow::array::PolygonArray::<i64>::from(res);
209+
let arr = geoarrow::array::PolygonArray::<i32>::from(res);
210210
(arr.extension_field(), arr.into_array_ref())
211211
},
212212
_ => unimplemented!()

0 commit comments

Comments
 (0)