Skip to content

Commit

Permalink
closes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Nov 27, 2023
1 parent 577f15c commit 1f7f70e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/arrow_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ fn as_geoarrow_array<const N: usize>(geom_type: &str, geoms: Vec<Option<EsriGeom
})
.collect::<Vec<_>>();

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

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

let arr = geoarrow::array::PolygonArray::<i64>::from(res);
let arr = geoarrow::array::PolygonArray::<i32>::from(res);
(arr.extension_field(), arr.into_array_ref())
},
_ => unimplemented!()
Expand Down

0 comments on commit 1f7f70e

Please sign in to comment.