# How to export Markups point coordinates as another coordinate system

**URL:** <https://discourse.slicer.org/t/how-to-export-markups-point-coordinates-as-another-coordinate-system/34188>\
**Category:** Support\
**Created:** [February 7, 2024, 3:03pm UTC](https://discourse.slicer.org/t/how-to-export-markups-point-coordinates-as-another-coordinate-system/34188 "2024-02-07T15:03:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quddngud0598](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/quddngud0598/32/69261_2.png) [@quddngud0598](https://discourse.slicer.org/u/quddngud0598)\
**Post date:** [February 7, 2024, 3:03pm UTC](https://discourse.slicer.org/t/how-to-export-markups-point-coordinates-as-another-coordinate-system/34188/1 "2024-02-07T15:03:30Z")

</div>

![Q](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/0/8028975b5ecfe3895a6cbe6fe221de121943bfb1.png)

When I use the Markup function in the Slicer to label a point and export the coordinates as json, the red box and coordinate value are saved.

I found that the coordinates are in the LPS coordinate system. **However, I need the coordinates of the yellow box. Can anyone tell me how to export those coordinates or how I can convert the LPS coordinates to yellow box coordinates?**

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [February 7, 2024, 4:03pm UTC](https://discourse.slicer.org/t/how-to-export-markups-point-coordinates-as-another-coordinate-system/34188/2 "2024-02-07T16:03:19Z")

</div>

This should help: [https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#get-volume-voxel-coordinates-from-markup-control-point-ras-coordinates](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#get-volume-voxel-coordinates-from-markup-control-point-ras-coordinates)
