<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What is Collection Name attribute used for?</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/86832/what-is-collection-name-attribute-used-for</link><description>Hi all, 
 I taught XFM concept/technology and how to create own project recently and I found out I don&amp;#39;t know (and so not able to explain well :-) for what can be used the attribute Collection Name . I know what is filled in GSA when new feature / subfeature</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: What is Collection Name attribute used for?</title><link>https://communities.bentley.com/thread/244549?ContentTypeID=1</link><pubDate>Fri, 10 May 2013 18:21:17 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4fda07e0-c506-4cb4-8354-f46e582b82ae</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;thanks a lot for your detail explanation! It&amp;#39;s exactly what I missed in BM documentation :-)&lt;/p&gt;
&lt;p&gt;Have a nice weekend,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: What is Collection Name attribute used for?</title><link>https://communities.bentley.com/thread/244548?ContentTypeID=1</link><pubDate>Fri, 10 May 2013 18:13:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:54207724-0b5f-44de-89a7-63bc4ed66a7f</guid><dc:creator>cdalesandro</dc:creator><description>&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;The collection name needs to be set for the root feature definition of a collection feature definition. &amp;nbsp;With collection definitions following the convention:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Root feature &amp;ldquo;Name&amp;rdquo;: River_Collection&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Root feature &amp;ldquo;Collection Name&amp;rdquo;: River&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Collection primary geometry sub-feature &amp;ldquo;Name&amp;rdquo;: River&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Collection primary geometry sub-feature &amp;ldquo;Collection Name&amp;rdquo;: River_Component&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;bull; This root collection name is used as the key to an index of collection feature definitions by collection name. The index is used by functions like xfmFeatureDef_createUsingFeatureOrCollectionName.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;bull; Map relies on this convention to infer collection feature definitions from instance data when a schema defined feature definition is not available.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;bull; Map Interoperability uses the collection name as the class name for ECInstances built from XFM collection feature instances.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;bull; Typically collection name is blank for non-collection feature/sub-feature definitions and non-collection primary&amp;nbsp;geometry sub-feature definitions in collection definitions&lt;/p&gt;
&lt;p&gt;If a &amp;ldquo;Display Name&amp;rdquo; is not set for a feature definition, then the &amp;ldquo;Collection Name&amp;rdquo; is used. &amp;nbsp;At some point after the initial XFM release, we implemented feature display labels. &amp;nbsp;Since there may be old XFM schemas not setting display label, we used collection name for those cases.&lt;/p&gt;
&lt;p&gt;I see a Geospatial Administrator bug, where GSA incorrectly allows me to clear the collection name for the River_Collection definition in geo_example. &amp;nbsp;When attempting to place a River instance, the correct symbology is not found and the feature instance is not correctly written to the dgn since the placement operation requires the collection name.&lt;/p&gt;
&lt;p&gt;I suggest using the &amp;ldquo;Category&amp;rdquo; to group root feature definitions.&lt;/p&gt;
&lt;p&gt;In the help for function xfmFeatureDef_new, you can see a code&amp;nbsp;example of creating feature definitions for a collection feature class.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: What is Collection Name attribute used for?</title><link>https://communities.bentley.com/thread/244420?ContentTypeID=1</link><pubDate>Thu, 09 May 2013 20:35:45 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:34d7c4fe-73ec-4c70-aa32-80c3feeb356b</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Jerry,&lt;/p&gt;
&lt;p&gt;thanks for your fast answer. I agree the analogy is good enough to sketch the attribute meaning. Based on it and my current knowledge, are the following statements true?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Collection Name is an optional attribute regardless the feature role (feature, subfeature, feature collection) and type (linestring, cell...).&lt;/li&gt;
&lt;li&gt;It&amp;#39;s not mandatory to use it, in other words, if I will define different and unique Collection Name for all features in my project, neither GSA nor Bentley Map will report error ... there is no tool that is based on Collection Name.&lt;/li&gt;
&lt;li&gt;It can be treated as a tag, that can be used to &amp;quot;collect&amp;quot; particular features together.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: What is Collection Name attribute used for?</title><link>https://communities.bentley.com/thread/244416?ContentTypeID=1</link><pubDate>Thu, 09 May 2013 20:10:59 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a2f2bab9-494c-4b76-9ef5-de299bde5477</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;I always look at it the same way as I do a cell, from the cell library. The individual elaments that make up a cell can be called line, text, shape, etc., whereas the cell has a seperate &amp;#39;name&amp;#39;, thus signifying that the cell is a grouping of different components. Not a direct anology, but the students seem to understand this, since they understand the concept of a cell.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>