span8
span4
span8
span4
Ideabylangdonms··readersgeodatabasearcgis progeodatabase_sdegeodatabase_sde in webservice
Esri has new functionality called "Attribute Rules" which store trigger-like behavior in the XML of a feature class with customizable functions. For example, a new asset ID number can be assigned automatically while editing features. As it's stored in the database not at the project level, it is portable and the functionality also persists over published editable web services. Unfortunately, there is no backwards compatibility and the feature classes are no longer viewable in ArcMap or ArcCatalog when these rules are created. It also appears that theFME geodatabase reader is unable to consume these feature classes when the new functionality enabled.
Documentation:
https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm
Esri Video on Attribute Rules
https://www.youtube.com/watch?v=-2W1H0xr90o
The rules seem to be stored in the sde.gdb_items table of the database and more specifically in the "definition" XML type field of the feature class row.I created an attribute rule and sequence下面这个教程that adds an asset ID based on an auto-incrementing sequence I named curbseq_agspro to new features.The following XML was appended to the feature class definition XML after using the esri geoprocessing tools:
3 AssetMgmtLinkID_Txt esriARTCalculation 1 astmgmtlinkid -1 更新与curbseq_agspro下一序列值的资产管理链路ID字段。 -1 真正 真正 假 假 VAR assetfield = $ feature.astmgmtlinkid;IIF(为IsEmpty(assetfield),文本(NextSequenceValue( “curbseq_agspro”)),assetfield); esriARTEInsert esriARTEUpdate -1 -1 资产ID 假 12.3 2020-01-06T21:34:00
It would be great if FME could read / write features with this functionality as it's a highly useful ability now to create these rules in an Esri supported manner rather than customized database triggers and I foresee their use expanding among customers.
Here is a .gif animation showing the rule in action on ArcGIS Online.Notice the assetid_attrule field is automatically updated with a new value (after I pan/zoom to refresh the data).
bruceharoldcommented·
Hi, replication is back at Pro 2.5 due out shortly so you should be able to use core tools for publishing.
And yes, I'm on the DI 'team', which is a slight stretch for the term ;-).
bruceharoldcommented·
This begs the question about leveraging rules (i.e Arcade) during Workbench processing, or risk breaking some business rules.Not trivial.
感谢您的阅读和你的贡献@bruceharold我看你是在上ESRI的互操作性团队。最重要的第一步将是FME成功地读取这些功能并复制它们,不必处理过程中充分利用规则。
截至今日,有属性规则要素类不能被ArcCatalog或ArcMap或FME阅读。此外ESRI的地理数据库复制工具尚不可用在ArcGIS Pro中,这些数据库只能成功使用ArcGIS临导致数据访问伪检疫复制。我正在通过发布数据的REST服务来解决这个问题,并有FME阅读服务,以便复制。
我们用例此FME功能是支持这样的结构:编辑数据库 - >单向复制 - >发布的数据库 - > Web服务/读取用户。复印功能GP工具亲将成功地将其复制并在这个过程中放弃属性规则(这是我们的用例精) - 这也被记录在ESRI的开发峰会上的视频。因为它是只读的在功能上我们发布的数据库不需要任何属性规则。
分享 your great idea, or help out by voting for other people's ideas.
Add Reader for ArcGIS Pro Layer (.lyrx) Format
Allow geodb_feature_dataset attribute reading on metadata features
Update Spatial Index on the Esri Geodatabase Writers
Microsoft Word .doc/.docx Reader
Include canvas position in FME workspace reader (FMW)
Bulk reader adds need space for "grab all" > annotation
© 2020 Safe Software Inc |Legal