读入并合并pdal管道文件中的多个.las

问题描述 投票:0回答:1

我可以读入并输出管道文件中的单个.las文件。

如何读取两个.las文件,合并它们,然后根据以下示例应用过滤器和输出?

{
  "pipeline":[
    {
      "type":"readers.las",
      "filename":"E:\\offload\\3dspatial\\processed\\99.526\\201406071257\\201406071257.las",
      "spatialreference":"EPSG:32635"
    },
    {
      "type":"filters.chipper",
      "capacity":600
    },
    {
      "type":"writers.pgpointcloud",
      "connection":"host='localhost' dbname='db' user='user' password='pw'",
      "schema":"pointcloud_99_526",
      "table":"pc_201406071257",
      "compression":"dimensional",
      "srid":"32635"
    }
  ]
}
pipeline pdal
1个回答
0
投票

这似乎只是测试它。

{
  "pipeline":[
    {
      "type":"readers.las",
      "filename":"E:\\offload\\3dspatial\\processed\\99.526\\201607150650\\201607150650.las",
      "spatialreference":"EPSG:32635",
"tag":"A"
    },

    {
      "type":"readers.las",
      "filename":"E:\\offload\\3dspatial\\processed\\99.526\\201607140910\\201607140910.las",
      "spatialreference":"EPSG:32635",
"tag":"B"
    },


        {
            "type":"filters.merge",
            "tag":"merged",
            "inputs":[
                "A",
                "B"
            ]
        },


    {
      "type":"filters.chipper",
      "capacity":600
    },
    {
      "type":"writers.pgpointcloud",
      "connection":<info>,
      "schema":"pointcloud_99_526",
      "table":"pc_merge_201607150650_201607140910",
      "compression":"dimensional",
      "srid":"32635"
    }
  ]
}
© www.soinside.com 2019 - 2024. All rights reserved.