Supply a FeatureCollection indicating where the raster is located, we ask that the features
use the same coordinate reference system as your raster data and form an outline or foot
print of the information you have available.

toFeatureCollection

Supply a FeatureCollection indicating where the raster is located, we ask that the features
use the same coordinate reference system as your raster data and form an outline or foot
print of the information you have available.

This is an interesting method for a RasterLayer to have; some of the rendering systems are
willing to render your raster content as an outline; for this to work they need this method
to supply a feature collection indicating where the content is located. The information may
also be used to determine if any of your raster content is on screen (and thus needs to be
rendered).

Note this is a feature collection to allow for raster content that contains more than one
image; and is not based bounding boxes (as sometimes rasters are rotated or stretched into
position).

You may find the FeatureUtilities useful in wrapping up your raster content.