OpenDroneMap / FIELDimageR

FIELDimageR: A R package to analyze orthomosaic images from agricultural field trials. This package is a compilation of functions to analyze pos-mosaicking images from research fields, and allows to: crop the image; remove soil effect; build vegetation indices; rotate the image; build the plot shapefile; extract information for each plot; and evaluate stand count, canopy percentage, and plant height.
GNU General Public License v2.0
230 stars 89 forks source link

fieldArea #58

Closed AparicioJohan closed 6 months ago

AparicioJohan commented 6 months ago

Hi dear Filipe, Happy new year!

I was trying to use the function fieldArea and noticed that the ID order of the objects don't match so the cbind does not work here. What I did was to include this (fieldShape <- arrange(fieldShape, ID)) in the function to fix it, but it guess you have a better way to do it.

imagen

Thank you for developing this amazing package! Johan

filipematias23 commented 6 months ago

Hi @AparicioJohan Johan,

Thanks for contacting us and for your feedback!

@pspawar71 Popat has been changing many functions and making them better and better...!

You can easily fix this issue by using 'field=PlotID' ... The default was 'ID', we just upload the package to use PlotID instead ID.

Could you please use 'field=PlotID' or upload your FIELDimageR version and run your code again?

Let us know if it is working better for you now!

Check fieldArea changes!

Thanks, Filipe and Popat

AparicioJohan commented 6 months ago

Hey @filipematias23 Filipe,

I understand. Thank you so much, Popat and Filipe! Now it is working!

Best Johan