XGRIDSDocs
  • 简体中文
  • English
  • 繁體中文
  • 日本語
  • Deutsch
  • Español
  • Italiano
  • Français
  • Русский
  • Polski
  • Nederlands
  • 简体中文
  • English
  • 繁體中文
  • 日本語
  • Deutsch
  • Español
  • Italiano
  • Français
  • Русский
  • Polski
  • Nederlands
  • Lixel PortalCam Series

    • PortalCam P1

      • Product Overview
      • Basic Operation
      • Using the LCC Scan App
      • Maintenance and Care
      • FAQ
  • Lixel K Series

    • Lixel K1

      • Product Overview
      • Basic Operation
      • Device Activation and Connection
      • Scanning Workflow
      • Acquire Point Cloud Data with Absolute Coordinate
      • Map Fusion
      • Route Planning Suggestions for Typical Scenes
      • Precautions
      • FAQ
    • Lixel K2

      • Product Overview
      • Basic Operation
      • Device Activation and Connection
      • Scanning Workflow
      • Acquire Point Cloud Data with Absolute Coordinate
      • Map Fusion
      • Route Planning Suggestions for Typical Scenes
      • Precautions
      • FAQ
  • Lixel L Series

    • Lixel L2 Pro

      • Product Overview
      • Basic Operation
      • Device Activation and Connection
      • Scanning Workflow
      • Acquire Point Cloud Data with Absolute Coordinate
      • Measure Point
      • Appendix
      • FAQ
    • Lixel L3

      • Product Overview
      • Basic Device Functions
      • Device Activation and Connection
      • Data Capture
      • Capturing Absolute Coordinates
      • Appendix
      • FAQ
  • Robotics

    • Lixel OpenAPI

      • Overview
      • Connection & Authentication
      • Message Model & Codec
      • Interface Catalog
      • Real-time Data
      • Project File Access
      • Error Codes
      • Python

        • Quick Start
        • Client Wrapper & Tools
        • FAQ
      • C++

        • Quick Start
        • Client & Examples
        • FAQ
      • OpenAPI-XPanel
      • Activate the OpenAPI Authorization
  • Accessories

    • Stick Light

      • Installation Guide
      • Basic Operation
      • FAQ
  • Lixel Studio

    • Version and Copyright
    • Installation and Activation
    • Software Interface
    • File Operations
    • Project Processing
    • Tools
    • 2D Drawing
    • Applications
    • Settings
    • Device Connection
    • FAQ
    • Usage Tips

      • Data Flow Overview
      • Software Licensing Guide
      • Understanding Scanner Accuracy Specifications
      • Point Cloud Registration Guide
  • Lixel CyberColor

    • LCC Studio

      • Getting Started
      • Version and Updates
      • Download and Installation
      • Interface Overview and Navigation
      • Before Reconstruction
      • Model Reconstruction
      • Single Model Reconstruction
      • Map Fusion
      • Aerial-Ground Fusion
      • Aerial Reconstruction
      • My Models
      • Other Features
      • Settings and Account
      • Converter
      • Publish to Third-Party Platforms
      • Video Reconstruction
      • FAQ
    • LCC Scene Editor

      • Version & Updates
      • Account & Login
      • Product Overview & Home
      • Editor Interface
      • Scene Navigation Modes
      • File
      • Settings
      • Edit Operations
      • Window
      • Global Toolbar
      • Assets & Properties
      • Left Toolbar
      • Viewpoints
      • Portal
      • Skybox
      • Annotations
      • Measurement
      • Flythrough
      • Scene Report
      • 3D Layout
      • Mini-Map
      • Preview Mode (Viewer)
      • Help
      • FAQ
      • Spawn Point
    • LCC Model Editor

      • Version and Updates
      • User Guide
      • Overview and Interface
      • File Operations
      • Selectors
      • Editing Operations
      • Measurement
      • Color Grading
      • Asset Management
      • Settings and Help
      • FAQ
    • Capture Guide

      • Overview
      • Capture Devices Overview
      • General Capture Principles
      • Indoor Scene Capture
      • Outdoor Scene Capture
      • Large-Scale Capture (Map Fusion)
      • Aerial-Ground Map Fusion Capture
      • Object Capture
      • People Capture
      • Video Reconstruction Capture
      • HD Enhancement
      • Control Points (Lixel P1)
      • FAQ and Troubleshooting
    • LCC Studio Linux

      • Product Overview
      • Architecture Guide
      • Installation and Deployment Guide
      • Container Startup Parameters Guide
      • CodeMeter Offline Licensing Deployment Guide
      • API Reference
      • Appendix - Developer Data Guide
      • Appendix - Error Code List
      • Single-Machine Multi-GPU Cluster Deployment QuickStart
    • Best Practices

      • Merging Multiple Large 3DGS Models
      • Aerial-Ground Map Fusion Workflow
      • Data Flow Overview
      • Software Licensing Guide
    • Version History
  • Plugin & SDK

    • Unreal

      • What's New
      • Introduction
      • Quick Start - Windows
      • Quick Start - Linux
      • Quick Start - Quest3
      • URL Data Loading (Pro)
      • Editions and Licensing
      • Rendering
      • Tiled Rasterization (Pro)
      • Visual Settings
      • Normals and Lighting
      • Scene Editing
      • Performance Parameters
      • Performance Guide
      • Third-party and Engine Plugin Integration
      • Proxy Mesh
      • Loading Animation
      • Collision
      • Navigation System Support
      • Single Layer Water Support
      • Localization
      • FAQ
      • Troubleshooting
      • Logging and Diagnostics
      • Contact Us
      • Best Practices

        • Relighting 3DGS with a LixelStudio Mesh
        • Per-camera Independent Rendering
      • API Reference

        • ALCCActorBase
        • ULCCComponentBase
        • ULCCComponent
        • ULCC2Component
        • SOG / SPZ / PLY Actors
        • ALCC2ProxyMesh
        • ALCCClippingVolume
        • ALCCSectionPlane
        • ALCCLoadVolume
        • ULCCUtilLibrary
        • Enums
        • Structs
      • Changelog

        • v3.6.0
        • v3.5.0
        • v3.4.0
        • v3.3.1
        • v3.0.0
        • v2.2.1
        • v1.0.0
        • v0.9.0
        • v0.8.0
        • v0.7.1
        • v0.6.1
        • v0.5.2
        • v0.4.1
        • v0.4.0
        • v0.3.0
        • v0.0.5
        • v0.0.4
        • v0.0.3
        • v0.0.2
        • v0.0.1
    • Unity

      • Unity SDK Introduction
      • Technical Features
      • Development Environment Requirements
      • PC Quick Start Guide
      • Project Settings Optimization Guide
      • Pico 4 Ultra Development Guide
      • Pico 4 Ultra PC Streaming Guide
      • Quest 3 Development Guide
      • Quest 3 PC Streaming Guide
      • Pico Space Pro Development Guide
      • Pico Space Pro Business Streaming Guide
      • OpenXR Development Guide
      • Pico 4 Ultra Business Streaming Guide
      • Glossary
      • FAQ
      • Contact Us
      • Feature Development Guide

        • Multi-Scene Mixed Rendering Development Guide
        • Shadow Receiving Development Guide
        • Real-Time Lighting Development Guide
        • Multi-Camera Rendering Development Guide
        • High-Resolution Image Rendering Development Guide
        • LCC and LCC2 Data Format Compatibility Development Guide
        • Loading Effect Development Guide
        • Mip Rendering Mode Switching Development Guide
        • Edge and Corner Snapping Development Guide
        • Projected Decal Development Guide
        • Video Projected Decal Development Guide
        • Highlight Development Guide
        • Real-Time Clipping Development Guide
        • Color Adjustment Development Guide
        • Getting Scene Mesh Data Development Guide
        • Editor Mode Development Guide
        • Render Performance Parameter Configuration Guide
        • Application and Data Co-packaging Development Guide
        • Collision System Development Guide
        • macOS Development Permission Issue Guide
        • iOS Device Compilation and Packaging Development Guide
      • API Reference

        • LCCManager
        • Renderer
        • Data Types
      • Changelog

        • v2.4.0
        • v2.3.0
        • v2.2.10
        • v2.2.0
        • v2.1.19
        • v2.0.14
    • Web

      • Introduction
      • Rendering Performance Optimization Guide
      • Graphics Configuration
      • WebGPU Development Guide
      • FAQ
      • API Reference

        • LCCObject::checkRenderNextFrame
        • LCCObject::clearRenderNextFrame
        • LCCObject::ecef2Prj
        • LCCObject::getBounds
        • LCCObject::getEnvInstancedMesh
        • LCCObject::getInstancedMesh
        • LCCObject::getLodInfos
        • LCCObject::getOriginPosition
        • LCCObject::getProjectionCoordinateSystemInfos
        • LCCObject::hasCollision
        • LCCObject::hasEnvironment
        • LCCObject::hasShcoef
        • LCCObject::intersectsCapsule
        • LCCObject::intersectsRayExt
        • LCCObject::intersectsRayFromOriginExt
        • LCCObject::intersectsSphere
        • LCCObject::lowerToBottom
        • LCCObject::prj2Ecef
        • LCCObject::raiseToTop
        • LCCObject::raycast
        • LCCObject::raycastFromOrigin
        • LCCObject::setAlpha
        • LCCObject::setClipBox
        • LCCObject::setClipPlane
        • LCCObject::setClipPrism
        • LCCObject::setEndLod
        • LCCObject::setLodAutoLevelUp
        • LCCObject::setMaxDistance
        • LCCObject::setMaxNodeSplats
        • LCCObject::setMaxSplats
        • LCCObject::setMinSplatSize
        • LCCObject::setMipFilter
        • LCCObject::setOriginPosition
        • LCCObject::setPointsColor
        • LCCObject::setRenderState
        • LCCObject::setRotation
        • LCCObject::setScale
        • LCCObject::setSemantic
        • LCCObject::setSemanticColor
        • LCCObject::setSmooth
        • LCCObject::setStartLod
        • LCCObject::setTranslation
        • LCCObject::setVisible
        • LCCObject::togglePointsDisplayMode
        • LCCObject::useEnvironment
        • LCCObject::useShcoef
        • LCCRender::clearIndexDB
        • LCCRender::dispose
        • LCCRender::load
        • LCCRender::setCamera
        • LCCRender::unload
        • LCCRender::update
      • Changelog

        • v0.6.6
        • v0.6.4
        • v0.6.3
        • v0.6.2
        • v0.6.1
        • v0.6.0
        • v0.5.5
        • v0.5.4
        • v0.5.3
        • v0.5.2
        • v0.5.1
        • v0.5.0
        • v0.4.1
        • v0.4.0
        • v0.3.1
        • v0.3.0
        • v0.2.0
  • API

    • Structured Spatial Modeling

      • Access Guide
      • Modeling Workflow
      • API Reference
      • Temporary Upload Credentials
      • Error Codes

