- How do I convert an XYZ file to LAS?
- Drop the .xyz onto the converter above. It works out the delimiter, whether there's a header and what each column holds, and shows you a table of the columns. Check it, change anything that's wrong, pick LAZ or LAS and press Convert. It all happens on your own machine.
- Does it convert Leica PTS files?
- Yes. The point count on the first line is recognised and skipped, and the usual x y z intensity red green blue columns are read in that order. Leica intensity runs from −2048 to 2047, which LAS can't hold, so it's shifted onto 0 to 65 520 instead.
- What delimiters and number formats are supported?
- Any number of spaces, tabs, commas and semicolons, plus decimal commas like 1234,56, as European spreadsheets export them. Each possible layout is tried on many lines from the file, and the one that reads most lines the same way wins, so one odd line near the top doesn't decide it.
- How does it know which column is which?
- From the header when there is one: X, Y, Z, Easting, Northing, Intensity, Red, Green, Blue, Classification, GpsTime and their usual spellings. Without a header, the first three columns are X, Y and Z, three columns holding colour-like values are colour, three that always form a unit vector are normals, and the next one left over is intensity. Every guess is shown and can be changed.
- What precision are the coordinates stored at?
- The finest the file uses, between 1 mm and 1 cm. Two decimals are stored at 0.01 and three or more at 0.001, and Z gets its own scale by the same rule. Longitude and latitude in degrees are stored at 0.0000001°, about a centimetre, since at 0.001 every point would round to the nearest hundred metres.
- Is the coordinate system kept?
- Only if you add the .prj file that usually travels with the points. Drop it together with the point file, or add it afterwards, and its WKT is written into the LAS. Without one, no coordinate system is written.
- What happens to bad lines?
- They're skipped and counted. A line with too few values, or a value that isn't a number, is left out, and the result tells you how many there were and the line numbers of the first few. Blank lines and comments starting with # or // are skipped too.
- Which LAS version and point format does it write?
- LAS 1.4, point format 7 with colour and 6 without. Values LAS can't store, like intensity above 65 535 or a classification above 255, are set to the nearest value it can hold, and the result says how many points that affected. Normals aren't carried, since formats 6 and 7 have no field for them. PTX files aren't supported yet.
- Is there a file size limit?
- There's no fixed limit. The file is read a few megabytes at a time and the output is written to disk as it's produced, so neither has to fit in memory.
- Are my files uploaded? Do I need an account?
- No to both. The file is read and parsed in a background worker on your own device, and the LAS or LAZ is saved straight from your browser. Converting and downloading are free without signing in.