Adds raster datasets to an AGSMosaicDatasetRaster
by setting various parameters including the use of frame and camera text files.
Mosaic datasets (via the AGSMosaicDatasetRaster
class) are used to manage, display, serve, and share raster data. When you create a new mosaic dataset, it is created as an empty container in a geodatabase to which you can add raster data. The AGSFrameCameraAddRastersParameters
object provides the mechanism to set various properties including the use of camera and frame text files so that a raster can be added to a mosaic dataset via the AGSMosaicDatasetRaster::addRastersWithParameters:completion:
method.
Some of the parameters (aka. properties) on AGSFrameCameraAddRastersParameters
class that enable adding a raster into a mosaic dataset include specifying, the file filter type (like .tif or .jpg) of the rasters that are to be included (AGSFrameCameraAddRastersParameters::filter
property), the directory location (AGSFrameCameraAddRastersParameters::inputDirectory
property) of the raster files, the minimum pixel cell size of the raster to be included (AGSFrameCameraAddRastersParameters::minPixelSizeFactor
property) and more.
Unique attributes of using the AGSFrameCameraAddRastersParameters
class rather than the parent AGSAddRastersParameters
class have to do with defining 'frame' and 'camera' text files which specify how a raster image was captured from a satellite or aircraft. The frame and camera table files refer to a single perspective imaging camera with an optical lens that can be modeled as a pinhole. To define the frame table use the AGSFrameCameraAddRastersParameters::framesFile
property, see the ArcGIS Pro document entitled 'Frames table schema' (https://pro.arcgis.com/en/pro-app/help/data/imagery/frames-table-schema.htm) for more information. To define the camera table use the AGSFrameCameraAddRastersParameters::camerasFile
property, see the ArcGIS Pro document entitled 'Cameras table schema' (https://pro.arcgis.com/en/pro-app/help/data/imagery/cameras-table-schema.htm) for more information.
- Since
- 100