yutannihilation commented on code in PR #620:
URL: https://github.com/apache/sedona-db/pull/620#discussion_r2808239985


##########
rust/sedona-geometry/src/transform.rs:
##########
@@ -458,7 +458,8 @@ where
     match input_dims {
         // If the input doesn't have M coordinate, fill with 0.
         Dimensions::Xy | Dimensions::Xyz | Dimensions::Unknown(_) => 
(coord.x(), coord.y(), 0.0),
-        Dimensions::Xym | Dimensions::Xyzm => (coord.x(), coord.y(), 
coord.nth_or_panic(2)),
+        Dimensions::Xym => (coord.x(), coord.y(), coord.nth_or_panic(2)),
+        Dimensions::Xyzm => (coord.x(), coord.y(), coord.nth_or_panic(3)),

Review Comment:
   I noticed this logic added in #619 was wrong. Fixed now.



-- 
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]

Reply via email to