“根据DGN文件的特性生成一个被剪切的LAS文件”的答案 https://knowledge.亚搏在线safe.com/questions/40937/producing-a-clipped-las-file-on-the-basis-of-featu.html 对“基于DGN文件的特性生成被剪切的LAS文件”问题的最新回答 答案由jdh https://knowledge.亚搏在线safe.com/answers/41125/view.html 是的,看起来clipper拒绝了152个功能。使用几何滤镜确保dgn是实心的。如果它们是自闭合的折线,你可以使用GeometryCoercer转换为面积,如果它需要多个特性来创建轮廓,那么你会想要使用AreaBuilder,你可能需要设置一个捕捉公差。请注意,AreaBuilder需要正确的拓扑输入(所有的线在交叉点被打断),并将为所有潜在的多边形创建区域特征。例如,甜甜圈将有甜甜圈和洞作为单独的特征 2017年3月10日星期五15:11:28 GMT jdh 答案由prasadkmurthy https://knowledge.亚搏在线safe.com/answers/41101/view.html 我还想检查一下,什么是最好的方法来转换DGN文件中选定的特性类型为“clipper”对象,可以提供给clipper转换器?任何指针表示赞赏。< / p >

I will add the Geometry filter as suggested by you.

格林尼治时间2017年3月10日星期五07:45:58 prasadkmurthy
回答,伊 https://knowledge.亚搏在线safe.com/answers/41096/view.html

Hi @prasadkmurthy

看起来有些进入LAS写入器的特性不是点云:

"LAS写入器:Failed to obtain pointcloud from feature。我建议你在LAS编写之前添加一个几何过滤器来过滤掉这些特性。< / p > < p >希望这有助于。< / p > 2017年3月10日星期五06:53:52 GMT 待会 答案由prasadkmurthy https://knowledge.亚搏在线safe.com/answers/41095/view.html

感谢@jdh。是的,我正在尝试使用Clipper xformer;但是,不确定如何将DGN文件中的特定FeatureType制作成“clipper”形状对象(查看了类似的示例,并看到了可以手动输入多边形顶点的Creator对象)

或者,我尝试从DGN读取器中选择要素类型,并将其直接传输到Clipper端口,但在运行Clipper时遇到了一些“致命”错误。。下面的示例:

开始翻译…

FME 2017.0.0(20170228-Build 17259-WIN64)

FME\u主页是“C:\Program Files\FME\”

FME数据库版(节点锁定crc)

序列号:0

临时许可证:还剩27天。

机器主机名是:DESKTOP-DPQV5B8启动-进程ID:14768,峰值进程内存使用率:38896KB,当前进程内存使用量:38700KB

格式的共享文件夹为:C:\Program文件\FME\datasources;C:\Users\kgpra\Documents\FME\Formats

变压器的共享文件夹为:C:\Program Files\FME\transformers;C:\Users\kgpra\Documents\FME\Transformers;C:\Users\kgpra\AppData\Roaming\Safe Software\FME\FME Store\Transformers

坐标系的共享文件夹是:C:\Users\kgpra\Documents\FME\coordinates systems

坐标系例外的共享文件夹是:C:\Users\kgpra\Documents\FME\coordinates系统例外的共享文件夹是:C:\Users\kgpra\Documents\FME\Coordinates SystemGridOverrides

CS-MAP转换异常的共享文件夹是:C:\Users\kgpra\Documents\FME\CsmapTransformationExceptions

变压器类别的共享文件夹是:C:\Users\kgpra\Documents\FME\TransformerCategories

FME配置:Reader关键字为`多个读卡器配置:写入器关键字为“多个写入器”

FME配置:写入器组定义关键字为“多个写入器定义”

FME配置:读卡器类型为“多个读卡器”

FME配置:写入器类型为“多个写入器”

FME配置:未设置目标坐标系

FME配置:当前工作文件夹为'C:\Users\k亚搏在线gpra\AppData\Local\Temp'

FME配置:临时文件夹为'C:\Users\kgpra\AppData\Local\Temp',从环境变量“TEMP”设置FME配置:FME\U HOME为“C:\Program Files\FME\”

FME配置:FME\U BASE为“否”

FME配置:FME\U MF\U DIR为“C:\Users\kgpra\AppData\Local\TEMP/”

FME配置:FME\U MF\U名称为“wb-xlate-1489127625109\U 11660”

FME配置:FME\U产品名称为“FME”2017.0.0.0'

系统状态:FME临时文件夹(C:\Users\kgpra\AppData\Local\Temp)中的可用磁盘空间为234.45 GB

系统状态:可用虚拟内存为128.00 TB

操作系统:Microsoft Windows 10 64位(Build 14393)

语言环境:en_in

代码页:1252(ANSI-Latin一)

FME配置:进程限制为5.89 GB物理内存

FME配置:当进程使用量超过17.67 GB虚拟内存时开始释放内存

FME配置:当进程使用量低于13.25 GB虚拟内存时停止释放内存

为格式创建写入程序:

为格式创建读卡器:

多读卡器(多读卡器):将因第一个成员读卡器故障而失败

多读卡器(多读卡器):添加带有关键字LAS_1的LAS读卡器(多读卡器):添加带有关键字DGNV8_1的DGNV8读卡器

使用带有关键字“多读卡器”的多读卡器读取多个数据集

为格式创建读卡器:ASPR Lidar数据交换格式(LAS)

试图为名为“LAS”的读卡器找到一个动态插件

从文件“C:\Program Files\FME\LIDAR\u FME.dll”加载模块“LAS”

模块“LAS”的FME API版本与当前内部版本(3.8 20161222)匹配

使用带有关键字“MULTI_WRITER”的MultiWriter输出数据(ID_属性为`多写入程序id')

