Skip to main content
Solved

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

  • October 20, 2017
  • 8 replies
  • 200 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.

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

8 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • October 20, 2017

Are your geometries just points?


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • October 20, 2017

Hi @jimmy, the 3DAffiner might help you.


nielsgerrits
VIP
takashi wrote:

Hi @jimmy, the 3DAffiner might help you.

Learned something new today!

Forum|alt.badge.img
  • Author
  • 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+31
  • Influencer
  • October 20, 2017

A coordinate replace should also work for point values


Forum|alt.badge.img
  • Author
  • October 20, 2017
ebygomm wrote:

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
Contributor
Forum|alt.badge.img+19
  • Contributor
  • October 20, 2017
jimmy wrote:
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
Contributor
Forum|alt.badge.img+19
  • Contributor
  • October 20, 2017
takashi wrote:

Hi @jimmy, the 3DAffiner might help you.

The Scaler works as well.

 


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