# GRDINFO multiple min/max v-values

**URL:** <https://forum.generic-mapping-tools.org/t/grdinfo-multiple-min-max-v-values/3102>\
**Category:** Q&A\
**Created:** [July 10, 2022, 1:36am UTC](https://forum.generic-mapping-tools.org/t/grdinfo-multiple-min-max-v-values/3102 "2022-07-10T01:36:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wally](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@Wally](https://forum.generic-mapping-tools.org/u/Wally)\
**Post date:** [July 10, 2022, 1:36am UTC](https://forum.generic-mapping-tools.org/t/grdinfo-multiple-min-max-v-values/3102/1 "2022-07-10T01:36:43Z")

</div>

I’m using 6.4 in modern mode. GRDINFO _ingrid_ -M reports the single min/max v-values of the grid. Is there a way of finding ‘n’ most extreme values? Specifically, I’m using a grid extracted from @earth\_relief to examine elevation data and I want to find the ten highest elevation points.

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [July 10, 2022, 1:56am UTC](https://forum.generic-mapping-tools.org/t/grdinfo-multiple-min-max-v-values/3102/2 "2022-07-10T01:56:16Z")

</div>

Hi Wally.

I think you could convert your grid to a table with grd2xyz and then sort/filter your output based on the elevation.

---

<div class="post-metadata">

**Author:** ![Wally](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@Wally](https://forum.generic-mapping-tools.org/u/Wally)\
**Post date:** [July 10, 2022, 8:00am UTC](https://forum.generic-mapping-tools.org/t/grdinfo-multiple-min-max-v-values/3102/3 "2022-07-10T08:00:20Z")

</div>

Thanks, that fits my needs perfectly. Cheers.
