Kontinuation commented on code in PR #590:
URL: https://github.com/apache/sedona-db/pull/590#discussion_r2803295853
##########
rust/sedona-schema/src/crs.rs:
##########
@@ -101,6 +108,55 @@ pub fn deserialize_crs_from_obj(crs_value:
&serde_json::Value) -> Result<Crs> {
Ok(Some(Arc::new(projjson)))
}
+/// Translating CRS into integer SRID with a cache to avoid expensive CRS
deserialization.
+pub struct CachedCrsToSRIDMapping {
+ cache: HashMap<Cow<'static, str>, u32>,
+}
Review Comment:
I'll handle it when implementing RS_SetSRID and RS_SetCRS.
--
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]