createVideo
Creates a job to generate a sequence of raster images that visualize data over a specified time.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.createVideo
public CreateVideoResponse createVideo(String attribute, String begin, double durationSeconds, String end, double framesPerSecond, String style, String path, String styleParameters, Map<String, String> options) throws GPUdbException Creates a job to generate a sequence of raster images that visualize data over a specified time.Parameters:attribute- The animated attribute to map to the video’s frames. Must be present in the LAYERS specified for the visualization. This is often a time-related field but may be any numeric type.begin- The start point for the video. Accepts an expression evaluable over theattribute.durationSeconds- Seconds of video to produce.end- The end point for the video. Accepts an expression evaluable over theattribute.framesPerSecond- The presentation frame rate of the encoded video in frames per second.style- The name of the visualize mode; should correspond to the schema used for thestyleParametersfield. Supported values:path- Fully-qualified KiFS path. Write access is required. A file must not exist at that path, unlessREPLACE_IF_EXISTSisTRUE.styleParameters- A string containing the JSON-encoded visualize request. Must correspond to the visualize mode specified in thestylefield.options- Optional parameters.TTL: Sets the TTL of the video.WINDOW: Specified using the data-type corresponding to theattribute. For a window of size W, a video frame rendered for time t will visualize data in the interval [t-W,t]. The minimum window size is the interval between successive frames. The minimum value is the default. If a value less than the minimum value is specified, it is replaced with the minimum window size. Larger values will make changes throughout the video appear more smooth while smaller values will capture fast variations in the data.NO_ERROR_IF_EXISTS: IfTRUE, does not return an error if the video already exists. Ignored ifREPLACE_IF_EXISTSisTRUE. Supported values:The default value isFALSE.REPLACE_IF_EXISTS: IfTRUE, deletes any existing video with the same path before creating a new video. Supported values:The default value isFALSE.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.