写入程序输出将按多写入程序id的值排序

从文件“C:\Program Files\FME\plugins/LogCount\u func.dll”加载模块“LogCount\u func”

模块“LogCount\u func”的FME API版本匹配当前内部版本(3.8 20161222)

为格式创建写入程序:FME功能存储(FFS)

FME配置:未设置目标坐标系

从文件“C:\Program Files\FME\plugins/BreakpointFactory.dll”加载的模块“BreakpointFactory”

模块“BreakpointFactory”的FME API版本与当前内部版本(3.8 20161222)匹配

功能检查模块已初始化。Workbench@52270及FME@54874

FMEAPI version of module 'BreakpointFactory' matches current internal version (3.8 20161222)

FME API version of module 'BreakpointFactory' matches current internal version (3.8 20161222)

Loaded module 'RasterClippingFactory' from file 'C:\Program Files\FME\plugins/RasterClippingFactory.dll'

FME API version of module 'RasterClippingFactory' matches current internal version (3.8 20161222)

Loaded module 'SolidIntersectionFactory' from file 'C:\Program Files\FME\plugins/SolidIntersectionFactory.dll'

FME API version of module 'SolidIntersectionFactory' matches current internal version (3.8 20161222)

FME API version of module 'BreakpointFactory' matches current internal version (3.8 20161222)

... Last line repeated 2 times ...

Creating reader for format: Bentley MicroStation Design (V8)

Trying to find a DYNAMIC plugin for reader named `DGNV8'

Loaded module 'DGNV8' from file 'C:\Program Files\FME\plugins/DGNV8.dll'

FME API version of module 'DGNV8' matches current internal version (3.8 20161222)

DESIGN READER: Opening DGN V8 file 'C:\Users\kgpra\XXX_nad83_ALe_usft.dgn'

DESIGN READER: Using Enhanced geometry

DESIGN READER: Exploding cells into their component pieces

DESIGN READER: Unnamed_cells are not being expanded -- Donuts may be formed if multiple intersecting polygons existed which may not retain their original color

DESIGN READER: Only centerline of multiline will be imported

DESIGN READER: Exploding dimension element into its pieces

DESIGN READER: While processing XREF files, their parent's model will not be used

DESIGN READER: Discarding cell insert points

DESIGN READER: Discarding unnamed cell (groups) insert points

DESIGN READER: Assuming that master units are not equal to working units

DESIGN READER: Model 'Model' Coordinate Information:

DESIGN READER: 3048.0060960121923 UORs per subunit and 1 subunit per master unit

DESIGN READER: Global origin X: 2147483648 Y: 2147483648 Z: 2147483648

DESIGN READER: One FME Feature coordinate unit is equal to 3048.0060960121923 UORs (Master Units)

Adding Clipper 1

DESIGN READER: Closing DGN V8 file

MULTI_READER(MULTI_READER): Done reading 2232 features from 2 readers

Emptying factory pipeline

Router and Unexpected Input Remover(RoutingFactory): Tested 2232 input feature(s), wrote 2232 output feature(s): 78 matched merge filters, 78 were routed to output, 2154 could not be routed.

Unexpected Input Remover Nuker(TeeFactory): Cloned 2154 input feature(s) into 0 output feature(s)

LAS (LAS_1) Splitter(TeeFactory): Cloned 1 input feature(s) into 1 output feature(s)

Otherline Centerline (DGNV8_1) Splitter(TeeFactory): Cloned 76 input feature(s) into 76 output feature(s)

North_Jacksonville_buffer (DGNV8_1) Splitter(TeeFactory): Cloned 1 input feature(s) into 1 output feature(s)

Clipper_ClipperCloner(TeeFactory): Cloned 77 input feature(s) into 154 output feature(s)

Clipper_SolidClipperFilter(TestFactory): Tested 77 input feature(s) -- 0 feature(s) passed and 77 feature(s) failed

Clipper_ClippeeFilter(TestFactory): Tested 1 input feature(s) -- 0 feature(s) passed and 1 feature(s) failed

Point Cloud Clipping: Clipped 3680000 of 9144706 points

Point Cloud Clipping: Clipped 6780000 of 9144706 points

Point Cloud Clipping: Clipped 9080000 of 9144706 points

Point Cloud Clipping: Clipped 9144706 of 9144706 points

FFS writer: Writing point cloud with 6571236 point(s) to file 'C:\Users\kgpra\AppData\Local\Temp\no-conn-ffs-1489127627252_11660_1.fps'

FFS writer: 5740000 of 6571236 points written

FFS writer: 6571236 of 6571236 points written

FFS writer: Writing point cloud with 2573470 point(s) to file 'C:\Users\kgpra\AppData\Local\Temp\no-conn-ffs-1489127627252_11660_2.fps'

Clipper_Vector(ClippingFactory): Processed 1 input feature(s), of which 0 feature(s) were clipped, 0 feature(s) were totally inside and 0 feature(s) were totally outside

Clipper_Nuker(TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)

Destination Feature Type Routing Correlator(RoutingFactory): Tested 154 input feature(s), wrote 154 output feature(s): 0 matched merge filters, 154 were routed to output, 0 could not be routed.

Final Output Nuker(TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)

Stored 232 feature(s) to FME feature store file `C:\Users\kgpra\AppData\Local\Temp\no-conn-ffs-1489127627252_11660.ffs'

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Feature output statistics for `FFS' writer using keyword `W_1':

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Features Written

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Clipper_<REJECTED> 152

