# LiDAR

## Convert .ldr to PCAP

This option allows you to convert a Velodyne .ldr file to a de facto standard network packet capture file format called a .pcap file. Many publicly available Velodyne HDL packet captures use this PCAP file format as a means of recording and playback.

![How to access Convert Velodyne .ldr to PCap in SpatialExplorer](/files/-LVoCayM9y-OFi_Rjkci)

{% tabs %}
{% tab title="Load .ldr file" %}
![Load a .ldr file to convert to .pcap](/files/-LVoEjqaDykCm91KmOWM)
{% endtab %}

{% tab title="Save .pcap file" %}
![Choose save location of converted .pcap file](/files/-LVoEtHggq55gXfXbMgW)
{% endtab %}
{% endtabs %}

## Convert .PCAP to .ldr

This option allows you to convert a .pcap file to a .ldr file. You can obtain .pcap files from Network Packet Analyzer Programs such as Wireshark which is available for most platforms, including Linux, MacOS and Windows.

![How to access Convert Velodyne PCap to .ldr in SpatialExplorer](/files/-LVoGd4Bf59pScvWtvfR)

In order to use this tool, a verification code is required. To acquire your verification code, send an email to <support@phoenixlidar.com> with the title “Velodyne PCap to ldr Verification Code Request” and a screenshot of the version information of SpatialExplorer (accessible from the toolbar by navigating to Help → About). The verification code is unique to the computer on which SpatialExplorer is installed. Each computer running SpatialExplorer requires a verification code.

![Verification code to convert .pcap file to .ldr file](/files/-LVoH-tC0bTH3kgJBHAo)

![SpatialExplorer Version Information](/files/-LVoHCXijTEhR3XOx5bC)

## Convert LiDAR Session Data to ASCII

![Select Sensor to Convert LiDAR data to CSV](/files/-Lt1iKvkghEu-hfAhWNQ)

![Select Sensor Session to Convert LiDAR data to CSV](/files/-Lt1iqoz4vCSPDlpVlJY)

{% tabs %}
{% tab title="Output Time Format" %}
![Select Output Time Format](/files/-Lt1qhDXYGDkPzEVxvUf)
{% endtab %}

{% tab title="List of Time Formats" %}
![List of Available Time Formats](/files/-Lt1qkajgWuF8oBrNyIY)
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Select Separator" %}
![Select Separator for CSV file](/files/-Lt1vDij5N0iYCGlty02)
{% endtab %}

{% tab title="List of Available Separators" %}
![Available Separators for CSV file](/files/-Lt1vWA_QHHgjP-TGsTs)
{% endtab %}
{% endtabs %}

![Choose Save Location and Name for CSV File](/files/-LtBEz-IcHjACRkaibAo)

## Convert Riegl RXP to SDCX (MTA Resolution)

Sometimes it might be necessary to convert the .rxp file into an .sdcx file to correct the LiDAR range data for MTA (multiple time around) zones written into the .rxp file. SpatialExplorer has a built-in tool that can convert the LiDAR data to a usable file for general point cloud production as a first step in post-acquisition.

![How to Access Convert Riegl RXP to SDCX in SpatialExplorer 5.0 and above](/files/-LqDpWiTRshb7r6abBkv)

Select the .rxp files that will be converted to .sdcx. This can be a single .rxp file or multiple .rxp files.

![Selecting rxp file for sdcx conversion in SpatialExplorer 5.0](/files/-LqOB3njodq_-sd_jt3U)

Once the .rxp files have been selected, the next dialog box will present the various options that can be used for MTA resolution. We recommend leaving the default values as is for processing.

![MTA resolution options in SpatialExplorer 5.0 and above](/files/-LqOBIvSsSH7YJSpoGAN)

Once the .rxp to .sdcx conversion has finished, the existing project must be closed and re-opened in SpatialExplorer in order to properly load the .sdcx files.

{% hint style="info" %}
It is recommended to save the project prior to closing to avoid any loss of changes/configuration.
{% endhint %}

## Extract Time Interval from RIEGL SDC

![How to access Extract Time Interval from Riegl .sdc in SpatialExplorer](/files/-LVoHVxk0JjC_8kNimAL)

![Load .ldr file associated with Riegl .sdc in SpatialExplorer for time extraction](/files/-LVoHiEklso8tjMv4Byp)

{% tabs %}
{% tab title="Beginning Time Extraction" %}
![Select beginning extraction time](/files/-LVoHswSrklROJqVTVaO)
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-6.phoenixlidar.com/lidarmill-desktop/user-interface/tools/lidar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
