Skip to main content
Solved

Choosing minimum and maximum points


Hello everyone,

I have probably really easy question, yet I struggle to find a anwser I need online. I'm working on a large set of points (about 18k), and I need to find and use in further work points with minimum and maximum X coordinate value.

I have used Coordinate Extractor to have and easy access to X values, then tried to use Statistic Calucator to find min and max, then use Tester, however it didn't work for me.

Is there any other way to do this quite easy?

Best answer by jdh

@david_r's answer will work, or alternatively use a BoundsExtractor after the BoundingBoxAccumulator.

If you would like to preserver the individual points while still obtaining the min/max values, use an aggregator, boundsExtractor, and then a deaggregator.

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

4 replies

david_r
Celebrity
  • May 9, 2017

Try the BoundingBoxAccumulator, you can then use the CoordinateExtractor on the resulting polygon.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • May 9, 2017

@david_r's answer will work, or alternatively use a BoundsExtractor after the BoundingBoxAccumulator.

If you would like to preserver the individual points while still obtaining the min/max values, use an aggregator, boundsExtractor, and then a deaggregator.


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • May 9, 2017

you can also use a sorter + sampler after the extractor to select the point with max and by sorting the other way around the min values.


  • Author
  • May 9, 2017

@david_r @jdh @itay

 

Thank you guys so much! All anwsers are more than great, everything is working now

 


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