Compresses point cloud data stored in Object Storage Service (OSS) to reduce network data transmission.
Operation description
-
Before you use this operation, make sure that you are familiar with the billing of Intelligent Media Management (IMM). For more information, see Billing.
Important Asynchronous tasks do not guarantee timeliness. -
File format limit: Only point cloud files in PCD format are supported.
-
This is an asynchronous operation. After the task starts, task information is retained for only 7 days. After 7 days, the task information can no longer be retrieved. Call the GetTask or ListTasks operation to obtain the returned
TaskIdand view the task information. You can also configure the Notification parameter to receive task information through message notifications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:CreateCompressPointCloudTask |
create |
*Project
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name. For information about how to obtain the project name, see Create a project. |
test-project |
| SourceURI |
string |
Yes |
The OSS URI of the point cloud file. The OSS URI follows the format oss://${Bucket}/${Object}, where |
oss://test/src/test.pcd |
| TargetURI |
string |
Yes |
The OSS URI of the compressed output file. The OSS URI follows the format oss://${Bucket}/${Object}, where |
oss://test/tgt |
| PointCloudFileFormat |
string |
No |
The point cloud file format. Only PCD format is supported. Default value: pcd. Valid values:
|
pcd |
| CompressMethod |
string |
Yes |
The compression algorithm. Valid values:
Valid values:
|
octree |
| PointCloudFields |
array |
Yes |
The PCD attribute fields that participate in compression and the compression order. After compression, data is decompressed in this order.
|
|
|
string |
No |
The PCD attribute field value that participates in compression. Valid values:
|
["xyz"] |
|
| KdtreeOption | KdtreeOption |
No |
The K-d tree compression parameters. |
|
| OctreeOption | OctreeOption |
No |
The octree compression parameters. |
|
| UserData |
string |
No |
The custom information, which is returned in asynchronous message notifications to help you associate message notifications within your system. Maximum length: 2,048 bytes. |
{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"} |
| Tags |
object |
No |
The custom tags that are used to search for and filter asynchronous tasks. |
{"LabelKey": "Value"} |
| CredentialConfig | CredentialConfig |
No |
Leave this parameter empty unless you have special requirements. The China authorization configuration. This parameter is optional. For more information, see Use chained authorization to access resources of other entities. |
|
| Notification | Notification |
No |
The message notification configuration. For more information, click Notification. For information about the format of asynchronous notification messages, see Asynchronous notification message format. Note
Intelligent Media Management does not support specifying a callback URL for API call callbacks. Use Message Service (MNS) instead. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
CA995EFD-083D-4F40-BE8A-BDF75FFF**** |
| TaskId |
string |
The task ID. |
PointCloudCompress-badda57d-a3ab-4e6d-938f-49b77ce**** |
| EventId |
string |
The event ID. |
0B7-1LR4Wcue1aBhk2xT85MfL***** |
Examples
Success response
JSON format
{
"RequestId": "CA995EFD-083D-4F40-BE8A-BDF75FFF****",
"TaskId": "PointCloudCompress-badda57d-a3ab-4e6d-938f-49b77ce****",
"EventId": "0B7-1LR4Wcue1aBhk2xT85MfL*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.