API Reference

Update history

Main changes from the previous version:

  • Added the coordinate transformation parameters srcFrame / dstFrame and the drone RTK switch enableGnssDrone, with static value validation at the creation endpoints (see "Parameter details").
  • Added advanced feature switches: lccOcr, globalRelocationData, componentLevelRecognition, equipmentLevelRecognition, pointCloudFiltering, pcamLayeringOpt, enableRayFilter, and removeNoiseGrade (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 maxRuningJob request parameter and response field to job_queue_control for the global concurrency limit.
  • check_reconstruction and the status hook now return buildErrCode / buildErrLog on failure, and bizCode=-1 is explicitly the failure terminal state.
  • Added the optional panoramic video fields videoFile1Path / videoFile2Path to multi-map subTasks[].
  • 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[] supports buildType / projectId: added HD (HD supplementary capture), CP (control point/takeoff-and-landing point supplementary capture), and DRONE (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 to outdoor_electric_road.
  • Removed pointCloudFiltering: point cloud filtering is now part of globalRelocationData; the field is ignored as an unknown field if sent.
  • Removed the retired fields calibrationCharging (charging pad calibration) and enableWatermark / 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

EndpointMethodRoutePurpose
Create a single-map reconstruction jobPOST/lcc_cloud/start_reconstructionReconstruct a single scan project
Create a multi-map fusion / air-ground fusion jobPOST/lcc_cloud/start_multi_reconstructionMulti-project fusion / air-ground fusion
Check reconstruction status (polling)POST/lcc_cloud/check_reconstructionQuery job status and progress
Reconstruction status sync hook samplePOST/lcc_cloud/job_progress_hook_sampleSample callback receiver
Restart a reconstruction jobPOST/lcc_cloud/resume_reconstructionResume/force-restart an interrupted job
Delete a job that is not runningPOST/lcc_cloud/job_deleteDelete the job record and outputs
Enable/disable automatic job queue executionPOST/lcc_cloud/job_queue_controlQueue switch and global concurrency limit
Create an aerial reconstruction jobPOST/lcc_cloud/start_aerial_reconstructionReconstruct from drone images
Force-abort a reconstruction jobPOST/lcc_cloud/stop_reconstructionKill a running job
Create a video reconstruction jobPOST/lcc_cloud/start_video_reconstructionReconstruct from panoramic video/images
Video input detection (preflight)POST/lcc_cloud/select_video_inputValidate a video/image directory before creation
RTK validation (preflight)POST/lcc_cloud/validate_gnss_rtkDetermine whether project RTK is usable before creation
Gaussian point limit query (preflight)GET/lcc_cloud/get_point_cloud_maxQuery the Gaussian point limit by VRAM
Quality inspection (preflight)POST/GET/lcc_cloud/inspection/start, /lcc_cloud/inspection/statusRun 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:

  1. Pay attention to whether a parameter field is a string or a number; using the wrong type causes a parameter format error.
  2. If a required parameter field is missing, adding or running the job will fail.
  3. While a reconstruction job runs, the /work directory on the container node needs 5x the size of the input data in free disk space, otherwise the job may fail.
  4. 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 (data is null in this case).
  • data.bizCode: 0 = accepted (bizMsg=STARTED starts immediately / SCHEDULED is queued); non-zero = not accepted, see bizMsg for 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 CP supplementary capture subtasks are mixed in the same subTasks[]; the backend routes them by buildType: empty / MAP goes into the fusion dataset, and CP goes into control point constraints (FusionCPImagePaths). Each scan project must contain RTK or control points, otherwise fusion validation fails.

Note:

  1. Pay attention to whether a parameter field is a string or a number; using the wrong type causes a parameter format error.
  2. If a required parameter field is missing, adding or running the job will fail.
  3. While a reconstruction job runs, the /work directory on the container node needs 5x the size of the input data in free disk space.
  4. Multi-map/air-ground fusion does not read jobQueueEnabled: when busy, jobs always queue automatically and SCHEDULED is returned.
  5. 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:

FieldRequiredDescription
inputFolderYesScan project directory, or a pure image directory for HD / CP / DRONE (path inside the container)
buildTypeNoSubtask 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
projectIdConditionalRequired for HD / CP subtasks: control point name (see "Control point supplementary capture subtasks (HD / CP)")
videoFile1PathNoPanoramic video 1 (scan projects only, must be in the same directory as video2)
videoFile2PathNoPanoramic video 2 (scan projects only, must be in the same directory as video1)

buildType only determines the validation rules for the subtask (scan project or pure image directory); projectId is only meaningful for HD / CP supplementary 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 of droneFolder, not by buildType. Image subtasks (HD / CP / DRONE) are not validated as scan projects; otherwise a pure image directory would fail with 0x34041005 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, with bizMsg in the form error 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:

bizCodeMeaningbizMsg example
0No information for this jobJOB NOT FOUND
1RunningRUNNING / DOWNLOADING / CREATING / QUEUE / MODELING / UPLOADING
2Finished normallyCOMPLETE
-1FailedFAIL / 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) plus progress about every 10 seconds.
  • After the job ends, one final terminal notification is pushed: bizCode=2 for normal completion, or bizCode=-1 for reconstruction failure (bizMsg carries the failure state name, with buildErrCode / buildErrLog attached). Pushing then stops.
  • The receiver must handle both success and failure terminal states according to the bizCode semantics 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 (bizMsg may be DISPATCHED when 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 RUNNING is 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
}'

maxRuningJob must 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:

  1. Pay attention to whether a parameter field is a string or a number; using the wrong type causes a parameter format error.
  2. If a required parameter field is missing, adding or running the job will fail.
  3. While a reconstruction job runs, the /work directory on the container node needs 5x the size of the input data in free disk space.
  4. Drone image constraints: at least 100 images, recommended maximum 18,000, JPG/JPEG, resolution >= 1024x768, and RTK information is required (when enableGnssDrone=ON).
  5. Aerial does not consume pointCloudParticipationRate, lioMode, pointCloudFiltering, removeNoiseGrade, enableRayFilter, pcamLayeringOpt, globalRelocationData, componentLevelRecognition, equipmentLevelRecognition, lccOcr, hdImageFolder, or duration/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 FAIL state.

⚠️ 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=-1 and bizMsg=JOB IS NOT IN PROGRESS are returned; if the job is stuck in a non-terminal state (MODELING/QUEUE) but has no actual process, it is forced to FAIL and bizCode=0 is 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_input to 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 the SERVICE_ACCESS_KEY injected when the container was started (configuration item config_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 require accessKey.

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 (data is null in this case).
  • data.bizCode: business code, 0 = accepted (started or queued); non-zero = not accepted, see bizMsg for the reason.

bizCode semantics (important)

bizCodeMeaning
0Accepted: bizMsg=STARTED (started immediately) or SCHEDULED (queued, waiting to be scheduled)
Non-zeroNot 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 PROGRESS returns 1.
  • Multi-map: failures consistently return -1, with bizMsg in the form error 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_reconstruction uses a different set of bizCode semantics (0 = no such job, 1 = running, 2 = complete, -1 = failed); see 4.3.

Path conventions

  • inputFolder / outputFolder / droneFolder / hdImageFolder / videoFile*Path are 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 /work disk space.

jobId lifecycle

  • When jobId is omitted, the system generates one (a timestamp plus a 4-character random string, in the form YYYYMMDD-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 to outputFolder.
  • ON: reconstruction results are written to the outputFolder/<jobId>/ subdirectory.

Regardless of the value, the endpoint first tries mkdir -p outputFolder/<jobId> to verify that the output directory is writable; only ON actually 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 passed deviceModel; the passed value is only used to precompute quality before detection, and the detected value is final.
  • Aerial/video: deviceModel is 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 code 0x3404102C); 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 typeGaussian 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_max to 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 default ON.

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 with LAST 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 by projectId.
  • 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 use len(subTasks) > 0 to identify a "fusion job" (queueing, resume, report template). If a single-map request includes HD / CP subtasks, 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 uses hdImageFolder; 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 droneFolder is 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, and 0 were all treated as ON (the pipeline only recognized exactly OFF) 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.

FieldValid valuesDescription
srcFrameEmpty, WGS84, CGCS2000Case-insensitive. The Japanese plane rectangular coordinate system can only be a target, not a source
dstFrameEmpty, 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=0 and data.bizCode=-1, with bizMsg naming 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; 0 uses all data.
  • timeRangeStart / timeRangeEnd define the crop range: when timeRangeEnd > timeRangeStart, the internal value is duration = timeRangeEnd - timeRangeStart, and timeRangeEnd is 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".

    • video mode: reads videoFile1Path (a single video file).
    • image mode: reads inputFolder (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.

FieldValuesApplicable endpointsDescriptionLicense dependency
lccOcrON/OFFSingle/multiNameplate recognition and text extraction; mutually exclusive with smart floor plan (lccAiConfig=1)OCR license
lccAiConfig0/1Single/multi/aerialSingle/multi 1 = indoor smart floor plan; aerial 1 = outdoor railway scene; video is not supportedSingle/multi require an AI license; aerial requires a developer data license
developerDataOutputON/OFFSingle/multi/aerial/videoOutput developer dataDeveloper data license
globalRelocationDataON/OFFSingle/multiMain 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=ONRobot relocalization license + developer data license
componentLevelRecognitionON/OFFSingle/multiComponent-level instancingComponent-level instancing license
equipmentLevelRecognitionON/OFFSingle/multiEquipment instancingEquipment instancing license
pointCloudFilteringON/OFF—Retired: sent values are ignored as an unknown field; point cloud filtering is now part of globalRelocationData—
pcamLayeringOptON/OFFSingle/multiLayered optimization (PortalCam)—
enableRayFilterON/OFFSingle/multiRay filtering, default ON (robot map sub-setting)—
removeNoiseGradeH/M/LSingle/multiDenoising strength H/M/L, default H (robot map sub-setting)—
lioMode""/0/1/2Single/multiLIO special mode: "" auto / "0" none / "1" robust / "2" narrow scene—
largeSceneSupportON/OFFMultiVery large scene fusion, default OFF; for very large scenes where fusion fails (for example, total scan duration >300min), set ON and retry—
lowMemory0/1Single/multi/aerialLow-memory mode, default 0; when server memory is below 64 GB, set 1 to reconstruct larger datasets—
exposure0/1Single/multi/aerial/videoExposure optimization, default 0 (disabled)—

lccAiConfig and lccOcr are mutually exclusive: smart floor plan (lccAiConfig=1) and OCR (lccOcr=ON) cannot be enabled together, otherwise a parameter error is returned.

When globalRelocationData is enabled, the internal AI scene is upgraded to outdoor_electric_road (outdoor electric road), and both global relocalization and point cloud filtering are driven; pointCloudFiltering is retired and no longer controls this separately.

Other fields at a glance

FieldTypeDescription
multiNodeRunON/OFFMulti-node parallel acceleration in a cluster (defaults to ON in a cluster, ignored outside a cluster); consumed by multi/aerial/video
executionNodes[]stringSpecifies the nodes to run on; once specified, the job must enter the queue first and be dispatched by the scheduler to the specified nodes
hookUrlstringStatus callback URL (see 4.4)
jobIdstringCustom job ID (idempotency); generated by the system if omitted
locationMapResolutionint (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
plannarMapResolutionint (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
userstringJob 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; buildType inside subtasks is covered under subTasks[]) / 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; outputFolderOrigin records 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:

FieldDescription
inputType"video" (default) / "image"
videoFile1PathRequired in video mode: a single video file path
inputFolderRequired 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"}}
  • path is 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.csv returns valid=false, not an HTTP error; code=400 is returned only when path is 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}}
  • multiType is required, with values 1-5 (1 single map / 2 map fusion / 3 air-ground fusion / 4 aerial / 5 video).
  • hdImageFolder is 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.
  • maxPointCloud is 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)

  1. POST /lcc_cloud/inspection/start → {"code":0,"data":{"id":"insp-..."}}
  2. Poll GET /lcc_cloud/inspection/status?id=<id> until data.status == "done".

Request body fields (all optional except projectPath; an invalid request returns code=400 and a msg naming the field):

FieldDescription
projectPathScan 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
projectPathsAll ground projects for a fusion scene, up to 50; ignored for "4"
droneFolderDrone image directory for air-ground fusion and aerial reconstruction; ignored for "2", required for "4"
enableGnssDroneON / OFF / empty, with the same value rules as the creation endpoints
rtkAutoDowngraded0 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:

keyMeaning
mapRtkCheckGround 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)
droneImageCountValidNumber 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
rtkCompleteWhether 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 passing enableGnssDrone:"OFF" at creation is recommended.
  • rtkSkipped: true: the switch is off, so detection was not performed.
  • warning but rtkDowngraded is 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.