Open gilbertocamara opened 4 years ago
Thanks @gilbertocamara, viewRGB
currently only supports Raster*
objects (even if the help says otherwise). My plan is to revamp mapview internally to only use stars
functionality, so it will be supported in the future. I am not sure how long this will take me, as I am trying to leverage a new raster display js lib (which is currently already used for displaying single layer stars objects). This will require careful design of the API to allow passing of js functions which will then be used to do the calculations on the fly in the browser. The rgb functionality is a prime candidate for developing this as it is a clearly defined functionality. So bare with me, I'll try to get to it soon.
Dear Tim
Many thanks for your quick response.
Best Gilberto
=========================== Prof Dr Gilberto Camara Secretariat Director GEO - Group on Earth Observations 7 bis, Avenue de La Paix CH-1211 Geneva - Switzerland Tel: +41227308480 Web: www.earthobservations.org
On 23 Aug 2020, at 11:22, tim-salabim notifications@github.com wrote:
Thanks @gilbertocamara https://github.com/gilbertocamara, viewRGB currently only supports Raster* objects (even if the help says otherwise). My plan is to revamp mapview internally to only use stars functionality, so it will be supported in the future. I am not sure how long this will take me, as I am trying to leverage a new raster display js lib (which is currently already used for displaying single layer stars objects). This will require careful design of the API to allow passing of js functions which will then be used to do the calculations on the fly in the browser. The rgb functionality is a prime candidate for developing this as it is a clearly defined functionality. So bare with me, I'll try to get to it soon.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/r-spatial/mapview/issues/322#issuecomment-678750683, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOHEDNRLSLEPA2FKHL6CKLSCDNUZANCNFSM4QIRTNMQ.
I've just updated the documentation for viewRGB
to reflect that it only works for Raster* objects.
Making some progess at https://github.com/r-spatial/leafem/issues/25#issuecomment-678760949
We need to address this first in leafem before wrapping it here in mapview. So testing the leafem::
functions would be a great way to help and provide feedback
Dear Tim: I am having problems when trying to use the "viewRGB" function with a "stars" object. Please see the script below (MWE):