Plot image and extract error

57 views
Skip to first unread message

Cleber Azevedo

unread,
Jul 15, 2020, 10:34:10 AM7/15/20
to FIELDimageR: A R package to analyze orthomosaic images from field trials.

Hi everybody,

I'm trying to analyze some orthomosaic images from a wheat trial and I'm having some problems with that. Has anyone had this problem and knows how to solve it?

There are some warnings messages (I'm also sharing the print screen)

I got this one when I tried to plot:
Warning messages:
1: In showSRID(uprojargs, format = "PROJ", multiline = "NO") :
  Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition
2: In showSRID(uprojargs, format = "PROJ", multiline = "NO"):

And, this one when I'm trying to extract some date:

Warning messages:
1: In proj4string(x) : CRS object has comment, which is lost in output
2: In .local(x, ...) : invalid layer names omitted
3: In showSRID(uprojargs, format = "PROJ", multiline = "NO") :
  Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition


Thank You!
FieldImageR_Error.jpg
FieldImageR_Error2.jpg

fmatias

unread,
Jul 20, 2020, 9:40:13 AM7/20/20
to FIELDimageR: A R package to analyze orthomosaic images from field trials.
Hi Cleber,

I’ve never had this warning before. It is related with the objects projections that you are using. For instance, maybe your fieldShape has WGS 84 geographic coordinates (EPSG:4326) and your images has ETRS89-extended / LAEA Europe (EPSG:3035) or WGS 84 / UTM zone 32N (EPSG:32632). They should have the same projections otherwise the objects can’t overlayer.

If I got any new information, I’ll let you know. This link talk about that: https://rpubs.com/ranghetti/sptransform-issue

Also, let me know if you figure out.
All the best,
Filipe

Cleber Azevedo

unread,
Jul 20, 2020, 10:22:27 AM7/20/20
to FIELD...@googlegroups.com
Hi Filipe,

I'll take a look at that link and try to solve this problem. I'll share with you everybody in the forum if I have any news.

Thank you!

Cleber


________________________________________________________________________________
Cleber V. G. Azevedo
Eng. Agrônomo 
(19) 99800-5102



--
You received this message because you are subscribed to the Google Groups "FIELDimageR: A R package to analyze orthomosaic images from field trials." group.
To unsubscribe from this group and stop receiving emails from it, send an email to FIELDimageR...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/FIELDimageR/a8f85c6c-25f2-4c6a-9b88-9ae97683980bo%40googlegroups.com.

Eric Wolske

unread,
Dec 8, 2020, 4:23:53 PM12/8/20
to FIELDimageR: A R package to analyze orthomosaic images from field trials.
Hi Cleber,

Did you ever get this resolved? I'm running into the same issues when rotating an imported image. 

Does anyone know how you set the working projection of the shapefile or image in FIELDimageR? I export orthomosaics from Metashape in WGS84 (EPSG:4326) so not really sure why the error function is showing.

Thanks, 

Eric

Cleber Azevedo

unread,
Dec 9, 2020, 3:19:15 AM12/9/20
to FIELDimageR: A R package to analyze orthomosaic images from field trials.
Hi Eric,

Yes, my problem was exactly the same. I also use Metashape and even exporting EPSG: 4326 the projection was incorrect. I don't know why but it is giving this problem. 
Anyway, I solved this problem by assigning the raster by QGIS, which by the way, also was not seeing the orthomosaic in EPSG: 4326 before assign.
Sorry, I forgot to post this here.

Let me know if it also works for you.

Best,

Cleber
Reply all
Reply to author
Forward
0 new messages