[pdal] las to geotif

Sergey Yefimov syefimov at ptfs.com
Fri Jun 7 14:33:06 PDT 2024


Hi,
I try to convert las to geotiff using this pipeline

"pipeline":[
      {"type" : "readers.las",
      "filename":"C:\\KVData\\source\\las\\test.las"
      },
      {
            "type":"writers.gdal",
            "filename":"C:/KVData/source/tiff/ttest.tif",
            "resolution":1.0,
            "output_type":"all",
            "gdaldriver":"GTiff"
      }
    ]

After conversion invalid 2 KB tiff file created. las info:

{
  "file_size": 137422487,
  "filename": "C:\\KVData\\source\\las\\test.las",
  "now": "2024-06-07T17:09:19-0400",
  "pdal_version": "2.7.1 (git-version: Release)",
  "reader": "readers.las",
  "stats":
  {
    "bbox":
    {
      "EPSG:4326":
      {
        "bbox":
        {
          "maxx": -75.606374,
          "maxy": 35.9592838,
          "maxz": 29.71,
          "minx": -75.6350255,
          "miny": 35.942234,
          "minz": -11.88
        },
        "boundary": { "type": "Polygon", "coordinates": [ [ [ -75.6350255, 35.942234, -11.88 ], [ -75.6350255, 35.9592838, -11.88 ], [ -75.606374, 35.9592838, 29.71 ], [ -75.606374, 35.942234, 29.71 ], [ -75.6350255, 35.942234, -11.88 ] ] ] }
      }, ..
"statistic":
    [
      {
        "average": -75.62226764,
        "count": 4907929,
        "maximum": -75.606374,
        "minimum": -75.6350255,
        "name": "X",
        "position": 0,
        "stddev": 0.005315505055,
        "variance": 2.825459399e-05
      },
      {
        "average": 35.95136764,
        "count": 4907929,
        "maximum": 35.9592838,
        "minimum": 35.942234,
        "name": "Y",
        "position": 1,
        "stddev": 0.002706953159,
        "variance": 7.327595404e-06
      },..
}






| P | T | F | S |

Empowering Content

1801 Research Blvd

Suite 310

Rockville, MD  20850

301 654 8088 Ext 131

www.ptfs.com<http://www.ptfs.com/>

syefimov at ptfs.com<mailto:udoh at ptfs.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20240607/81519d50/attachment-0001.htm>


More information about the pdal mailing list