Skip to main content
Solved

Convert minus z values to positive (without changing the number)

  • October 20, 2017
  • 8 replies
  • 277 views

Forum|alt.badge.img

Hello,

I'd like to be able to change, for example a -544.43 meter Z value to 544.43. The z values were generated by a bathymetric software package, so positive Z is down. I realize this is a simple multiply by -1, but I can't get it to work on a .LAS file using the "Offsetter" or coordinate tools. I suspect this should be an easy fix, so any help would be appreciated.

Best answer by takashi

Hi @jimmy, the 3DAffiner might help you.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

8 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3434 replies
  • October 20, 2017

Are your geometries just points?


takashi
Celebrity
  • 7843 replies
  • Best Answer
  • October 20, 2017

Hi @jimmy, the 3DAffiner might help you.


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2940 replies
  • October 20, 2017

Hi @jimmy, the 3DAffiner might help you.

Learned something new today!

Forum|alt.badge.img
  • Author
  • 9 replies
  • October 20, 2017

Hi Takashi,

Thanks!!! That worked perfectly. I hadn't thought of using the 3dAffiner. Exactly what I was looking for! Yes, the geometries are all points, so inputting a LAS and outputting a LAS worked. I very much appreciate the help!


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3434 replies
  • October 20, 2017

A coordinate replace should also work for point values


Forum|alt.badge.img
  • Author
  • 9 replies
  • October 20, 2017

A coordinate replace should also work for point values

This was one of the tests I did and it did not work. It's possible I was not implimenting it correcctly. Thanks!

 

 


takashi
Celebrity
  • 7843 replies
  • October 20, 2017
This was one of the tests I did and it did not work. It's possible I was not implimenting it correcctly. Thanks!

 

 

This works for point geometries, but probably your input feature has a point cloud geometry. If so, this could work once you have decomposed the point cloud into individual points with the PointCloudCoercer (Output Geometry: Individual Points). You can re-build a point cloud from the individual points with a PointCloudCombiner after replacing z-coordinate.

 


takashi
Celebrity
  • 7843 replies
  • October 20, 2017

Hi @jimmy, the 3DAffiner might help you.

The Scaler works as well.