主题中的问题:“列表” https://knowledge.亚搏在线safe.com/questions/topics/single/39881.html 主题“列表”的最新问题 在里程系列中发现不正确的数字 https://knowledge.亚搏在线safe.com/questions/88403/spot-incorrect-numbers-in-mileage-series.html

嗨,大家好,

I have a shapefile with roads and another shapefile with points that contain a field with the mileage of that roads,我使用后者来校准我在arcmap中使用前者创建的路由。

Both shapefiles are related with IDs,因此,如果一个里程指向错误的道路,如果它没有被打断,就没有风险了。

我的问题是有些点的里程数据不正确,for example you can find:

…42-43-44-0-45-46-47…

零点会导致定径规失效。I've tried to spot it so I can generate a new shapefile without the incorrect mileage points but it always returns me another points and I can't find a way to get it right.

下面是一个例子:


枚举中的空白不是问题,但有时,不仅有一个点,还有一组不合适的点。例如:

…42-43-44-178-177-176-175-51-52-53…

在这种情况下,44和51之间的间隙没有问题。The numbers in between are the ones I would have to spot.

注意,错误数字组的增长/下降顺序是随机的,所以它不必与主正确枚举中的相同。

这是另一个例子。正如你所看到的,道路分为几段,有时不相互连接:

And these would be the tables:

The first one is the roads:

-“ID”是每条道路的标识,和共享的所有部分

-“UUID”是每个路段的标识符。

The second one is the mileage points:

-“id_porpk”是每个点的标识符。

- "id_vial" is the field that relates each point to its correspondant road

- "numero" is the mileage value for each point


我还附上了一个样本来测试。两个形状文件,one with a couple of roads with these two cases and the other with its correspondant mileage points.FME.zip


提前感谢大家的回答!

列表 弧图 数字 结婚,13 Mar 2019 14:16:15 GMT 弗梅斯格罗维
putting listAppender inside custom transformer throws python error https://knowledge.亚搏在线safe.com/questions/84937/putting-listpender-inside-custom-transformer-thr.html

Hi@桑德!

我在一个定制的转换器中使用了您的ListAppender,它抛出了python错误。这是一条信息:

include--未能评估python脚本def paramfunc():_;返回FME_宏值[FME_Mac宏值['ListAppender_工作区名称“]+''u“+'app‘值’]value=paramfunc()macronname=FME_Mac宏值['ListAppender_工作区名称“]+'u app_值_wjd'if value==non:160;返回123;宏名称:U';其他:;导入六;尝试:\160;;尝试:;尝试:_Vvalue=six.text_type(value)_除unicodedecodeerror:__value=six.text_type(value,'utf-8'return macroname:value程序终止转换失败。回溯(最近调用的最后一次):文件
        
         “第5行,in MF_Include_1546897172100  File "
         
          “line 4,在paramfunckeyerror:u'$(测试\u工作区\u名称)中\u列表附加器\u 10附加\u值'
         
        

No issues when ListAppender is on the main canvas.

列表 周一,2019年1月7日22:18:16格林尼治标准时间 塔拉德尼
读卡器:在导航器中按源列出以快速查看 https://knowledge.亚搏在线safe.com/idea/83394/reader-list-by-source-for-quick-overview.html

请添加一个可能性以列出读者来源。这对于使用许多读者的工作区尤其有用。

这样,您可以快速获得已用资源的概述!

现在很麻烦,because you have to open each item in the Navigator to see source.

列表 领航员 source listbysource 结婚,2018年11月28日07:46:57格林威治标准时间 威基
MSWord样式器列表错误 https://knowledge.亚搏在线safe.com/questions/83200/msword-styler-list-error.html

I am trying to use the MSWordStyler with the Content Type of List Item and keep receiving the following error:

Microsoft Word Writer:拒绝功能。The msword_type value 'msword_bullet' is invalid.请在此编写器之前使用mswordstyler设置msword_type属性


我可以成功地将mswordstyler与其他内容类型一起使用,并写入Word文档。It appears to only happen when using an existing MS Word template.


FME Desktop 2018.1.0.3 64bit

列表 MSWordsType MSWord作家 MSWord Sat,24 Nov 2018 20:29:52 GMT 马德沃伦
我需要列表属性列表吗?要外推到列表属性的regex? https://knowledge.亚搏在线safe.com/questions/79450/do-i-need-a-list-of-a-list-attribute-regex-to-extr.html(https://knowledge.safe.com/questions/79450/do-i-need-a-list-of-a-list-

我正试图弄清这个非空间数据问题的根本原因,我绞尽脑汁却无济于事…

I have a table of data that looks as follows...

ID 便利码
A000 1,D047
D047,P001,G005
2 D001,D047,F001
2 F001,G009
2 P001,A001
3 G00
3 G00
A001

Notice that the FacilityCode may be duplicated between records for any particular ID.我需要我的最后一张表只是一个不同的ID列表和一个按字母顺序排列的唯一设施代码列表,所以看起来应该是这样…

ID 便利码
A001,D047,P001,G005
2 A001、D001、D047、F001、G009、P001
3 G00
A001

理论上,我想我可以使用regex来推断唯一的FacilityCodes,包括具有多个FacilityCodes(使用StringSearcher)的记录的逗号分隔值。Not even sure what my regex would look like),然后是一个列表复制器移动器,a ListSorter (to alphabetize),然后是一个listconnator,将我的列表返回到单个属性。

I'm not even certain that could all work correctly while maintaining a grouping on the ID.我考虑使用带有inlinequerier的select group_ccat(facilitycode,“,”)SQL语句,然后从那里走……但我也不确定这会有多好。

Thanks in advance for any help!如果我自己找到任何解决方案,我会随时更新这篇文章。I'm running a 2015 version of FME via ArcGIS 10.3 data interop.

lists regex 列表 属性表 列表分类器 Thu,27 Sep 2018 19:33:30 GMT bwasserstein
如何从数据库记录中的列表中查找属性 https://knowledge.亚搏在线safe.com/questions/77865/how-to-find-an-attribute-from-a-list-in-db-records.html(https://knowledge.safe.com/questions/77865/how-to-find-an-attribute

你好,

我有一个csv格式的国家列表,例如:阿尔巴尼亚,澳大利亚哥伦比亚智利,NORWAY etc.我有一些从数据库中读取的记录。我想知道这些记录的描述部分是否包含来自csv的其中一个国家。A description could be : CHINESE NOTICE 14/261;日语通知28;GERMAN NOTICE 23;哥伦比亚公告172;瑞典公告593;希腊图表311;澳大利亚公告993。So the country name is not necessarily complete (Chinese,Swedish) or the description is longer than the country name (Japanese,Australian).Any tips what transformer to use?Thanks!

regex stringsearcher matcher 列表 结婚,2018年9月5日13:54:09格林威治标准时间 凯特
将光栅转换为其像素值列表(最快的方法?) https://knowledge.亚搏在线safe.com/questions/75727/convert-raster-to-list-of-its-pixel-values-fastest.html

如何将一个小光栅转换为一个长的数字列表(带逗号分隔符的像素值idealy),而不强制转换为矢量。I want to look at frequency of numbers occuring in the raster,谢谢

光栅 列表 Tue,2018年8月7日14:46:02格林尼治标准时间 rossdognz
List value handling https://knowledge.亚搏在线safe.com/questions/75429/list-value-handling.html网站

我使用与请求者和供应商有1:M关系的功能合并。The FeatureMerger gives me "merged" features with an attribute,这是匹配供应商的值列表。

如何在移动到下一个功能之前检查属性的值列表?

我以后不想用李斯特。

attribute handling featuremerger 列表 Tue,2018年7月31日格林尼治标准时间15:11:21 乔治
ListSorter支持多个按条件排序 https://knowledge.亚搏在线safe.com/idea/72018/listsorter-to-support-multiple-sort-by-criteria.html

我希望ListSorter支持多个按条件排序,similar to the regular Sorter.例子:

Currently (FME 2018.0.1) you cannot use multiple ListSorters to accomplish the same thing,since the ListSorter doesn't preserve the existing item order on duplicate sort keys (PR83992).

列表 sorting 列表分类器 FRI,08 Jun 2018 10:14:00 GMT 戴维德
在ListRenamer中提升列表项时出现红色COG https://knowledge.亚搏在线safe.com/questions/69163/red-cog-when-promoting-list-item-in-listrenamer.html

When promoting a list element using the ListRenamer in FME 2018.0,即使变压器内没有一个磁场是红色的,中心距仍保持红色。
当盘旋在红色齿轮上时,it says "Parameter 'Component to Rename' must have a value".但当我提升而不是更名的时候,这没有道理。

I never had a problem with this in v2017,so I almost suspect it is a bug?但我很高兴能在其他场合露面!

lists 列表 listrenamer FRI,27 Apr 2018 10:20:37 GMT arnold_bijlsma
Map List to SQL Server Table https://knowledge.亚搏在线safe.com/questions/69022/map-list-to-sql-server-table.html

I am reading table name and attribute values from text file.I do not have column names but only table name and values in the list.

我想将这些值插入到SQL Server表中。如何将列表映射到目标表模式。列值的顺序与表结构匹配。

Following is the example of text file row.

I~6000000~PDEN ~A058951~PI~PI~DEHYDRATOR~~261384~~~B&C COMPRESSOR STATION~802103~~~~~~~~~~~~A~~A~USA~17~027~~61~022033~~~~~~20171001~~~~~~~~N~~~~CONGRESS_PRD~~3~~~~~~~~~~~~~~~~G~LA~~L~~~~~~~~~~~~~~~~~~~~

'I' is the transaction type.

6000000 is table id

PDEN is the table name.

Rest of them are Attribute Values.

文本文件可以包含多个表的值,也可以进行更新或删除。

For now I am trying to find a solution for inserts.

请告诉我你的想法。

列表 sql server table map list to target table schema SQL Server表架构 结婚,2018年4月25日20:02:37格林尼治标准时间 venkatakondepat
使用python循环列表并获取几何图形 https://knowledge.亚搏在线safe.com/questions/67993/loop-through-list-with-python-and-get-geometry.html

你好,

我有一组点和一个网格分区。每个点都分配给一个分区

I have build a list containing all point in a partition (listbuilder group by partition_id)

是否有方法获取列表中每个元素的特征几何图形?

Does the geometry is preserved in a listbuilder ?

如果是这样,如何在python的元素列表中检索它?

so far I only get NoneType in my_list.

我看到我必须做一些像我的列表=feature.getattribute(列表的事情。 “”

但是几何图形的属性名是什么?

以后我想做点什么

feature.getAllCoordinates() on each element of the list

DEF输入(自)功能):my_list=feature.getattribute(“_list”)flush the list self.flist=[]if my_list is not none and len(my_list)>0:for item in my_list:new_feature=feature.clone()self.flist.append(new_feature)self.dbscan(self.flist,EPS,self.minpts)else:partition=feature.getattribute(“partition”)self.logger.logmessagestring(“partition as no value:“.format(partition),”fmeobjects.fme_错误)

python 巨嘴鸟 geometry 列表 geom 结婚,2018年4月11日格林威治时间15:57:13 shotte
从功能列表到功能编写器 https://knowledge.亚搏在线safe.com/questions/67378/from-feature-list-to-featurewriter.html

你好,

I have a Feature and I am using a FeatureWriter to output a final GeoJson,until there everything is working fine when it's about direct attribute.

自动循环嵌套列表怎么样?获取一个特定属性的列表,并将其作为JSON属性(数组)附加到我的FeatureWriter,同时保持主对象和它的列表之间已经定义好的关系

基本上我想要这个属性”classification" (see the screenshot attached),to be output at the end as a json property of a type array using a FeatureWriter Geojson.

截图-2018-04-03-AT-35302-PM.png

低于预期的最终产量,当然,不需要自己构建geojson,而是让FeatureWriter(geojson)来完成这项工作:

“type”:“featurecollection”,“name”:“somename”,“features”:[“type”:“feature”,“geometry”:“type”:“geometrycollection”,“geometrys”:空,“properties”:“someproperty”:“somevalue”,“classification”:[“value1”,"value2"]}},{"type" : "Feature","geometry" : {"type" : "GeometryCollection","geometries" : null},"properties" : {"someProperty" : "someValue","classification": ["value1","value2"]}}]}
attribute 特写作家 列表 feature Tue,2018年4月3日13:01:00格林尼治标准时间 jacquint
比较文件夹之间的文件和大小 https://knowledge.亚搏在线safe.com/questions/63134/compare-file-and-sizes-between-folders.html

Hi,

我想使用python调用程序比较位于两个文件夹之间的文件(及其大小)。

我的想法是使用一个python调用者,它会给我每个文件夹的文件名列表,然后使用featuremerge来比较两个文件名列表(按名称)和大小(按大小)。

有什么想法吗?

Arthy

巨嘴鸟 列表 文件夹 结婚,2018年1月31日格林威治标准时间21:04:56 亚希
如何将数字划分为序列列表? https://knowledge.亚搏在线safe.com/questions/59747/how-to-divide-number-to-sequenced-list.html

大家好,

我试图用数字和值来解决这个问题。在我的项目中,我通过SQL执行器管理SQL选择计数,所以查询结果可以是5。但第二步我需要的是,我必须用最小值0和最大值(查询结果)5创建列表。因此列表将包含以下值0、1、2、3、4和5。

有什么小费吗?

非常感谢!

鲁博

列表 number Tue,2017年12月12日08:27:22格林尼治标准时间 拉扎鲁米尔