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

resolution and computing - EX1.Crop definition #57

Open alpine3a opened 7 months ago

alpine3a commented 7 months ago

Hey there,

as I was running the #11 resolution and computing script I received an error for the missing object EX1.Crop by simply adding "EX1.Crop<-rast("EX1_RGB_HighResolution.tif")" I received: Error in if (raster::projection(fieldShape) != raster::projection(mosaic)) { : missing value, where TRUE/FALSE is requiered

would be awesome to hear your solution / how you got your script running

(same issue turns up in chapters 12 and 13)

thanks for your help upfront

FilipeSyngenta commented 7 months ago

Did you download the image "EX1_RGB_HighResolution.tif" and have it on your folder?

alpine3a commented 7 months ago

Yes that's exactly the file I'm using and it is in the correct folder

alpine3a commented 6 months ago

Hey there, I'm still trying to understand where EX1.crop is defined before step 11. As far as I can see EX1.crop got deleted from chapter 2 during one of the last couple updates.

How are chapters 11 and following still running properly for you?

filipematias23 commented 6 months ago

@alpine3a, you are right and cropping and rotation is no necessary anymore.

We just removed that part of the code... Thanks for checking it out!

Best, Filipe