# How to save point coordinates in csv after doing Resample to Image?

**URL:** https://discourse.paraview.org/t/how-to-save-point-coordinates-in-csv-after-doing-resample-to-image/15479
**Category:** ParaView Support
**Tags:** vtk
**Created:** [October 1, 2024, 2:50pm UTC](https://discourse.paraview.org/t/how-to-save-point-coordinates-in-csv-after-doing-resample-to-image/15479 "2024-10-01T14:50:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sromeo40](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/a183cd/32.png) [@sromeo40](https://discourse.paraview.org/u/sromeo40)
#### Post date: [October 1, 2024, 2:50pm UTC](https://discourse.paraview.org/t/how-to-save-point-coordinates-in-csv-after-doing-resample-to-image/15479/1 "2024-10-01T14:50:50Z")

</div>

Hi,

I have my simulation data (i.e., pressure data) in 2D slices over time (.vtk files). I loaded my data in Paraview and reduced the domain as necessary. As my grid was unstructured and I needed a uniform grid, I used Resample to Image. However, once I saved my data in .csv, it just saved the time and pressure. I need to save the point0 (x) and point1 (y). Is there any way to do it? Please let me know.  
For example, this is what it is currently saving.  
 ![Screenshot 2024-10-01 085249](https://discourse.paraview.org/uploads/default/original/2X/f/f2a70ff1dc7cb5db1dbce6e5c75327a836483fdb.png)  
but I need to save it like this  
 ![Screenshot 2024-10-01 085329](https://discourse.paraview.org/uploads/default/original/2X/0/0be470ea263e375f645cc6ce8253bef819f79db9.png)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 1, 2024, 2:57pm UTC](https://discourse.paraview.org/t/how-to-save-point-coordinates-in-csv-after-doing-resample-to-image/15479/2 "2024-10-01T14:57:35Z")

</div>

point coordinates are implicit with an image data, this is why they are not saved, if you want to save them you can generate them first using a calculator.

---

<div class="post-metadata">

### Author: ![sromeo40](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/a183cd/32.png) [@sromeo40](https://discourse.paraview.org/u/sromeo40)
#### Post date: [October 1, 2024, 5:08pm UTC](https://discourse.paraview.org/t/how-to-save-point-coordinates-in-csv-after-doing-resample-to-image/15479/4 "2024-10-01T17:08:14Z")

</div>

It worked. Thank you.
