Shapefile plot number assigning error

50 views
Skip to first unread message

Prabhath Lokuruge

unread,
Dec 4, 2023, 11:46:06 AM12/4/23
to FIELDimageR: A R package to analyze orthomosaic images from field trials.
Dear Filipe,
I am analyzing a large trial with 19 treatments and 4 replications. Due to the substantial size of the TIF file, I am conducting separate analyses for each replication. However, I am encountering an issue with creating the shape file (EX1.shape in the standard script). I generated a data table file with plot and row numbers in numerical order (1 to 19), with a range of 1 assigned to all 19 plots (also set decreasing=F). Using the provided script with ncols=19 and nrows=1, I created the shape file. However, it assigns plot numbers in a peculiar manner, i.e., instead of 1 to 19 in numerical order, it gives 1, 12, 13, 14, 15, 16, 17, 18, 19, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. Is there a solution for this issue?
Kind regards,
Prabhath

fmatias

unread,
Dec 5, 2023, 6:30:54 AM12/5/23
to FIELDimageR: A R package to analyze orthomosaic images from field trials.

Hi Prabhath,

 

Thanks for asking ... the function fieldMap() is used to help making the field grid map as it is in the image (please, use fieldView). It generates a matrix with each plot position considering North and South!

 

You also can make your matrix by hand or import from an .csv or .xls file. The only requirement is to be exactly the position that you are seeing on fieldView.

 

More information: https://github.com/filipematias23/FIELDimageR.Extra#p3

 

Hope it helps,

Filipe

Prabhath Lokuruge

unread,
Dec 5, 2023, 1:57:22 PM12/5/23
to FIELDimageR: A R package to analyze orthomosaic images from field trials.
Make sense. Thank you Filipe!
Reply all
Reply to author
Forward
0 new messages