paleolimbot commented on code in PR #8222:
URL: https://github.com/apache/arrow-rs/pull/8222#discussion_r2299625911
##########
arrow-schema/src/extension/canonical/geometry.rs:
##########
@@ -0,0 +1,136 @@
+use crate::extension::ExtensionType;
+use crate::ArrowError;
+
+/// Geospatial features in the WKB format with linear/planar edges
interpolation
+#[derive(Debug, Default, Clone, PartialEq, Eq, Hash)]
+pub struct Geometry {
+ crs: Option<String>,
Review Comment:
From the Parquet end, the CRS is never absent (or: if omitted, we know it's
lon/lat). From the GeoArrow end, an omitted CRS means "the producer does not
know", the verbage of which comes from GeoParquet and basically follows what a
CRS of `None` is in GeoPandas. All to say that I think this part is correct
(but you're right that it's annoying to handle for everybody).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]