Class FrameCameraAddRastersParameters
MosaicDatasetRaster
by setting various
parameters including the use of frame and camera text files.
Mosaic datasets (via the MosaicDatasetRaster
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 FrameCameraAddRastersParameters 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
MosaicDatasetRaster.addRastersAsync(AddRastersParameters)
method.
Some of the parameters (properties) on FrameCameraAddRastersParameters
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
(AddRastersParameters.setFilter(String)
), the directory location
(AddRastersParameters.setInputDirectory(String)
) of the raster files,
the minimum pixel cell size of the raster to be included
(AddRastersParameters.setMinPixelSizeFactor(double)
) and more.
Unique attributes of using the FrameCameraAddRastersParameters class rather
than the parent AddRastersParameters
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 refers to a
single perspective imaging camera with an optical lens that can be modeled as a
pinhole. To define the frame table use setFramesFile(String)
,
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 setCamerasFile(String)
,
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.2.0
-
Constructor Summary
ConstructorDescriptionCreates a FrameCameraAddRastersParameters instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the cameras file.Gets the frames file.boolean
Gets a boolean that indicates whether to share the raster info.void
setCamerasFile
(String camerasFile) Sets the cameras file.void
setFramesFile
(String framesFile) Sets the frames file.void
setShareRasterInfo
(boolean shareRasterInfo) Sets a boolean that indicates whether to share the raster info.Methods inherited from class com.esri.arcgisruntime.raster.AddRastersParameters
getFilter, getInputDirectory, getInputFile, getMaxPixelSizeFactor, getMinPixelSizeFactor, getRasterFunctionTemplateFile, setFilter, setInputDirectory, setInputFile, setMaxPixelSizeFactor, setMinPixelSizeFactor, setRasterFunctionTemplateFile
-
Constructor Details
-
FrameCameraAddRastersParameters
public FrameCameraAddRastersParameters()Creates a FrameCameraAddRastersParameters instance.- Since:
- 100.2.0
-
-
Method Details
-
getCamerasFile
Gets the cameras file.- Returns:
- the cameras file
- Since:
- 100.2.0
-
setCamerasFile
Sets the cameras file.- Parameters:
camerasFile
- the cameras file- Since:
- 100.2.0
-
getFramesFile
Gets the frames file.- Returns:
- the frames file
- Since:
- 100.2.0
-
setFramesFile
Sets the frames file.- Parameters:
framesFile
- the frames file- Since:
- 100.2.0
-