Setting units on RCProjectImporter without coordinate system

Setting units on RCProjectImporter without coordinate system

Anonymous
Not applicable
592 Views
1 Reply
Message 1 of 2

Setting units on RCProjectImporter without coordinate system

Anonymous
Not applicable

RCProjectImporter seems to default to meters when creating .rcs point clouds from .las files, regardless of the units set on the original .las files. It was suggested to me that I could control this behavior by passing a targetCoordianteSystem to the RCImportFilesSettings struct associated with the call to RCProjectImporter::importFiles(). However we work with a number of .las files in a custom coordinate system that has no associated EPSG code that we can convert into an ADSK code. Is there any way that we can set the output units of the .rcs files in a way other than implicitly via the targetCoordianteSystem; or alternatively is there a way to generate a "dummy" ADSK targetCoordinateSystem that encodes unit information but nothing else?

0 Likes
593 Views
1 Reply
Reply (1)
Message 2 of 2

yan.fu
Alumni
Alumni

Currently, RealitySolutions SDK doesn’t support set unit for .las file.

 

A feasible solution is that you can write your own .las file codec to do the unit conversion to send the data into ReCap import engine.

You can download laszip SDK from https://github.com/LASzip/LASzip and then build LasCodec sample project. Then you can customize the sample Las Codec to your own need. 

0 Likes