我可以读入并输出管道文件中的单个.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"
}
]
}
答案 0 :(得分: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"
}
]
}