Skip to main content
Solved

Read CSV-File -> Offset & Rotate -> Writte to CSV File


Hi all

 

 

I thought I have a simple task - but I wasn't able to do it! I have a csv-list with points and would like to add an offset and rotate these points (Helmert Transformation) and write it afterwords back to a csv-file. But my transformation (rotation and offset) is ignored somehow.

 

 

Is there more to do than open the csv file, set the x/y/z_coordinate data type and the coordinate system and simply add the rotation and offseter Transformer?

 

 

It would be great if someone could give me a hint!

 

 

Thanks in advanced

Best answer by ebygomm

You will need to create the geometries from the point data in the csv before doing the offset and rotation, then extract the new coordinates to write back out to the csv file

View original
Did this help you find an answer to your question?

4 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • October 17, 2016

You will need to create the geometries from the point data in the csv before doing the offset and rotation, then extract the new coordinates to write back out to the csv file


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • October 17, 2016

sounds right to me, what does the log say?


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • October 17, 2016
ebygomm wrote:

You will need to create the geometries from the point data in the csv before doing the offset and rotation, then extract the new coordinates to write back out to the csv file

Without seeing the configuration it is hard to be sure, but my guess is that the geometry is being transformed but attributes may not be. So I think the idea of extracting the new coordinates (CoordinateExtractor) could be critical.

 

 


ebygomm wrote:

You will need to create the geometries from the point data in the csv before doing the offset and rotation, then extract the new coordinates to write back out to the csv file

This is it!

 

After I opened the csv-File I first use the VertexCreator -> do my Rotation & Offset -> Extract the "new" coordinates and write these coordinates to my output csv-File.

 

Thank you very much for the idea!

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings