西班牙
斯潘4
您好!@静脉如果期望的IDS是基于1的序号,则可以用这个过程将表中的每个ID从1生成到最大ID。
然后,使用id作为连接键合并原始特征和由featuremerger生成的特征。从未合并端口将包含所需的丢失ID。
或者,如果您熟悉python脚本,pythoncaller将是一个快速的解决方案。
#pythoncaller脚本示例import fmeobjects类featureprocessor(object):def\uu init\uu(self):self.ids=set([])def input(self,feature):self.ids.add(int(feature.getattribute('id'))def close(self):对于排序中的id(set(range(1,max(self.ids)+1))-self.ids:feature=fmeobjects.fmefeature()feature.setattribute('id',,id)self.pyoutput(特性)
?2019安全亚搏在线软件公司|合法的