Clipper_INSIDE 1

Clipper_OUTSIDE 1

LAS_LAS_1 1

XXX_buffer_DGNV8_1 1

Otherline Centerline_DGNV8_1 76

==============================================================================

Total Features Written 232

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

MULTI_WRITER: multi_writer_id `1': Started outputting features

Creating writer for format: ASPRS Lidar Data Exchange Format (LAS)

Trying to find a DYNAMIC plugin for writer named `LAS'

FME API version of module 'LAS' matches current internal version (3.8 20161222)

FME Configuration: No destination coordinate system set

FME API version of module 'LAS' matches current internal version (3.8 20161222)

Writer `LAS_3' of type `LAS' using group definition keyword `LAS_3_DEF'

FME API version of module 'LAS' matches current internal version (3.8 20161222)

LAS writer: Directive '_VERSION' has the value '1.2'

LAS writer: Directive '_COMPRESSION' has the value 'None'

LAS writer: Writing point cloud with 2573470 point(s) to file 'C:\Users\kgpra\colored\las-in.las'

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Feature output statistics for `LAS' writer using keyword `LAS_3':

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Features Written

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

las-in 1

==============================================================================

Total Features Written 1

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

MULTI_WRITER: multi_writer_id `1': done writing 1 feature(s)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

MULTI_WRITER: multi_writer_id `2': Started outputting features

Creating writer for format: ASPRS Lidar Data Exchange Format (LAS)

Trying to find a DYNAMIC plugin for writer named `LAS'

FME API version of module 'LAS' matches current internal version (3.8 20161222)

FME Configuration: No destination coordinate system set

FME API version of module 'LAS' matches current internal version (3.8 20161222)

Writer `LAS_4' of type `LAS' using group definition keyword `LAS_4_DEF'

FME API version of module 'LAS' matches current internal version (3.8 20161222)

LAS writer: Directive '_VERSION' has the value '1.2'

LAS writer: Directive '_COMPRESSION' has the value 'None'

LAS writer: Writing point cloud with 6571236 point(s) to file 'C:\Users\kgpra\colored\las-out.las'

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Feature output statistics for `LAS' writer using keyword `LAS_4':

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Features Written

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

las-out 1

==============================================================================

Total Features Written 1

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

MULTI_WRITER: multi_writer_id `2': done writing 1 feature(s)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

MULTI_WRITER: multi_writer_id `3': Started outputting features

Creating writer for format: ASPRS Lidar Data Exchange Format (LAS)

Trying to find a DYNAMIC plugin for writer named `LAS'

FME API version of module 'LAS' matches current internal version (3.8 20161222)

FME Configuration: No destination coordinate system set

FME API version of module 'LAS' matches current internal version (3.8 20161222)

Writer `LAS_5' of type `LAS' using group definition keyword `LAS_5_DEF'

FME API version of module 'LAS' matches current internal version (3.8 20161222)

LAS writer: Directive '_VERSION' has the value '1.2'

LAS writer: Directive '_COMPRESSION' has the value 'None'

LAS writer: Failed to obtain point cloud from feature. Only features with point cloud geometry are expected

A fatal error has occurred. Check the logfile above for details

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Feature output statistics for `LAS' writer using keyword `LAS_5':

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Features Written

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

las-rej 1

==============================================================================

Total Features Written 1

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

A fatal error has occurred. Check the logfile above for details

A fatal error has occurred. Check the logfile above for details

FME Session Duration: 42.8 seconds. (CPU: 16.6s user, 6.0s system)

END - ProcessID: 14768, peak process memory usage: 485476 kB, current process memory usage: 68816 kB

A fatal error has occurred. Check the logfile above for details

Program Terminating

Translation FAILED.

During translation, some features were read that did not match a reader feature type in the workspace. This can happen if the reader dataset is changed, or a reader feature type removed or renamed.

2017年3月10日星期五06:42:13 GMT prasadkmurthy
答案由jdh https://knowledge.亚搏在线safe.com/answers/40946/view.html 快船不做这项工作有什么原因吗?< / p > 星期二,2017年3月7日15:51:11 GMT jdh