Utility Measurement Workflows

Overview

The Cloneable Platform provides three pre-built measurement workflows designed for rapid integration of advanced measurement capabilities into utility applications. These workflows combine computer vision, augmented reality, and device sensors to provide accurate measurements of utility infrastructure with minimal configuration required.

Available Workflows

  1. Pole Measurement - Measure vertical utility structures including height, lean, attachments, and guy wires

  2. Midspan Measurement - Measure vertical distance from ground and clearances of spans

  3. Guy Anchor Measurement - Measure guy wire anchor locations and lead lengths

Key Features

  • Minimal Configuration: Start measuring with just a few lines of code

  • Flexible Inventory Options: Support for custom attachment types, wire classifications, and owner lists

  • Rich Data Output: Comprehensive CloneableJSON output with images, scaling data, and structured measurements

  • Accuracy Options: Standard and high-accuracy measurement modes

  • Offline Capable: Full functionality without internet connectivity

Integration Requirements

To use these workflows, you'll need:

  1. CloneablePlatform instance properly configured and authenticated

  2. CloneableWorkflowWrapper wrapping your UI content

  3. Appropriate permissions for camera and location

  4. iOS 17+ for full feature compatibility

Quick Start Example

import SwiftUI
import CloneablePlatformiOS

struct MeasurementView: View {
    @EnvironmentObject var cloneable: CloneablePlatform
    
    var body: some View {
        CloneableWorkflowWrapper(cloneablePlatform: cloneable) {
            VStack(spacing: 16) {
                Button("Measure Pole") {
                    Task {
                        let config = VerticalMeasurementConfiguration(
                            type: .pole,
                            accuracy: .highAccuracy
                        )
                        let result = try await cloneable.startVerticalMeasurement(config: config)
                        // Process result...
                    }
                }
                
                Button("Measure Guy Wire") {
                    Task {
                        let result = try await cloneable.startGuyWorkflow()
                        // Process result...
                    }
                }
            }
        }
    }
}

Documentation Structure

This documentation is organized into the following sections:

  • Configuration - How to configure workflows for your specific needs

  • Starting Workflows - Code examples for initiating measurements

  • Data Output - Understanding the complete measurement data structure

  • Working with CloneableJSON - Extracting and processing measurement data

  • Pole Measurements - Detailed pole measurement data and examples

  • Guy Wire Data - Guy wire vectors, calculations, and anchor locations

  • Midspan Data - Midspan measurement specifics and conductor data

Each section provides detailed examples and code snippets to help you integrate these powerful measurement capabilities into your utility applications.

Last updated