哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! 哎呀! fme_python_版本34gui忽略源数据集_textline_textline_1,textline_编码_textline_1,源数据集_地理数据库_文件_1,地理数据库_文件_其中_地理数据库_文件_1,地理数据库_文件_翻译_空间数据_只_地理数据库_文件_1,地理数据库_文件_解析_域名_地理数据库_文件_1,地理数据库_文件_解析_子类型_解析_子类型_名称_地理数据库_名称_地数据库\__文件_1地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,在分割复杂边缘的地理数据库文件,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,在分割的多个部分的地理数据库,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,在搜索的信封中的地理数据库文件,地理数据库中的地理数据库文件,地理数据库中的地理数据库文件,地理数据库,地理数据库。搜索信封中的文件数据库_文件_1,地理数据库_文件_搜索_信封_maxx _地理数据库_1,地理数据库_文件_搜索_搜索_信封_maxy _地理数据库_文件_1,地理数据库_文件_剪辑_至_信封_地理数据库_文件_1,_地理数据库分割完成注释_地理数据库_文件_1,_地理数据库_文件u搜索_信封_信封_搜索_信封_信封_信封_搜索_地质数据库\u搜索_地理数据库u文件_文件坐标系地理数据库e_1,u geodbeinsearch特征_ge数据库_文件_1,_geodbeinsearch顺序_ge数据库_文件_1,u geodbeinsearch方法_geod数据库_文件_1,_geodbeinf自然自述模式_geod数据库_文件_1,_geodbeinchesimplegegegegegeome地理数据库_文件_1,_gedbmergefeftlinkedannos _ge数据库_文件_1,_geodbeinbeginsql _geodbinedsql _geodsql _geodSQL _geod数据库_地理数据库文件_1,目标数据集_xlsxw_1,xlsxw_out_overoveroverwriteu file_XLSxw_1,XLSxw_out_templatefile_XLSxw_1default_macmacro src_gdb gui source_gedatabase src_gdb sourcesri文件gedatabase:默认_macro dests数据集_XLSxw gui文件名des数据集_XLSxw Excel U文件(*.XLSx;*.XLSM;*.XLS);*.XLSx;*.XLSM;*.XLS;所有_文件(*.;*.*目标Microsoft Excel文件:包括[if((((((((((_)src U gdb)=投入必须给S_real参数'src_gdb'赋值。退出1;};]include[if$(destDataset _xlsxw)=puts real参数'destDataset _xlsxw'必须给定值。退出1;};]#你说什么?START_HEADER # !START_WB_HEADERREADER_TYPE MULTI_READERMULTI_READER_TYPE{0} TEXTLINEMULTI_READER_KEYWORD{0} TEXTLINE_1MULTI_READER_GEN_DIRECTIVES{0} MULTI_READER_TYPE{1} NULLMULTI_READER_FORMAT{1} NULLMULTI_READER_KEYWORD{1} GEODATABASE_FILE_1MULTI_READER_GEN_DIRECTIVES{1} SEARCH_ENVELOPE_MINX,0,SEARCH_ENVELOPE_MINY,0,GEODATABASE_FILE_EXPOSE_FORMAT_ATTRS,,_MERGE_模式,是,其中,,使用搜索信封,否,仅翻译空间数据,否,忽略关系信息,否,分割复杂边缘,否,剪辑到信封,否,分割多个部分的注释,否,解析域,是,表列表,搜索信封的最大x,0,忽略网络的信息,否,搜索信封的最大x,0,解析子类型的名称,no writer,no writer类型的多写多写多写多写多写多写数据集,按“i i i i i i i i i i i i i u数据集”排序一个dmulti_writer_first_writer_id 0 multi_writer_type 0 xlsxwmulti_writer_keyword 0 xlsxw_1!Enth-WbHead头!启动“wb_headermacro wb_keyword”textline_1“!Enth-WbHead头!start_source_header textline textline_1用户输入存储在宏中,然后,用于定义要读取的数据集。生成此映射文件的数据集是:gui文件名源数据集_textline _1文本/压缩的_文本文件(*.txt;*.txt.gz).txt;*.txt.gz文本.txt压缩的文本文件(*.txt.gz).txt.gz所有.*源文本文件:===================================================35;允许强制编码源文本文件默认_宏文本行_在_编码_文本行_1 gui可选字符串_或_选择文本行_在_编码_文本行_1 utf-8%utf-16le%utf-16be%ANSI%Big5%Sjiis%CP437%CP708%CP720%CP737%CP737%CP737%CP775%CP850%CP852%CP855%CP855%CP857%CP857%CP8600%CP861%CP861%CP862%CP863%CP863%CP864%CP864%CP865%CP866%CP866%CP866 9%CP932%CP936%CP950%CP1250%cp1251%cp1252%cp1253%cp1254%cp1255%cp1256%cp1257%cp1258%iso8859-1%iso8859-2%iso8859-3%iso8859-4%iso8859-5%iso8859-6%iso8859-7%iso8859-8%iso8859-9%iso8859-13%iso8859-15字符编码:textline_1_encoding$(textline_encoding_textline_1)!结束_source_header!启动$(sourcedataset)!=“”\输入默认宏源数据集_textline _1$(源数据集)\]!Enth-WbHead头!开始_source_header textline textline_1default_macro source dataset_textline_1$temp \temp.fme textline_1_dataset“$(source dataset_textline_1)”textline_1_generate_fme_build_num 5197!结束_source_header!启动“geodatabase”文件“1”!Enth-WbHead头!启动_source_header geodatabase_file geodatabase_file_1 geodatabase file geodatabase然后用于定义要读取的数据集。生成此映射文件的数据集是:!结束_source_header!{\ put {DEFAULT_MACRO SourceDataset_GEODATABASE_FILE_1 $(SourceDataset)} \}]#!Enth-WbHead头!启动_source_header geodatabase_file geodatabase_file_1default_macro sourcedataset_geodatabase_file_1$(src_gdb)gui source_geodatabase sourcedataset_geodatabase_file_1 source esri file geodatabase:转换标志。==============================以下定义要使用的全局where子句d从geodatabase中检索功能时。默认的_macro geodatabase _file_,其中_geodatabase _file _1 geodatabase _file _,其中“$(geodatabase _file _,其中_geodatabase _file _1)”gui可选文本geodatabase _file _,其中_geodatabase _file _1 where子句中:===============================================无论是非空间数据,比如桌子,亚型,域、和关系类,GET translatedDefault_macro geodatabase_file_translated_spatial_data_only_geodatabase_file_1 no geodatabase_file_1_translate_spatial_data_only”$(geodatabase_file_in_translate_spatial_data_only_geodatabase_file_1)”gui可选复选框geodatabase_file_in_translate_spatial_data_only_geodatabase_1 yes%no spatial data only==========='================================================确定是否解析域默认的\u宏地理数据库\u文件\u解析域\u地理数据库\u文件\u 1是地理数据库\u文件\u解析域“$(地理数据库\u文件\u解析域\u地理数据库\u文件\u文件\u 1)”GUI可选复选框地理数据库\u文件\u解析域\u地理数据库\u文件\u文件\u 1是%n否re求解域文本描述将作为功能上的属性添加。默认的“宏地理数据库”文件位于“解析”子类型“名称”地理数据库“文件”中,默认的“宏地理数据库”文件位于“解析”子类型“名称”中,默认的“宏地理数据库”文件位于“解析”子类型“文件”中,默认的“解析”子类型“名称”中,默认的“宏地理数据库”文件位于“解析”子类型“名称”中,默认的“解析”子类型“名称”中,默认的“宏地理数据库”文件位于“解析”子类型“文件”中,默认的“宏地理数据库”文件位于“解析”子类型“否”中ubtypes譁譁譁譁譁譁譁譁譁确定是否忽略与来自网络功能类的功能譁关联的网络信息。当设置为“是”时,接头将被视为点特征,边缘将被视为折线特征,将geodb_类型设置为geodb_点和geodb_折线,分别。将此关键字的值更改为与创建映射文件/工作区时指定的值不同的值时应小心。默认的_ignore_network_info_geodatabase_file_1 nogeodatabase_file_ignore_network_info”$中的_macro geodatabase_file_ignore_network_info”$(geodatabase_file_in_ignore_network_info_geodatabase_file_1)“GUI选项al checkbox geodatabase_file_ignore_network_info_geodatabase_file_1 yes%no ignore network info中的geodatabase_file_决定是否忽略与来自包含关系的功能类的功能相关联的关系信息。当设置为“是”时,简单关系不会被读取,属性化关系将作为表读取。当将此关键字的值更改为与创建映射文件/工作区时指定的值不同的值时,应小心。默认的“忽略关系”中的“宏地理数据库”文件“-u忽略关系”中的“宏地理数据库”文件“-u信息”地理数据库“-u文件”中的“nogeodatabase”文件“-u忽略关系“-u信息”$(地理数据库“-u文件”中的“忽略关系”图形用户界面选项al checkbox geodatabase_file_ignore_relationship_info_geodatabase_file_1 yes%no ignore relationship info确定是否应拆分复杂边缘功能,每个边缘元素读取为单独的功能默认行为是将整个边缘*特征*视为一个FME特征,而不是边缘*元素*作为FME特征。返回边缘元素可确保读取复杂边缘上的所有网络连接信息。默认情况下,“拆分复杂边缘”中的“宏地理数据库”文件“-u拆分复杂边缘”中的“宏地理数据库”文件“-u地质数据库”文件“-u 1拆分复杂边缘”$(地理数据库“-u拆分复杂边缘”中的“地理数据库”文件“-u拆分复杂边缘”中的“地理数据库”可选复选框“拆分复杂边缘”中的“地理数据库”文件“-u地理数据库”e_file_1 yes%no split complex edges譁譁譁譁譁譁譁譁譁譁譁譁譁譁默认行为是将# whole annotation *feature*视为FME特性,而不是注释*元素*作为一个FME特征。返回边缘元素确保保留每个元素的所有旋转和位置信息。默认的“拆分”中的“宏地理数据库文件”在“拆分”中的“多部分”中的“地理数据库文件”在“拆分”中的“地理数据库文件”在“拆分”中的“多部分”中的“地理数据库文件”在“拆分”中的“地理数据库文件”Art诳annos_geodatabase_file_1 yes%no split multi-part annotations诳include this file in source setting section to add native search envelope processing诳zero as a default means we don't do any search--This make workbench happer诳诳==========================================default_macronvelope_minx_geodatabase_file_1 0geodatabase_file_1_search_envelope“$(geodatabase_file_in_search_envelope_m in x_geodatabase_file_1)”gui可选浮动geodatabase_file_in_search_envelope_m in x_geodatabase_file_1 minimum x:===========================默认_macro geodatabase_file_in_search_envelope_min y_geodatabase_file_1 0geodatabase_file_1_search_envelope“$(geodatabase_file_in_search_envelope_miny_geodatabase_file_1)”图形用户界面可选浮动geodatabase_file_in_search_envelope_miny_geodatabase_file_1 minimum y:===========================默认_macro geodatabase_file_in_search_envelope_maxx_geodatabase_file_1 0geodatabase_file_1_search_envelope“$(geodatabase_file_in_search_envelope_maxx_geodatabase_file_1)”gui可选float geodatabase_file_in_search_envelope_maxx_geodatabase_file_1 maxx:================================默认_macro geodatabase_file_in_search_envelope_maxy_geodatabase_fiLe_1 0geodatabase_file_1_search_envelope“$(geodatabase_file_in_search_envelope_maxy_geodatabase_file_1)”GUI可选浮动geodatabase_file_in_search_envelope_maxy_geodatabase_file_1 maximum y y:====================================================默认_macro geodatabase_file_in_clip_to_envelope_geodatabase_file_1 nogeodatabase_file_1_clip_to_envelope“$(geodatabase_file_in_clip_to_envelope_geodatabase_file_1)”gui可选复选框geodatabase_file_in_clip_to_envelope_geodatabase_file_1 Yes%no clip to search envelope应该划分为更简单的表示形式。默认的“宏”geodbsplitcomplexAnnotations“地理数据库”file“nogui选项”geodbsplitcomplexAnnotations“地理数据库”file“是”no split complexAnnotations“地理数据库”file“1”split“复杂”annos$(“地理拆分complexAnnotations”geodbsplitcomplexAnnotations“地理数据库”file“1”)\u==================以下指定是保留(是)还是清除(否)ESRI的多路径纹理缓存。默认的_宏_geodbachemultipatchtextures _geodatabase _文件_1 yesgui选项_geodbachemultipatchtextures _geodatabase _文件_1是%n缓存多路径纹理:geodatabase _文件_缓存_多路径纹理$(_geodbachemultipatchtextures_geodatabase_file_1)Ile_1_search_envelope_coordinate_system$(_search_envelope_coordinate_system_geodatabase_file_1)”中的_geodb_)35;譁================================================譁以下内容决定是否对弧进行矢量化。如果split_at_arcs设置为yes,然后圆弧不会被矢量化,包含圆弧的直线/多边形会被分割成直线段和圆弧段。35;更新:使用丰富的几何图形时,此关键字不适用。自所有新的映射文件/工作区均已将“使用”几何设置为“是”,然后我们不需要公开此关键字。35;默认_宏_geodbinsplit状态arcs否默认_宏_geodbinsplit状态arcs否 GUI可选选择_geodbinsplit状态arcs是%弧处不分割\35;地理数据库_文件_分割_弧处分割u弧处分割”$(_geodbinsplit状态ars _geodbinsplit状态arcs _地理数据库_地理数据库_地理数据库_文件_1)“==========================================下面定义了查询的搜索功能。它将任意复杂的搜索特性定义为空间约束。它的形式是 _搜索功能[ ]+.default_macro geodinsearchfeature_geodatabase_file_1 gui可选文本_geodinsearchfeature_geodatabase_file_1搜索功能:geodatabase_file_1_search_feature$(_geodinsearchfeature_geodatabase_file_1)确定是空间组件还是属性组件首先执行查询的ENT。这仅适用于同时执行空间和非空间搜索的情况。默认的“宏”geodbinsearchorder“地理数据库”file“1空间”firstgui可选选择“地理数据库”geodbinsearchorder“U地理数据库”file“1空间”first%属性“U第一搜索顺序:地理数据库”file“U 1搜索”order$(“地理数据库”geodbinsearchorder“U地理数据库”file“U 1”)(====)=================================================确定要使用的搜索方法类型。仅当指定了关键字搜索信封或关键字搜索功能时,此关键字才适用。默认的“宏”geodbinsearchmethod“地理数据库文件”geodb“相交”gui可选选项“geodbinsearchmethod”geodatabase“文件”geodb“相交”geodb“相交”geodb“相交”geodb“相交”geodb“接触”geodb“重叠”geodb“相交”geodb“相交”geodb“相交”geodb“接触”geodb“重叠”geodb“相交”geodb“在%geod内”b_包含搜索方法geodatabase_file_1_search_method$(_geodbinesearchmethod_geodatabase_file_1)譁譁譁譁aturereadmode_geodatabase_file_1 featuresgui choice _geodinfeaturereadmode_geodatabase_file_1 features%元数据功能读取模式:geodatabase_file_1_feature_read_模式“$(_geodinfeaturereadmode_geodatabase_file_1)”===============================================以下指定简单几何图形应为Che当读取features.default_macro_geodbenchecksimplegeom_geodatabase_file_1 nogui choice_geodbenchecksimplegeom_geodatabase_file_1 yes%no检查简单几何:geodatabase_file_1_check_simple_geom$(_geodbenchecksimplegeom_geodatabase_file_1)35;======================指定在读取时,是否应将功能链接的批注作为文本列表属性合并到主功能中。默认值\u macro \u geodmergefeaturelinkedanos \u geodatabase \u file \u 1 nogui choice \u geodmergefeaturelinkedanos \u geodatabase \u file \u yes%no合并功能链接的批注:geodatabase \u file \u merge \u feature \u linked \u annos$(\u geodergeffeaturelinkedannos_geodatabase_file_1)=========================================================以下指定在打开第一个地理数据库表之前要执行的SQL命令。默认的_macro geodbinbeginsql_geodatabase_file_1 gui可选文本_edit_sql _geodbinbeginsql_geodatabase_file_1要在TRA之前执行的SQL语句nslation:geodatabase_file_1_begin_sql_0“$(_geodbinbeginsql_geodatabase_file_1)”==================================================================================以下指定在关闭所有地理数据库表后执行的SQL命令。默认值_macro_geodbinedsql_geodatabase_file_1 gui可选文本_edit_sql_geodbinedsql_geod数据库_file_1转换后要执行的SQL语句:geodatabase_file_1_end_sql 0“$(_geodbinedsql_geodatabase_file_1)”geodatabase_file_1_dataset“$(sourcedataset_geodatabase_file_1)”geodatabase_file_1_generate_fme_build_num 13545!结束_source_header!启动“wb_headermacro wb_keyword”xlsxw_1“!Enth-WbHead头!首先获取数据库的数据集。对于Excel,这是文件名。现在,我们将使用他们在生成这个映射文件时所拥有的一切,而不是重新提示!结束“目标”标题!启动“wb_headerdefault”宏destdatasetinclude[如果“$(destdataset)”!=“”\放置默认宏目标数据集_xlsxw_1$(目标数据集)\]!Enth-WbHead头!Start_Dest_Header XLSXW XLSXW_1默认_Macro DestDataset_XLSXW_1$(DestDataset_XLSXW)GUI文件名DestDataset_XLSXW_1 Excel_文件(*.xlsx;*.xlsm;*.xls).xlsx;*.xlsm;*.xls所有_文件(*.*)*.*目标Microsoft Excel文件:35;=======================================================是否覆盖文件默认值_macro xlsxw-u out _over覆盖_文件_xlsxw_1 yes xlsxw_1_over覆盖_文件”$(XLSxw _out _over覆盖_文件_XLSxw_1)”gui选项xlsxw _out _覆盖_文件_XLSxw_1是%1是%1否覆盖现有文件:模板文件选项默认_宏XLSxw_out模板文件_XLSxwu 1 XLSxw_1_模板文件”$(XLSxw_out _模板文件_XLSxxxw u XLSxw uXLSxw _1)“gui可选文件名\u必须存在xlsxw \u out \u templatefU XLSXW U 1 Excel U文件(*.XLSX;*.XLSM;*.XLSM;*.XLS);*.XLSX;*.XLSM;*.XLS Excel U Workbook U 2007(*.XLSX);*.XLSX;Excel U Macro U工作簿(*.XLSM);*.XLSW U 1 Excel U 1 Excel U 1 Excel U 1 Excel U 1 Excel U 1 Excel U文件文件(*.XLSX;*.XLSX;*.XLSM;*.XLSM;*.XLSM;*.XLSM;*.XLS;*.XLS;*.XLS;*.XLS;;*.*.*.*.*.*模板文件:\\特征类型,但不会保留为“编写器级别设置”而保留为“编写器级别设置”删除“功能类型第一默认值”u宏XLSxw_出_出_出_表_XLSxw_1 Noxlsxw_1_出_表“$(XLSxw_出_出_表_XLSxw_1)”\35;首先截断“功能类型(删除所有单元数据、重新设置信息/标题等)默认值u宏XLSxw出_出截断_表_XLSxw_1 Noxlsxxw_1_截断_表”1_截断_表“_表”截断_表”_表“_表”$(XLSxxxw$(xlsxw_out_truncate_table_XLSxw_1)”35;是否写出字段名(或justthedata)默认_宏XLSxw_外场_外场_外场_外场_XLSxw_1 yesxlsxw_1_外场_外场名_外场_外场名_外网_XLSxw _1)”\35\35;默认编写器模式默认_宏XLSxw _外场名(或justthedata)默认_宏XLSxw \_宏XLSxw_外场u外场_外场_外场名_外场XLSXW_Out_Writer_Mode_XLSXW_1)“XLSXW_1_DataSet”$(DestDataset_XLSXW_1)”XLsxw_1_生成_fme_build_num 13545!结束“目标”标题!START_WB_HEADER # !Enth-WbHead头!end-headerLog文件名“$(FME_-mf_-dir)从地理数据库_-gdb_py34.log”log“日志”append nolog_-filter_-mask-1log_max_-feature200日志最大记录的特点200FME_-headerLog_-headerLog_文件名”$(FME-mf_-headerLog_-headerLog_文件名”$(FME-mf_-mf_-mf_-dir)从地理数据库_-geodb_py34.log.log”log“日志”log“日志”append-appappappappend nolog_-filter_-masu-mas罩-1log_-max超级计算机ro dataset_keyword_geodatabase_file_1 geodatabase_file_1 default_macro dataset_keyword_xlsxw_1 xlsxw_1诳诳诳诳诳诳诳诳诳诳ature_type------------------------------------------------multi_reader_continue_on_reader_failure nofme_begin_tcl fme_decode lappend 系统字符串 fme_宏值 家庭-Unix fme 卷边 系统字符串 生成 卷边 系统字符串 地理数据库文件 卷边 系统字符串 卷边 系统字符串 fme_宏值 SRCG-GDB 卷边 系统字符串 env 临时雇员 温度FME 卷边 系统字符串 --解析域 卷边 系统字符串 卷边 系统字符串 1个 埃瓦 执行程序 系统字符串 #——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————luation single_pass input feature_type*route text line text line_1::text_line multi_reader_keyword,$(dataset_keyword_text line_1)to fme_generic::text_line alias_geometry merge_input yes output routed feature_type*text line_1_merge_def text line_1::text_line exact text_line---------工厂定义*teefactory工厂名称“text_line(text line_1)splitter”输入功能_type text_line输出功能_type text_line _text line _1默认_macro wb_current_context----------------------------------------------macro casemainclude[如果否放置macro casemac-nocase]tcl2 proc stringsearcher_b11fcb19_b895_42ad_ae52_8ba93eedc6960_dogrep regexp设置结果[regexp-inline$(casemac)[fme _decodetext$regexp][fme getattribute“text line];设置attrname匹配的字符设置索引0;{FME_SetAttribute $attrName $part;设置attrname“_matched$index”增量指数;};如果$index>0 fme unsetattributes$attrname;};返回美元指数;}工厂定义*测试工厂名称StringSearcher输入功能_type text_line_text line_1 test@tcl2(“StringSearcher_b11fcb19_b895_42ad_ae52_8ba93eedc6960_dogrep coded_domain”)>0输出传递的功能_type StringSearcher_matched-----------------------fme_python_path”$(fmed_mf_dir)“工厂定义*pythonfactory工厂名称pythoncaller输入功能_type stringsearcher_matched symbol_name parsedomains source_code def 副域 特征 startIndex = 0 引文 = 0 代码 = 价值观 = 临时列表 = #文本行 = feature.getStringAttribute属性 文本数据 文本行 = feature.getattribute属性 文本数据 # 这个 列表 之间 圆括号 开始 = textline.index(文本行索引) + 1个 结束 = textline.index(文本行索引) 文本行 = 文本行 开始:结束 # 解码 这个 世界卫生杂志 编码 使用 TCL 呼叫 Tclfunc公司 = TCL2 FME解码文本 + 文本行 + 文本行 = feature.perform功能 Tclfunc公司 # 野蛮的 正在分析 进入之内 临时列表 对于 在里面 范围 伦恩 文本行 如果 文本行 .计数 你说什么?=0 引文 == 0: 临时列表.append 文本行 启动索引:I startIndex = + 1个 否则如果 文本行 .计数 你说什么?=0 引文 == 0: 引文 = 1个 否则如果 文本行 .计数 你说什么?=0 引文 == 1.本公司: 引文 = 0 临时列表.append 文本行 开始索引:len 文本行 # 地点 临时列表 部分 进入之内 适当的 属性 对于 在里面 范围 伦恩 临时列表 如果 == 0: # feature.setStringAttribute 域名 临时列表 feature.setattribute属性 域名 临时列表 否则如果 == 1.本公司: # feature.setStringAttribute 域\类型 临时列表 feature.setattribute属性 域\类型 临时列表 否则如果 % == 0: 代码追加 临时列表 其他: 值.append 临时列表 #feature.setListAttribute属性 代码 代码 feature.setattribute属性 代码 代码 #feature.setListAttribute属性 价值 价值观 feature.setattribute属性 价值 价值观 输出PyOutput功能_type PythonCaller_output诜诜诜这确保了如果暴露FME_数据集,您将获得它。reader_meta_attributes fm_feature_type fm_dataset fm_basename factory_def*teefactory factory_name attributeexposer input feature_type pythoncaller_output output feature_type attributeexposer_output-------------------------------------------------------包括[设置宏行]宏attributeermo版本列表“exp”;foreach attr[split“”]设置attr[fme_decodetext$attr];设置attr[regsub”“$”$attr“.*”];设置attr[regsub-全部“”$attr“\[0-9\]+”];附加宏行“^$attr$”;};卖出$macroline;]工厂定义*teefactory工厂名称attributeremover输入功能类型attributeexposer输出输出功能类型attributeremover输出@removeattributes(匹配的字符,文本行数据)@removeattributes————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————2 proc listindexer indexer index numelements if$index<0 set index[expr$numelements+$index];};regsub“值”listwitindex;regsub \"{}\" {value{}} {} listBase;设置complexListExp“$listWithIndex\.”;设置前缀长度[expr[字符串长度$complexListExp]-1];如果{$attr == $listWithIndex} {lappend attrsToCopy $listBase $attr;}elseif[string first$complexListExp$attr]==0设置newattr[string replace$attr 0$prefix length];lappend attrstocopy$newattr$attr;};};如果[信息存在attrstocopy]&&[长度$attrstocopy]>0评估FME _执行copyattributes$attrstocopy;};}工厂定义*测试工厂名称列表索引器输入功能类型列表分解器输出测试@evaluateexpression(float, 价值 _元素索引 ,listindexer)>=0输出传递的功能_type listindexer_output@tcl2(“listindexer_indexer@evaluateexpression(float, 价值 _元素索引 ,listindexer)0”)输出失败的功能_type listindexer_output@tcl2(“listindexer_indexer@evaluateexpression(float, 价值 _元素索引 ,listindexer)@numelements(value)(“)------------------------------------------------tcl2 set concatenator[拆分域名称、域类型、值和代码,];35;我们在这里使用tcl而不是@concatenate,因为tcl更灵活。tcl2 proc concatenator global concatenator设置Val{};foreach valenc[设置连接符]附加val[fme _decodetextoratr$valenc];};fme_setattribute _串联$val;}工厂定义*teefactory工厂名称concatenator输入功能\类型列表索引器\输出功能\类型concatenator \输出@tcl2(concatenator \u concatter)-----------------------------------------------------------工厂定义*teefactory工厂名称duplicateermover \u匹配值提取器输入功能_ type concatenator_output output feature_type_uuuu toduptest_uuuuu duptocheck_uuuu@concatenate(uuuuduplicateermover_u,fme_attribute_name,“_concatenated”)Factory_def*TestFactory_name duplicateermover input feature_type_uuuuu toduptest_uuutest@count(fme_attribute_name,uu duptocheck_uuuuuuu)>0 output failed feature_type duplicateermover_unique@count(fme_attribute_name,u duptocheck_uuu)@removeattributes(u duptocheck_uuuuuu)-----------------------------------------------------------------Factory_Def*RoutingFactory Factory_name“目的地要素类型路由相关器”命令_parm_evaluation single_pass输入要素_type*Route fme_generic duplicateremover_是XLSXW独有的,转到最终的输出路由器多写器,0, 供词 编码 FME模板特征类型 新特征类型 计算表达式 属性创建表达式 _ wb_out_feat_类型__ 价值 开帕伦 域名 封闭式 新特征类型 几何特征_type_attribute uuwb_out_feat_type_uuu output routed feature_type*output not_routed feature_type uuu nuke_me_uuuuuuu@tcl2(“FME_statmessage 818059[FME_getattribute FME_template_feature_type]818060 818061 FME_warn”)工厂定义NAL OUTPUT NUKER“输入特征uuu类型uuu核u Me uuuuuuuuuuuu uuuuuuuuuuuuuu页号XLSx u TRUC u页号XLSx u字段名_u out是XLSx Start Col”“XLSx Start Row”“XLSx u偏移Col”“”xlsx_offset_row“”xlsx_table_writer_mode insert_new_rows xlsx_row_id_column“”代码编号(20,版本 1个 number_format_string 字体 字体颜色 背景色 图案颜色 图案\风格 单元格边框格式 单元格边框颜色 单元格边框样式 文本对齐 水平对齐 垂直对齐 缩进 文字方向 文本控件 细胞保护 海马细胞 锁定单元格 )值字符串(20,版本 1个 number_format_string 字体 字体颜色 背景色 图案颜色 图案\风格 单元格边框格式 单元格边框颜色 单元格边框样式 文本对齐 水平对齐 垂直对齐 缩进 文字方向 文本控件 细胞保护 海马细胞 锁定单元格