API Reference
Update history
Main changes from the previous version:
- Added the coordinate transformation parameters
srcFrame/dstFrameand the drone RTK switchenableGnssDrone, with static value validation at the creation endpoints (see "Parameter details"). - Added advanced feature switches:
lccOcr,globalRelocationData,componentLevelRecognition,equipmentLevelRecognition,pointCloudFiltering,pcamLayeringOpt,enableRayFilter, andremoveNoiseGrade(each requires the corresponding license). - Added mapping time cropping parameters
duration/timeRangeStart/timeRangeEnd(single map only). - Corrected the semantics of
lccAiConfig: for single-map/multi-map,1= indoor smart floor plan; for aerial,1= outdoor railway scene (the previous version incorrectly stated "not supported for aerial"). - Added the
maxRuningJobrequest parameter and response field tojob_queue_controlfor the global concurrency limit. check_reconstructionand the status hook now returnbuildErrCode/buildErrLogon failure, andbizCode=-1is explicitly the failure terminal state.- Added the optional panoramic video fields
videoFile1Path/videoFile2Pathto multi-mapsubTasks[]. - Added the "Preflight endpoints (optional)" section: video input detection, RTK validation, Gaussian point limit query, and quality inspection.
See the accompanying Appendix - Error Code List for error codes.
Supplement (November 20, 2026)
Since the initial draft of this version, the following changes have been made based on the latest API behavior (the current server code is authoritative):
subTasks[]supportsbuildType/projectId: addedHD(HD supplementary capture),CP(control point/takeoff-and-landing point supplementary capture), andDRONE(drone photos) image subtasks, allowing supplementary capture to be grouped by control point (see "Control point supplementary capture subtasks (HD/CP)").- Changed the semantics of
globalRelocationData: it is now the main robot map switch rather than "global relocalization data". Enabling it drives both global relocalization and point cloud filtering, and raises the scene preset tooutdoor_electric_road. - Removed
pointCloudFiltering: point cloud filtering is now part ofglobalRelocationData; the field is ignored as an unknown field if sent. - Removed the retired fields
calibrationCharging(charging pad calibration) andenableWatermark/watermarkPlyPath(watermark embedding). - Added two robot map downsampling settings,
locationMapResolution/plannarMapResolution. - Added the scan project information endpoint
POST /lcc_cloud/validate_scan_folder, which reads control point names before creation. - Added image count limits for HD supplementary capture and per-control-point supplementary capture, plus the current limitation when a single-map request includes
subTasks.
API overview
| Endpoint | Method | Route | Purpose |
|---|---|---|---|
| Create a single-map reconstruction job | POST | /lcc_cloud/start_reconstruction | Reconstruct a single scan project |
| Create a multi-map fusion / air-ground fusion job | POST | /lcc_cloud/start_multi_reconstruction | Multi-project fusion / air-ground fusion |
| Check reconstruction status (polling) | POST | /lcc_cloud/check_reconstruction | Query job status and progress |
| Reconstruction status sync hook sample | POST | /lcc_cloud/job_progress_hook_sample | Sample callback receiver |
| Restart a reconstruction job | POST | /lcc_cloud/resume_reconstruction | Resume/force-restart an interrupted job |
| Delete a job that is not running | POST | /lcc_cloud/job_delete | Delete the job record and outputs |
| Enable/disable automatic job queue execution | POST | /lcc_cloud/job_queue_control | Queue switch and global concurrency limit |
| Create an aerial reconstruction job | POST | /lcc_cloud/start_aerial_reconstruction | Reconstruct from drone images |
| Force-abort a reconstruction job | POST | /lcc_cloud/stop_reconstruction | Kill a running job |
| Create a video reconstruction job | POST | /lcc_cloud/start_video_reconstruction | Reconstruct from panoramic video/images |
| Video input detection (preflight) | POST | /lcc_cloud/select_video_input | Validate a video/image directory before creation |
| RTK validation (preflight) | POST | /lcc_cloud/validate_gnss_rtk | Determine whether project RTK is usable before creation |
| Gaussian point limit query (preflight) | GET | /lcc_cloud/get_point_cloud_max | Query the Gaussian point limit by VRAM |
| Quality inspection (preflight) | POST/GET | /lcc_cloud/inspection/start, /lcc_cloud/inspection/status | Run itemized quality checks before creation |
Route aliases are also available:
start_rebuild,check_rebuild,start_aerial_rebuild,start_multi_rebuild,/lcc_cloud_cluster/start_multi_reconstruction.The four creation endpoints share the same request structure; each consumes only its own subset of fields. Fields not consumed are ignored.
A scan project information endpoint, POST /lcc_cloud/validate_scan_folder, is also available to read control point names before creation (see "Preflight endpoints").
4 HTTP API Definitions
4.1 Create a single-map reconstruction job
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY specified when the container was started
,"name": "job1" // Required. Job name
,"inputFolder": "/work/job001/input" // Required. Input data directory for reconstruction (path mounted inside Docker)
,"outputFolder": "/work/job001/output" // Required. Reconstruction output directory (path mounted inside Docker)
,"jobQueueEnabled": 1 // Required. 1: allow the job to queue until resources are available. 0: fail immediately when busy; defaults to 0 for single map
,"hookUrl": "http://localhost:8080/lcc_cloud/job_progress_hook_sample" // Hook URL for execution status synchronization
,"quality": "M" // Quality: "H" high / "M" medium / "L" low, defaults to M
,"maximumGaussianPoint": 12 // Maximum Gaussian points (millions), range 8-50, defaults to 12
,"deviceModel": "L2Pro" // Reference value; overwritten by input data detection, can be omitted
,"lowMemory": 0 // Low-memory mode 0/1, default 0 (disabled)
,"exposure": 0 // Exposure optimization 0/1, default 0 (disabled)
,"portability": "ON" // Cross-platform optimization ON/OFF, default ON (OFF generates spherical harmonics data)
,"pointCloudParticipationRate": "H" // Point cloud participation rate PPR: "H" high / "L" low, default H
,"createJobFolder": "ON" // Whether to create a subdirectory named after jobId under outputFolder: ON/OFF, default OFF
,"hdImageFolder": "/work/job001/hd" // HD supplementary capture directory (advanced feature, license required)
,"lccOcr": "OFF" // Nameplate recognition and text extraction ON/OFF, mutually exclusive with smart floor plan (license required)
,"lccAiConfig": 0 // 0 disabled; 1 indoor smart floor plan (AI license required)
,"developerDataOutput": "OFF" // Output developer data ON/OFF, default OFF (license required)
,"globalRelocationData": "OFF" // Main robot map switch ON/OFF (requires robot relocalization + developer data licenses, and developerDataOutput=ON)
,"componentLevelRecognition": "OFF" // Component-level instancing ON/OFF (license required)
,"equipmentLevelRecognition": "OFF" // Equipment instancing ON/OFF (license required)
,"pcamLayeringOpt": "OFF" // Layered optimization (PortalCam) ON/OFF
,"enableRayFilter": "ON" // Ray filtering ON/OFF, default ON
,"removeNoiseGrade": "M" // Denoising strength H/M/L, default H
,"lioMode": "" // LIO special mode: "" auto / "0" none / "1" robust / "2" narrow scene
,"srcFrame": "" // Coordinate transformation source: empty / WGS84 / CGCS2000 (case-insensitive)
,"dstFrame": "" // Coordinate transformation target: empty / WGS84 / CGCS2000 / JGD2024_<zone>_<EPSG>
,"duration": 0 // Mapping time (seconds), 0 = use all data
,"timeRangeStart": 0 // Mapping time crop start (seconds, relative to scan start)
,"timeRangeEnd": 0 // Mapping time crop end (seconds); when End > Start, duration = End - Start
,"executionNodes": ["192.168.11.11:8080","192.168.11.11:8081"] // In cluster mode, select which nodes may run the job
,"locationMapResolution": 10 // Localization map downsampling resolution (cm), default 10 (effective when the robot map switch is ON)
,"plannarMapResolution": 3 // Navigation map downsampling resolution (cm), default 3 (effective when the robot map switch is ON)
}'
Note:
- Pay attention to whether a parameter field is a string or a number; using the wrong type causes a parameter format error.
- If a required parameter field is missing, adding or running the job will fail.
- While a reconstruction job runs, the
/workdirectory on the container node needs 5x the size of the input data in free disk space, otherwise the job may fail. - Single map does not consume
enableGnssDrone(drone RTK switch); it is ignored even if sent.
Required (enforced by the code): accessKey, name, inputFolder, outputFolder.
(quality defaults to M; maximumGaussianPoint defaults to 12; hookUrl, hdImageFolder, and similar are optional advanced items.)
HD supplementary capture can be passed in two ways: for ordinary supplementary capture, pass hdImageFolder directly (20-500 images); for supplementary capture grouped by control point, use subTasks[] + buildType:"HD", with one subtask per control point (20-1000 images per directory, 1000 images total).
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY
,"name": "single-hd-001" // Job name
,"inputFolder": "/work/job001/input" // Scan project directory
,"outputFolder": "/work/job001/output" // Output directory
,"hdImageFolder": "/work/job001/hd" // Ordinary HD supplementary capture directory
,"quality": "M"
,"maximumGaussianPoint": 12
}'
Supplementary capture grouped by control point (one buildType:"HD" subtask per control point, with projectId set to the control point name):
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera"
,"name": "single-hd-cp-001"
,"inputFolder": "/work/job001/input"
,"outputFolder": "/work/job001/output"
,"quality": "M"
,"subTasks": [
{ "inputFolder": "/work/job001/hd/HDE_1", "buildType": "HD", "projectId": "HDE_1" },
{ "inputFolder": "/work/job001/hd/HDE_2", "buildType": "HD", "projectId": "HDE_2" }
]
}'
For the current limitations when a single-map request includes
subTasks(HD/CP), see "Control point supplementary capture subtasks (HD/CP)": the fields are consumed for direct runs while idle, but are treated as fusion for queueing, resume, or reporting.
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "STARTED",
"jobId": "xxxx"
}
}
code: 0 = HTTP-level call succeeded; non-zero = request reading/parsing/authentication error (datais null in this case).data.bizCode: 0 = accepted (bizMsg=STARTEDstarts immediately /SCHEDULEDis queued); non-zero = not accepted, seebizMsgfor the reason.data.jobId: ID of this job. Whether a job can be recovered depends on whether the database and working directories are persisted; it cannot be recovered if the container is deleted without a persisted database.
List of INPUT data validation error codes
For the error codes and messages that input data validation can return, see Appendix - Error Code List.
4.2 Create a multi-map fusion / air-ground fusion reconstruction job
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_multi_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY
,"name": "job1" // Required. Job name
,"outputFolder": "/work/multi/output" // Required. Output directory (must be writable)
,"jobQueueEnabled": 1 // Required. 1: allow the job to queue until resources are available
,"quality": "M" // Quality H/M/L, defaults to M
,"maximumGaussianPoint": 12 // Maximum Gaussian points 8-50, defaults to 12; values > 50 are rejected
,"deviceModel": "L2Pro" // Reference value; overwritten by input data detection, can be omitted
,"subTasks": [ // Required. 1-50 entries; each may include buildType / projectId (see below)
{ "inputFolder": "/work/indoor-multi/1" },
{ "inputFolder": "/work/indoor-multi/2" }
]
,"droneFolder": "/work/multi/drone" // Fill in for air-ground fusion: drone image directory (license required). If passed and the directory exists, air-ground fusion is selected automatically
,"enableGnssDrone": "ON" // Drone RTK switch: empty (treated as ON) / ON / OFF, case-sensitive (only consumed by air-ground fusion)
,"hookUrl": "http://localhost:8080/lcc_cloud/job_progress_hook_sample"
,"exposure": 0 // Exposure optimization 0/1, default 0
,"portability": "ON" // Cross-platform optimization ON/OFF, default ON
,"pointCloudParticipationRate": "H" // Point cloud participation rate H/L, default H
,"createJobFolder": "ON" // Whether to create a subdirectory named after jobId: ON/OFF, default OFF
,"lccOcr": "OFF" // Nameplate recognition ON/OFF, mutually exclusive with smart floor plan (license required)
,"lccAiConfig": 0 // 0 disabled; 1 indoor smart floor plan (AI license required)
,"lowMemory": 0 // Low-memory mode 0/1, default 0 (disabled)
,"developerDataOutput": "OFF" // Output developer data ON/OFF (license required)
,"globalRelocationData": "OFF" // Main robot map switch ON/OFF (requires robot relocalization + developer data licenses, and developerDataOutput=ON)
,"componentLevelRecognition": "OFF" // Component-level instancing ON/OFF (license required)
,"equipmentLevelRecognition": "OFF" // Equipment instancing ON/OFF (license required)
,"pcamLayeringOpt": "OFF" // Layered optimization ON/OFF
,"enableRayFilter": "ON" // Ray filtering ON/OFF, default ON
,"removeNoiseGrade": "M" // Denoising strength H/M/L, default H
,"lioMode": "" // LIO special mode ""/0/1/2
,"largeSceneSupport": "OFF" // Very large scene fusion ON/OFF, default OFF (avoids >300 min overflow)
,"srcFrame": "" // Coordinate transformation source: empty / WGS84 / CGCS2000
,"dstFrame": "" // Coordinate transformation target: empty / WGS84 / CGCS2000 / JGD2024_<zone>_<EPSG>
,"multiNodeRun": "ON" // Multi-node parallel acceleration ON/OFF, defaults to ON in a cluster, ignored outside a cluster
,"executionNodes": ["192.168.11.11:8080","192.168.11.11:8081"]
,"locationMapResolution": 10 // Localization map downsampling resolution (cm), default 10 (effective when the robot map switch is ON)
,"plannarMapResolution": 3 // Navigation map downsampling resolution (cm), default 3 (effective when the robot map switch is ON)
}'
- Map fusion only: pass only
subTasks[]. - Air-ground fusion: additionally pass
"droneFolder": "/work/multi/drone"(switches to air-ground fusion automatically, license required).
For ordinary air-ground fusion, put only scan projects in subTasks[] (leave buildType empty or set it to MAP) and add droneFolder:
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_multi_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera"
,"name": "drone-fusion-001"
,"outputFolder": "/work/multi/output"
,"quality": "M"
,"maximumGaussianPoint": 12
,"droneFolder": "/work/multi/drone"
,"enableGnssDrone": "ON"
,"subTasks": [
{ "inputFolder": "/work/multi/1" },
{ "inputFolder": "/work/multi/2" }
]
}'
For control point (takeoff-and-landing point) supplementary capture in air-ground fusion, add one buildType:"CP" subtask per takeoff-and-landing point on top of ordinary air-ground fusion, with projectId set to the point name (the project_data/photo/ARS_* directory name in the project, with the numeric prefix removed):
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_multi_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera"
,"name": "drone-fusion-cp-001"
,"outputFolder": "/work/multi/output"
,"quality": "M"
,"maximumGaussianPoint": 12
,"droneFolder": "/work/multi/drone"
,"enableGnssDrone": "ON"
,"subTasks": [
{ "inputFolder": "/work/multi/1" },
{ "inputFolder": "/work/multi/2" },
{ "inputFolder": "/work/multi/ars/ARS_01", "buildType": "CP", "projectId": "ARS_01" },
{ "inputFolder": "/work/multi/ars/ARS_02", "buildType": "CP", "projectId": "ARS_02" }
]
}'
Scan project subtasks and
CPsupplementary capture subtasks are mixed in the samesubTasks[]; the backend routes them bybuildType: empty /MAPgoes into the fusion dataset, andCPgoes into control point constraints (FusionCPImagePaths). Each scan project must contain RTK or control points, otherwise fusion validation fails.
Note:
- Pay attention to whether a parameter field is a string or a number; using the wrong type causes a parameter format error.
- If a required parameter field is missing, adding or running the job will fail.
- While a reconstruction job runs, the
/workdirectory on the container node needs 5x the size of the input data in free disk space. - Multi-map/air-ground fusion does not read
jobQueueEnabled: when busy, jobs always queue automatically andSCHEDULEDis returned. - Multi-map does not consume
duration/timeRangeStart/timeRangeEnd(mapping time cropping applies only to single map).
Required (enforced by the code): accessKey, name, subTasks[] (1-50 entries); outputFolder must be a writable path.
(quality defaults to M; deviceModel does not actually participate in device detection and can be omitted.)
Each entry in subTasks[] supports the following fields:
| Field | Required | Description |
|---|---|---|
inputFolder | Yes | Scan project directory, or a pure image directory for HD / CP / DRONE (path inside the container) |
buildType | No | Subtask type: empty / MAP = scan project; HD = HD supplementary capture; CP = control point/takeoff-and-landing point supplementary capture; DRONE = drone photo directory. Case-insensitive, surrounding whitespace ignored; unknown values are validated as a scan project |
projectId | Conditional | Required for HD / CP subtasks: control point name (see "Control point supplementary capture subtasks (HD / CP)") |
videoFile1Path | No | Panoramic video 1 (scan projects only, must be in the same directory as video2) |
videoFile2Path | No | Panoramic video 2 (scan projects only, must be in the same directory as video1) |
buildTypeonly determines the validation rules for the subtask (scan project or pure image directory);projectIdis only meaningful forHD/CPsupplementary capture (control point name). The project ID of a scan project is still detected from the input data. Whether a subtask belongs to "map" or "air-ground" is determined automatically by the presence ofdroneFolder, not bybuildType. Image subtasks (HD/CP/DRONE) are not validated as scan projects; otherwise a pure image directory would fail with0x34041005 Missing or Empty HBC File.
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "STARTED",
"jobId": "xxxx"
}
}
Multi-map acceptance failures consistently return
bizCode=-1, withbizMsgin the formerror message(code:error code).
4.3 Check reconstruction status (for polling)
When starting a reconstruction, execution status can be synchronized automatically through the hookUrl parameter. You can also poll with this API.
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/check_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera", // Required. API authentication KEY
"jobId": "xxxx" // Current jobID; if omitted, returns the status of the job currently running
}'
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 2,
"bizMsg": "COMPLETE",
"jobId": "xxxx",
"jobName": "job1",
"progress": "100%",
"buildErrCode": "",
"buildErrLog": ""
}
}
data.bizCode semantics:
| bizCode | Meaning | bizMsg example |
|---|---|---|
0 | No information for this job | JOB NOT FOUND |
1 | Running | RUNNING / DOWNLOADING / CREATING / QUEUE / MODELING / UPLOADING |
2 | Finished normally | COMPLETE |
-1 | Failed | FAIL / IMPORT_FAIL / UPLOAD_ERR |
progress: progress percentage (for example,100%).buildErrCode/buildErrLog: returned only on failure (bizCode=-1), containing the specific failure code and reason text respectively; see Appendix - Error Code List. These fields are absent in non-failure responses.
4.4 Sample hook API for reconstruction status synchronization
If you need the image to automatically synchronize the execution status of the current job to another business system on a schedule, build an HTTP POST API on the business system that accepts the request format below, and pass its URL as the hookUrl parameter when starting the reconstruction.
Request parameters (payload pushed by LCC to the receiver)
{
"bizCode": 1,
"bizMsg": "RUNNING",
"jobId": "xxxx",
"jobName": "job1",
"progress": "42%",
"buildErrCode": "",
"buildErrLog": ""
}
Push semantics:
- While the job is running (execution/download/upload stages), LCC pushes
bizCode=1(running) plusprogressabout every 10 seconds.- After the job ends, one final terminal notification is pushed:
bizCode=2for normal completion, orbizCode=-1for reconstruction failure (bizMsgcarries the failure state name, withbuildErrCode/buildErrLogattached). Pushing then stops.- The receiver must handle both success and failure terminal states according to the
bizCodesemantics above.
Response parameters
The hook API may return anything; the LCC system does not process it.
4.5 Restart a reconstruction job
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/resume_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY
,"jobId": "xxxx" // Required. jobID of the job to restart
}'
Note: after an abnormal container crash, a job may be interrupted while its status cannot be updated to FAIL in time and remains MODELING. In this case, you can also use this API to force-restart the abnormal job and continue from the last successfully completed step.
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": ""
}
}
bizCode=0: success (bizMsgmay beDISPATCHEDwhen resuming across nodes in a cluster).- Common failures:
NO JOBID PARAM(jobId not passed),JOB NOT FOUND(job does not exist),ALREADY IN PROGRESS(job is still running).
4.6 Delete a job that is not running
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/job_delete' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY
,"jobId": "xxxx" // Required. jobID of the job to delete
}'
A job that is currently running cannot be deleted (
CAN NOT DELETE SINCE STILL RUNNINGis returned). Successful deletion also removes the job's output directory, local cache directory, and cloud input directory.
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "DELETED"
}
}
4.7 Enable or disable automatic job queue execution
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/job_queue_control' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY
,"jobQueueControl": "ON" // "ON" enables; "OFF" disables; any other value leaves it unchanged and only returns the current state
,"maxRuningJob": 3 // Optional. Maximum number of running jobs (total concurrent jobs in the cluster); 0 = unlimited; omitted = do not change
}'
maxRuningJobmust be>= 0; a negative value rejects the entire request (bizCode=-1), and neither the switch state nor the limit is changed.Semantics: this is a global concurrency limit — the code compares it with the total number of jobs currently running in the cluster. If the limit has been reached, no jobs are dispatched in this round; otherwise, at most "limit - running" jobs are dispatched, ensuring the total does not exceed the limit after dispatch.
Limitation: this check runs only at the master node's queue dispatch point. Resume uses synchronous dispatch and does not check it; jobs submitted while the server is idle run directly without entering the queue; dispatching directly to a child node also bypasses it. It is therefore a "global concurrency limit at queue dispatch", not a guarantee that the cluster will never run more than N jobs.
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "",
"jobQueueEnabled": true,
"maxRuningJob": 3
}
}
jobQueueEnabled: whether the current server automatically processes jobs in the queue.maxRuningJob: the current maximum number of running jobs; 0 means unlimited.
4.8 Create an aerial reconstruction job
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_aerial_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY
,"name": "AerialTestJob" // Required. Job name
,"droneFolder": "/data/lcc-test-data/k1/images" // Required. Drone image directory (path inside the container)
,"outputFolder": "/work/aerial/output" // Required. Output directory (must be writable)
,"jobQueueEnabled": 1 // Required. 1: allow the job to queue until resources are available
,"quality": "H" // Quality H/M/L, defaults to M
,"maximumGaussianPoint": 12 // Maximum Gaussian points 8-50, defaults to 12; values > 50 are rejected
,"enableGnssDrone": "ON" // Drone RTK switch: empty (treated as ON) / ON / OFF, case-sensitive
,"srcFrame": "" // Coordinate transformation source: empty / WGS84 / CGCS2000
,"dstFrame": "" // Coordinate transformation target: empty / WGS84 / CGCS2000 / JGD2024_<zone>_<EPSG>
,"developerDataOutput": "OFF" // Output developer data ON/OFF (license required)
,"exposure": 0 // Exposure optimization 0/1, default 0
,"lowMemory": 0 // Low-memory mode 0/1, default 0 (disabled)
,"portability": "ON" // Cross-platform optimization ON/OFF, default ON
,"createJobFolder": "ON" // Whether to create a subdirectory named after jobId: ON/OFF, default OFF
,"multiNodeRun": "ON" // Multi-node parallel acceleration ON/OFF
,"hookUrl": "http://localhost:8080/lcc_cloud/job_progress_hook_sample"
,"executionNodes": ["192.168.11.11:8080","192.168.11.11:8081"]
}'
Note:
- Pay attention to whether a parameter field is a string or a number; using the wrong type causes a parameter format error.
- If a required parameter field is missing, adding or running the job will fail.
- While a reconstruction job runs, the
/workdirectory on the container node needs 5x the size of the input data in free disk space. - Drone image constraints: at least 100 images, recommended maximum 18,000, JPG/JPEG, resolution >= 1024x768, and RTK information is required (when
enableGnssDrone=ON). - Aerial does not consume
pointCloudParticipationRate,lioMode,pointCloudFiltering,removeNoiseGrade,enableRayFilter,pcamLayeringOpt,globalRelocationData,componentLevelRecognition,equipmentLevelRecognition,lccOcr,hdImageFolder, orduration/timeRange*; these fields are ignored even if sent.
Required (enforced by the code): accessKey, name, droneFolder, and outputFolder (must be writable).
(quality defaults to M.)
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "STARTED",
"jobId": "xxxx"
}
}
4.9 Force-abort a reconstruction job
⚠️ This forcibly aborts a running job. Because the process is killed, the job ends abnormally and enters the
FAILstate.⚠️ You can later use the [Restart a reconstruction job] API to restart the job and continue from the last successfully completed step.
Request parameters
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/stop_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera" // Required. API authentication KEY
,"jobId": "xxxx" // Required. jobID of the job to force-abort
}'
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "Task stop request processed successfully"
}
}
- When the job is confirmed not to be running,
bizCode=-1andbizMsg=JOB IS NOT IN PROGRESSare returned; if the job is stuck in a non-terminal state (MODELING/QUEUE) but has no actual process, it is forced to FAIL andbizCode=0is returned.
4.10 Create a video reconstruction job
Request parameters - direct video file input
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_video_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera"
,"name": "video-test"
,"inputType": "video" // Required: video = direct video file input
,"videoFile1Path": "/data/lcc_test_data_110/video/VID_20250703_102244.mp4" // Required in video mode
,"samplingFrameRate": 1 // Sampling frame rate (frames sampled per second): must be 1 / 2 / 4
,"outputFolder": "/data/lcc_test_data_110/result" // Required
,"jobQueueEnabled": 1 // Required. 1: allow the job to queue until resources are available
,"quality": "H" // Quality H/M/L, defaults to M
,"maximumGaussianPoint": 12 // Maximum Gaussian points 8-50, defaults to 12; values > 50 are rejected
,"createJobFolder": "ON"
,"portability": "ON" // Cross-platform optimization ON/OFF, default ON
,"lowMemory": 0 // Low-memory mode 0/1, default 0 (disabled)
,"exposure": 0 // Exposure optimization 0/1, default 0 (disabled)
,"developerDataOutput": "OFF" // Output developer data ON/OFF (license required)
,"multiNodeRun": "ON"
,"executionNodes": ["192.168.11.11:8080"]
}'
Request parameters - extracted-frame image directory input
curl --location --request POST 'http://127.0.0.1:8080/lcc_cloud/start_video_reconstruction' \
--header 'Content-Type: application/json' \
--data-raw '{
"accessKey": "y6vera"
,"name": "images-test"
,"inputType": "image" // Required: image = direct extracted-frame image directory input
,"inputFolder": "/data/lcc_test_data_110/images" // Required in image mode
,"outputFolder": "/data/lcc_test_data_110/result" // Required
,"quality": "H"
,"maximumGaussianPoint": 12
,"createJobFolder": "ON"
,"portability": "ON"
,"lowMemory": 0 // Low-memory mode 0/1, default 0 (disabled)
,"exposure": 0
,"developerDataOutput": "OFF" // Output developer data ON/OFF (license required)
,"jobQueueEnabled": 1
,"multiNodeRun": "ON"
,"executionNodes": ["192.168.11.11:8080"]
}'
Required (enforced by the code): accessKey and outputFolder; video mode also needs videoFile1Path + samplingFrameRate in {1,2,4}, and image mode also needs inputFolder.
(Omitting name and quality is not blocked — quality defaults to M, but passing name explicitly is recommended so the job is easy to identify in the job list. Image mode ignores samplingFrameRate.)
Use the companion endpoint
POST /lcc_cloud/select_video_inputto validate a video/image directory before creation (see "Preflight endpoints").
Response parameters
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "STARTED",
"jobId": "xxxx"
}
}
API usage notes
Authentication
accessKey: required. The request is allowed through only if it is exactly equal to theSERVICE_ACCESS_KEYinjected when the container was started (configuration itemconfig_app.AccessKey).- If the server has not configured this KEY (it is empty), requests are allowed through without validation; once it is configured, a mismatch returns
{"code":403,"msg":"Http authentication failed"}. - The "Preflight endpoints" (
select_video_input,validate_scan_folder,validate_gnss_rtk,get_point_cloud_max,inspection/*) are the same as the internal page endpoints and do not requireaccessKey.
Response envelope
All endpoints return the same envelope:
{
"code": 0,
"msg": "",
"data": {
"bizCode": 0,
"bizMsg": "",
"jobId": "xxxx"
}
}
code: 0 = HTTP-level call succeeded; non-zero = request reading/parsing/authentication error (datais null in this case).data.bizCode: business code, 0 = accepted (started or queued); non-zero = not accepted, seebizMsgfor the reason.
bizCode semantics (important)
| bizCode | Meaning |
|---|---|
0 | Accepted: bizMsg=STARTED (started immediately) or SCHEDULED (queued, waiting to be scheduled) |
| Non-zero | Not accepted, see bizMsg for the reason |
⚠️ The specific non-zero values are not consistent across the four creation endpoints; callers only need to check
== 0:
- Single map: most parameter/permission/busy errors return
1; license/GPU/directory creation failures return-1;LAST TASK STILL IN PROGRESSreturns1.- Multi-map: failures consistently return
-1, withbizMsgin the formerror message(code:error code).- Aerial/video: parameter errors return
-1.Therefore, do not rely on the distinction between 1 and -1; handle it uniformly as "0 = success, non-zero = failure + read bizMsg".
Note:
check_reconstructionuses a different set ofbizCodesemantics (0 = no such job, 1 = running, 2 = complete, -1 = failed); see 4.3.
Path conventions
inputFolder/outputFolder/droneFolder/hdImageFolder/videoFile*Pathare all paths inside the container (paths mounted into Docker), not host paths.- Input paths must not contain a comma
,(validation rejects them). - Reconstruction needs roughly 5x the size of the input data in free
/workdisk space.
jobId lifecycle
- When
jobIdis omitted, the system generates one (a timestamp plus a 4-character random string, in the formYYYYMMDD-HHMMSS-xxxx); if you pass one, it is used as-is (convenient for caller-defined idempotency IDs). - The jobId is bound to the job record and the output directory; when
createJobFolder=ON, the output directory is<outputFolder>/<jobId>/.
Execution model: synchronous acceptance + asynchronous validation
The four creation endpoints all return as soon as the request is accepted: HTTP returns bizCode=0 quickly, while the actual input data validation, download, and reconstruction run in a background coroutine. Therefore successful acceptance does not mean successful reconstruction; you must obtain the real result afterwards by polling check_reconstruction or through the hookUrl callback (which includes buildErrCode / buildErrLog).
Queue scheduling rules (determines STARTED or SCHEDULED)
All four creation endpoints decide internally whether to "start immediately" or "queue" using the following conditions:
Queue (SCHEDULED) when: executionNodes is specified, OR the current node is busy, OR the global queue has waiting jobs
Otherwise: start immediately (STARTED)
That is, even if you pass
jobQueueEnabled=0, multi-map/aerial/video still queue and return SCHEDULED when busy (the field only applies to single map).
Parameter details
createJobFolder (ON/OFF, default OFF)
Determines where the output directory lands:
OFF(default): reconstruction results are written directly tooutputFolder.ON: reconstruction results are written to theoutputFolder/<jobId>/subdirectory.
Regardless of the value, the endpoint first tries
mkdir -p outputFolder/<jobId>to verify that the output directory is writable; onlyONactually writes results into that subdirectory.
deviceModel (string, optional)
This is a "reference value" and will be overwritten:
- Single map/multi-map: the real device model is detected from the input data through
CheckScanData, and the detected result overwrites the passeddeviceModel; the passed value is only used to precompute quality before detection, and the detected value is final. - Aerial/video:
deviceModelis not consumed at all for device detection.
Conclusion: it can be omitted or set arbitrarily; it does not affect final device recognition.
quality (H/M/L)
Reconstruction quality tier, mapped to internal quality levels 3/2/1 (high/medium/low). If omitted or set to a value other than H/M/L, M (medium) is used.
H: high — denser sampling, slower, higher VRAM usage, finer results.M: medium (default).L: low — faster, uses less VRAM, coarser results.
The underlying frame-extraction strategy differs between device families (L1/L2 use a frame step, K1/L2Pro use a frame rate), but the external semantics are the same: H is slower and finer, L is faster and lighter.
maximumGaussianPoint (number, range 8-50, default 12)
Upper limit on the number of Gaussian points, in millions of points (internally x 1,000,000).
- Passing
<= 0→ 12 is used automatically. - Passing
< 8→ treated internally as 8 (a warning is logged). - Passing
> 50→ multi-map/aerial/video reject it outright (error code0x3404102C); single map does not reject it explicitly and only truncates it using the VRAM formula below. - Whatever you pass, the value is still capped by the GPU VRAM formula (values above the cap are truncated to it):
| Job type | Gaussian point cap formula (floored, in millions) |
|---|---|
| Single map (without HD supplementary capture) / map fusion / video | (VRAM GB - 1.5) × 2.304 |
| HD supplementary capture / air-ground fusion / aerial | (VRAM GB - 4.5) × 2.304 |
Example: for a single map on 24 GB of VRAM the cap is approximately (24 - 1.5) × 2.304 ≈ 51.8, so passing 50 is honored as 50; with 8 GB of VRAM the cap is approximately (8 - 1.5) × 2.304 ≈ 15, so passing 50 is truncated to 15.
Before creation, use
GET /lcc_cloud/get_point_cloud_maxto query the limit for the current VRAM.
portability (ON/OFF, default ON) — counterintuitive semantics, important
The field is named "cross-platform optimization", but the internal logic is:
ON(default) → spherical harmonics data is not generated, keeping cross-platform compatibility.OFF→ generates spherical harmonics data and turns off cross-platform optimization.
That is, "OFF" is what triggers spherical harmonics generation. If you want spherical harmonics data or higher-quality lighting (and do not mind cross-platform compatibility), pass
"OFF"; otherwise keep the defaultON.
pointCloudParticipationRate (H/L, defaults to the algorithm default)
How much the point cloud participates in reconstruction (PPR):
H: high cohesion (weight 1, algorithm default, equivalent to omitting it).L: low cohesion (weight 0.1).
Only consumed by single map/multi-map; aerial/video do not read it.
jobQueueEnabled (0/1) — only effective for single map
- Single map
=0(default): if a job is already running on the current node, it fails immediately withLAST TASK STILL IN PROGRESS(bizCode 1) instead of queuing. - Single map
=1: when busy, the job joins the queue and waits.
The multi-map/aerial/video endpoints do not read this field: when busy they always queue automatically, regardless of jobQueueEnabled.
subTasks[] (required for multi-map)
List of subtasks, 1-50 entries. Empty or MAP is validated as a scan project; HD / CP / DRONE is validated as a pure image directory (HD / CP also requires projectId); see the next section for details. Scan project subtasks may also include the videoFile1Path / videoFile2Path panoramic videos (they must be in the same directory).
Control point supplementary capture subtasks (HD / CP)
HD supplementary capture can be grouped by control point: one subtask per control point, with projectId set to the control point name and inputFolder set to that control point's supplementary image directory. The backend maps it to the algorithm's FusionCPImagePaths[control point name] to provide control point constraints for SFM. The two types differ as follows:
buildType:"HD"(HD supplementary capture): images go into both the supplementary capture set (HdPaths) and the control point constraints byprojectId.buildType:"CP"(control point/takeoff-and-landing point supplementary capture): images go only into control point constraints (FusionCPImagePaths), not into the supplementary capture set; they provide control point constraints for SFM rather than serving as an HD supplementary capture dataset.buildType:"DRONE"(drone photos): validated as a pure image directory and assigned to drone images.
Both HD supplementary capture and per-control-point supplementary capture are advanced features and require an HD supplementary capture license; otherwise a permission error is returned.
Where projectId comes from: the control point name in column 4 of project_data/control_points.csv (or project_data/algorithm/control_points.csv) in the scan project; use the preflight endpoint POST /lcc_cloud/validate_scan_folder to read the controlPoints name array, controlPointCount, and hasRtk. For air-ground fusion takeoff-and-landing points, it is the project_data/photo/ARS_* directory name with the numeric prefix removed.
Image count limits (jpg/jpeg/png, counted recursively):
- Ordinary HD supplementary capture (
hdImageFolder, no control points): 20-500 images. - Per-control-point supplementary capture: 20-1000 images per control point directory, and no more than 1000 images across all control point directories.
- The creation endpoints only validate that image subtasks have an existing directory with at least one image; image count and resolution are checked by pipeline preflight (such as
CheckHdImage) during scheduling.
⚠️ Current limitation when the single-map endpoint includes
subTasks: multiple backend checks uselen(subTasks) > 0to identify a "fusion job" (queueing, resume, report template). If a single-map request includesHD/CPsubtasks, the pipeline's single-map branch consumes them correctly during a direct run while idle; once queued, resumed, or reported, it is treated as fusion. The built-in frontend single-scene page therefore does not submit this field, and single-map HD supplementary capture still useshdImageFolder; per-control-point grouped supplementary capture is currently mainly dispatched through the dataspace cloud path (MQTT). HTTP single-map callers that need this capability should first confirm the node is idle or assess this limitation.
droneFolder (multi-map / aerial)
Aerial: required, the drone image directory.
Multi-map: optional; as soon as
droneFolderis passed and the directory exists, the job automatically switches from "map fusion" to "air-ground fusion" (no extra switch needed).Drone image constraints: at least 100 images, JPG/JPEG, resolution >= 1024x768, and they must contain RTK information.
- Image count limit: aerial reconstruction requires 100-18,000 images; air-ground fusion has only the lower limit of 100 and no upper limit.
- RTK sufficiency (air-ground fusion requires RTK images to make up >= 80%) is determined by pipeline preflight and the quality inspection endpoint, not calculated synchronously at creation.
enableGnssDrone (ON/OFF, empty treated as ON) — drone RTK switch
- Only consumed by aerial and multi-map/air-ground fusion; single map does not read it.
ON(or empty): validates image GPS/RTK and reconstructs with GNSS (outputs absolute coordinates).OFF: does not validate image GPS/RTK and reconstructs without GNSS (outputs relative coordinates).- Case-sensitive: only exactly
ON/OFF/ empty is accepted.
⚠️ Behavior change: previously,
off,false, and0were all treated asON(the pipeline only recognized exactlyOFF) instead of raising an error. These values are now rejected at the creation endpoint; callers that need to disable drone RTK must pass"OFF".
Coordinate transformation: srcFrame / dstFrame
Applies to the single-map, multi-map/air-ground fusion, and aerial creation endpoints (video reconstruction does not consume them). Validation runs after authentication and before any disk writes; invalid requests do not create a job directory or enter the queue.
| Field | Valid values | Description |
|---|---|---|
srcFrame | Empty, WGS84, CGCS2000 | Case-insensitive. The Japanese plane rectangular coordinate system can only be a target, not a source |
dstFrame | Empty, WGS84, CGCS2000, JGD2024_<zone>_<EPSG> | The first three are case-insensitive. JGD2024 zones are 1-19, EPSG = 6668 + zone, for example JGD2024_9_6677; the prefix is case-sensitive, and numbers do not accept leading zeros or signs |
- When both fields are empty: if the project contains valid RTK, the backend automatically uses the GNSS type as the default coordinate system.
- Invalid values return
code=0anddata.bizCode=-1, withbizMsgnaming the offending field, for example:
{"code":0,"msg":"","data":{"bizCode":-1,"bizMsg":"invalid srcFrame \"GCJ02\", allowed: WGS84, CGCS2000 (case-insensitive) or empty","jobId":""}}
Validation only covers value rules that do not depend on disk or runtime state. Whether drone RTK is sufficient or ground project RTK is valid requires reading images or
gnss.csv, so it is not calculated synchronously at creation; callers that need to know before creation should use the "Preflight endpoints".
Mapping time cropping: duration / timeRangeStart / timeRangeEnd (single map only)
- All values are in seconds relative to the scan start. When
duration>0, it is passed to the algorithm as LIO's-duration;0uses all data. timeRangeStart/timeRangeEnddefine the crop range: whentimeRangeEnd > timeRangeStart, the internal value isduration = timeRangeEnd - timeRangeStart, andtimeRangeEndis also stored as the anchor (POI/POV) time upper bound.- Multi-map/aerial/video do not consume these fields.
Video reconstruction input: inputType + videoFile1Path / inputFolder
inputType:"video"(default) or"image".videomode: readsvideoFile1Path(a single video file).imagemode: readsinputFolder(an image directory; ffmpeg frame extraction is skipped and the images are used directly as the extracted frames).
samplingFrameRate(sampling frame rate): in video mode it must be one of 1/2/4, otherwise the request is rejected; it is ignored in image mode.
Advanced feature switches
All are ON/OFF except lccAiConfig, lowMemory, and exposure, and require the corresponding license; otherwise a permission error is returned. The "Applicable endpoints" column shows which creation endpoints actually consume the field.
| Field | Values | Applicable endpoints | Description | License dependency |
|---|---|---|---|---|
lccOcr | ON/OFF | Single/multi | Nameplate recognition and text extraction; mutually exclusive with smart floor plan (lccAiConfig=1) | OCR license |
lccAiConfig | 0/1 | Single/multi/aerial | Single/multi 1 = indoor smart floor plan; aerial 1 = outdoor railway scene; video is not supported | Single/multi require an AI license; aerial requires a developer data license |
developerDataOutput | ON/OFF | Single/multi/aerial/video | Output developer data | Developer data license |
globalRelocationData | ON/OFF | Single/multi | Main robot map switch (formerly "global relocalization data"); enabling it drives both global relocalization (xloc) and point cloud filtering, and raises the scene preset to outdoor_electric_road; requires developerDataOutput=ON | Robot relocalization license + developer data license |
componentLevelRecognition | ON/OFF | Single/multi | Component-level instancing | Component-level instancing license |
equipmentLevelRecognition | ON/OFF | Single/multi | Equipment instancing | Equipment instancing license |
pointCloudFiltering | ON/OFF | — | Retired: sent values are ignored as an unknown field; point cloud filtering is now part of globalRelocationData | — |
pcamLayeringOpt | ON/OFF | Single/multi | Layered optimization (PortalCam) | — |
enableRayFilter | ON/OFF | Single/multi | Ray filtering, default ON (robot map sub-setting) | — |
removeNoiseGrade | H/M/L | Single/multi | Denoising strength H/M/L, default H (robot map sub-setting) | — |
lioMode | ""/0/1/2 | Single/multi | LIO special mode: "" auto / "0" none / "1" robust / "2" narrow scene | — |
largeSceneSupport | ON/OFF | Multi | Very large scene fusion, default OFF; for very large scenes where fusion fails (for example, total scan duration >300min), set ON and retry | — |
lowMemory | 0/1 | Single/multi/aerial | Low-memory mode, default 0; when server memory is below 64 GB, set 1 to reconstruct larger datasets | — |
exposure | 0/1 | Single/multi/aerial/video | Exposure optimization, default 0 (disabled) | — |
lccAiConfigandlccOcrare mutually exclusive: smart floor plan (lccAiConfig=1) and OCR (lccOcr=ON) cannot be enabled together, otherwise a parameter error is returned.When
globalRelocationDatais enabled, the internal AI scene is upgraded tooutdoor_electric_road(outdoor electric road), and both global relocalization and point cloud filtering are driven;pointCloudFilteringis retired and no longer controls this separately.
Other fields at a glance
| Field | Type | Description |
|---|---|---|
multiNodeRun | ON/OFF | Multi-node parallel acceleration in a cluster (defaults to ON in a cluster, ignored outside a cluster); consumed by multi/aerial/video |
executionNodes | []string | Specifies the nodes to run on; once specified, the job must enter the queue first and be dispatched by the scheduler to the specified nodes |
hookUrl | string | Status callback URL (see 4.4) |
jobId | string | Custom job ID (idempotency); generated by the system if omitted |
locationMapResolution | int (cm) | Robot map sub-setting: localization map downsampling resolution, default 10, valid range 1-50 (out-of-range or omitted falls back to the default); converted to m on the algorithm side |
plannarMapResolution | int (cm) | Robot map sub-setting: navigation map downsampling resolution, default 3, valid range 1-50 (out-of-range or omitted falls back to the default); converted to m on the algorithm side |
user | string | Job creator, may be empty |
The following fields are internal/test/cloud-job only; do not send them for ordinary local calls:
runType(internal parameter set automatically by the backend: single map = 1 / map fusion = 2 / air-ground fusion = 3 / aerial = 4 / video = 5),buildType(top-level field used by tests to specify the resume executable;buildTypeinside subtasks is covered undersubTasks[]) /buildStopExe,inputSource/cloudInput/callback(object storage download and callback for dataspace cloud jobs).
localOutputCache(0/1): outputs are written to a local cache first and copied to the network output in one operation after completion to improve speed;outputFolderOriginrecords the user's original output directory in this case.Retired fields:
pointCloudFiltering,calibrationCharging,enableWatermark/watermarkPlyPath; sent values are ignored as unknown fields.
Preflight endpoints (optional)
The built-in creation page calls these endpoints first, then decides how to fill in switches and coordinate systems. They are the same as the internal page endpoints and do not require accessKey, so callers can use them to validate before creation.
Video input detection POST /lcc_cloud/select_video_input
Branches by inputType: video probes the video file (ffprobe), and image validates the image directory.
Request body:
| Field | Description |
|---|---|
inputType | "video" (default) / "image" |
videoFile1Path | Required in video mode: a single video file path |
inputFolder | Required in image mode: image directory |
Response data contains videoChecks (itemized check results) + pass ("Y"/"N"); image mode also includes selection. If a required field is missing, pass="N" is returned with a message.
RTK validation POST /lcc_cloud/validate_gnss_rtk
// Request
{"path": "/work/job001/input"}
// Response
{"code":0,"data":{"valid":true,"fixedLines":1234,"bboxLength":56.7,"gnssType":"WGS84"}}
pathis the root directory of the scan project. The criterion is: fixed solution (status=4) lines >= 100 and bounding box diagonal > 10 meters, the same function used to backfill the default coordinate system at creation.- No
gnss.csvreturnsvalid=false, not an HTTP error;code=400is returned only whenpathis not a directory.
Gaussian point limit query GET /lcc_cloud/get_point_cloud_max
GET /lcc_cloud/get_point_cloud_max?multiType=1[&hdImageFolder=/data/hd]
→ {"code":0,"data":{"multiType":"1","maxPointCloud":51,"hdReshoot":false}}
multiTypeis required, with values 1-5 (1 single map / 2 map fusion / 3 air-ground fusion / 4 aerial / 5 video).hdImageFolderis optional: when provided and the directory exists, the "HD supplementary capture" VRAM reserve (4.5 GB) is used; otherwise the normal reserve (1.5 GB) is used.maxPointCloudis the Gaussian point limit for the current VRAM (millions of points), using the same rules as job creation.
Quality inspection (asynchronous two-step, keeps the latest 32 records in process)
POST /lcc_cloud/inspection/start→{"code":0,"data":{"id":"insp-..."}}- Poll
GET /lcc_cloud/inspection/status?id=<id>untildata.status == "done".
Request body fields (all optional except projectPath; an invalid request returns code=400 and a msg naming the field):
| Field | Description |
|---|---|
projectPath | Scan project directory. Passing only this field keeps the old behavior (single scene), and all other fields are ignored |
multiType | "1" single scene (default) / "2" map fusion / "3" air-ground fusion / "4" aerial reconstruction |
projectPaths | All ground projects for a fusion scene, up to 50; ignored for "4" |
droneFolder | Drone image directory for air-ground fusion and aerial reconstruction; ignored for "2", required for "4" |
enableGnssDrone | ON / OFF / empty, with the same value rules as the creation endpoints |
rtkAutoDowngraded | 0 or 1. 1 means OFF was caused by automatic downgrade in the previous inspection, so detection still runs; the creation endpoints do not read this field |
Each item in response data.items[] contains code, title, status (pending / loading / success / warning / error), and detail. New items also include a stable key:
| key | Meaning |
|---|---|
mapRtkCheck | Ground RTK for a fusion scene; success only when every project is valid, otherwise warning (missing RTK does not block reconstruction, so it is not an error) |
droneImageCountValid | Number of drone images (counted by .jpg / .jpeg). Aerial reconstruction requires 100-18,000, air-ground fusion requires >= 100; an error means creation will be rejected |
rtkComplete | Whether drone RTK is sufficient; only success or warning, never error |
Additional fields for rtkComplete:
rtkDowngraded: true: the data is genuinely insufficient (photo count, fixed-solution ratio, or horizontal range did not meet the threshold), so passingenableGnssDrone:"OFF"at creation is recommended.rtkSkipped: true: the switch is off, so detection was not performed.warningbutrtkDowngradedis not true: detection did not finish (directory unreadable, timeout, concurrency full); it does not mean the data is insufficient, so do not disable RTK based on this.
When the coordinate system of the drone data is recognized, data.detectedFrames is {"detected":true,"srcFrame":"CGCS2000","dstFrame":"CGCS2000"}; both values are accepted by the creation endpoints and can be used directly as srcFrame / dstFrame. If it cannot be recognized, this field is not returned. Up to 2 drone directory scans run concurrently; when the limit is exceeded, droneImageCountValid and rtkComplete are warning, and you can retry shortly afterwards.
Scan project information detection POST /lcc_cloud/validate_scan_folder
Use this to read control point and RTK information from a scan project. When supplementary capture is grouped by control point, use it to confirm the control point names for projectId instead of looking through project files one by one.
Pass the scan project directory in the request body; the response returns controlPoints (array of control point names), controlPointCount (number of control points), and hasRtk (whether valid RTK is present).
The original source of control point names is column 4 of project_data/control_points.csv (or project_data/algorithm/control_points.csv) in the scan project; for air-ground fusion takeoff-and-landing points, it is the project_data/photo/ARS_* directory name with the numeric prefix removed.