Added a flag for users to indicate if the ROI provided is geospatial or not. If not, the function determines if the ROI provided is geospatial if a CRS is provided in the ROI. For mesh coordinates, image locations were derived from camera locations / the camera_to_world transformation matrix instead of lon_lat information. Also added support for shapely.geometry.Polygon and shapely.geometry.Multipolygon; these ROIs are loaded into a geodataframe and operated on as usual.
Added a flag for users to indicate if the ROI provided is geospatial or not. If not, the function determines if the ROI provided is geospatial if a CRS is provided in the ROI. For mesh coordinates, image locations were derived from camera locations / the camera_to_world transformation matrix instead of lon_lat information. Also added support for shapely.geometry.Polygon and shapely.geometry.Multipolygon; these ROIs are loaded into a geodataframe and operated on as usual.