REDcatch / Volume_calculation_for_QGIS3

GNU General Public License v3.0
8 stars 7 forks source link

Please increase the precision #2

Closed Spartacus1 closed 1 year ago

Spartacus1 commented 3 years ago

The plugin works great but it's ineffective for low volumes, for instance sub-cubic meter ones. The values are rounded to 0 if the value is too low. This makes it unusable for vegetation volume in small terrains, small archeological sites, etc. How can we modify the code to get, for instance, 0.0383 m3? Best Regards

I've edited the python code to round values to 4. Worked as expected.

REDcatch commented 3 years ago

Hi,

we never thought of such small volumes to calculate. The tool was designed for drone and lidar datasets. But we will discuss this, maybe an "option" to tick in upcoming versions.

Thanks for your feedback!

regards, Hans

On 13/06/2021 15:06, Spartacus1 wrote:

The plugin works great but it's ineffective for low volumes, for instance sub-cubic meter ones. The values are rounded to 0 if the value is too low. This makes it unusable for vegetation volume in small terrains, small archeological sites, etc. How can we modify the code to get, for instance, 0.0383 m3? Best Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/REDcatch/Volume_calculation_for_QGIS3/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARDPUMUHAOSR6OZLYPESUNLTSSUNNANCNFSM46TXQ2SA.

-- SmartphoneRTK REDcatch

SmartphoneRTK - 2 cm accuracy on your Android phone! https://www.redcatch.at/smartphonertk/ https://www.redcatch.at/smartphonertk/

--

REDcatch GmbH - Pointcloud Engineering phone: +43 5225 20203 | mail: @.** | web: www.REDcatch.at Facebook: www.facebook.com/REDcatch4D | Sketchfab: www.sketchfab.com/REDcatch | Vimeo: www.vimeo.com/REDcatch | Youtube* https://www.youtube.com/REDcatchGmbH

Spartacus1 commented 3 years ago

No Problem Hans. Thank you so much for the reply. I’ve ended up editing the code. However it would be great to provide a field to define the precision. I’m using Lidar and UAV datasets but, sometimes, I capture data at very low height (about 10 to 20 meters). This kind of low altitude work is mainly in archeology and also in experiments with controlled fires to prevent forest fires. In this last case, I’m using the plugin to calculate the volume of small patches of vegetation which, sometimes, are well below 1 m3. I was using Agisoft Metashape and Global Mapper for these kind of calculations and it was a pleasant surprise to discover your plugin. It´s very practical because it has the same accuracy as the first tools and spare lots of time because we don’t have to be converting and transferring data outside of QGIS to get the calculations done and made available as attributes. I’ve discovered it by accident a few days ago while browsing new plugins. Since I’m also a RedToolbox PPK client the RedCatch logo caught my attention. Cheers

-- Renato Henriques Department of Earth Sciences Campus de Gualtar University of Minho 4710-057, Braga - Portugal Tel +351 253604039 @.*** www.uminho.pt

On Jun 16, 2021, at 22:05, REDcatch @.***> wrote:

Hi,

we never thought of such small volumes to calculate. The tool was designed for drone and lidar datasets. But we will discuss this, maybe an "option" to tick in upcoming versions.

Thanks for your feedback!

regards, Hans

On 13/06/2021 15:06, Spartacus1 wrote:

The plugin works great but it's ineffective for low volumes, for instance sub-cubic meter ones. The values are rounded to 0 if the value is too low. This makes it unusable for vegetation volume in small terrains, small archeological sites, etc. How can we modify the code to get, for instance, 0.0383 m3? Best Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/REDcatch/Volume_calculation_for_QGIS3/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARDPUMUHAOSR6OZLYPESUNLTSSUNNANCNFSM46TXQ2SA.

-- SmartphoneRTK REDcatch

SmartphoneRTK - 2 cm accuracy on your Android phone! https://www.redcatch.at/smartphonertk/ https://www.redcatch.at/smartphonertk/

--

REDcatch GmbH - Pointcloud Engineering phone: +43 5225 20203 | mail: @.** | web: www.REDcatch.at Facebook: www.facebook.com/REDcatch4D | Sketchfab: www.sketchfab.com/REDcatch | Vimeo: www.vimeo.com/REDcatch | Youtube* https://www.youtube.com/REDcatchGmbH

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/REDcatch/Volume_calculation_for_QGIS3/issues/2#issuecomment-862726116, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNLBQTWOQ44IHVDPT6JTC3TTEGZLANCNFSM46TXQ2SA.

distbug commented 3 years ago

Added option in 8bb58c47d0dc24f621e1536ddb9fa93869b06b0b

Spartacus1 commented 3 years ago

Tested version 0.3. Absolutely perfect considering the decimal places!