<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Feature Layer - Class Break Renderer - Join To Table in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/feature-layer-class-break-renderer-join-to-table/m-p/304544#M3552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to join a Feature Layer to an in memory table or graphics layer in code and use the attributes from the resulting join for thematically styling the Feature Layer using a class break renderer for example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would allow a user to bring their own local data in and have it used to style an existing Feature Layer using new attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the steps would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Existing Feature Layer&lt;/P&gt;&lt;P&gt;- User selects a local database file and imports the data in to a new table or layer&lt;/P&gt;&lt;P&gt;- Join the new table or layer to the existing Feature Layer&lt;/P&gt;&lt;P&gt;- Create renderer for the Feature Layer based on attributes from the new table or layer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 10:16:37 GMT</pubDate>
    <dc:creator>JonDicken</dc:creator>
    <dc:date>2015-07-31T10:16:37Z</dc:date>
    <item>
      <title>Feature Layer - Class Break Renderer - Join To Table</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/feature-layer-class-break-renderer-join-to-table/m-p/304544#M3552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to join a Feature Layer to an in memory table or graphics layer in code and use the attributes from the resulting join for thematically styling the Feature Layer using a class break renderer for example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would allow a user to bring their own local data in and have it used to style an existing Feature Layer using new attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the steps would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Existing Feature Layer&lt;/P&gt;&lt;P&gt;- User selects a local database file and imports the data in to a new table or layer&lt;/P&gt;&lt;P&gt;- Join the new table or layer to the existing Feature Layer&lt;/P&gt;&lt;P&gt;- Create renderer for the Feature Layer based on attributes from the new table or layer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:16:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/feature-layer-class-break-renderer-join-to-table/m-p/304544#M3552</guid>
      <dc:creator>JonDicken</dc:creator>
      <dc:date>2015-07-31T10:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer - Class Break Renderer - Join To Table</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/feature-layer-class-break-renderer-join-to-table/m-p/304545#M3553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use GraphicsOverlay or GraphicsLayer and use that to contains joined data. The reason behind is that FeatureLayers uses defined Schema where GraphicsOverlay/Layer works with dynamic schema. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps could be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create source FeatureLayer with FeatureTable&lt;/P&gt;&lt;P&gt;- User selects geodatabase and open that in GeodatabaseFeatureTable&lt;/P&gt;&lt;P&gt;- Create temporary graphics overlay / layer for visualization&lt;/P&gt;&lt;P&gt; - Join needed data from source FeatureLayer (tip, &lt;A href="https://developers.arcgis.com/net/desktop/api-reference//html/M_Esri_ArcGISRuntime_Data_GeodatabaseFeature_AsGraphic.htm"&gt;convert features to graphics&lt;/A&gt;) to the dynamically created GeodatabaseFeatureTable to GraphicsCollection / List&amp;lt;Graphic&amp;gt;&lt;/P&gt;&lt;P&gt;- Set combined list of graphics to the temporary visualization layer&lt;/P&gt;&lt;P&gt;- Dynamically create renderer for the temporary visualization layer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach also gives you an option to delete the layer/overlay when it's not needed anymore easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/feature-layer-class-break-renderer-join-to-table/m-p/304545#M3553</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2015-07-31T15:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer - Class Break Renderer - Join To Table</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/feature-layer-class-break-renderer-join-to-table/m-p/304546#M3554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, thanks. That's a bit of a shame. I can see that would work nicely for smaller layers but with much larger Feature Layers it doesn't sound great as you would end up with a huge graphics layer, which is not recommended/really an option. The beauty of the Feature Layer is that it doesn't load all of the features in to memory at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the real request is therefore not to alter the Feature Layers schema (by joining) but just have the renderer use a 'lookup' in order to get its values. That way you could just point a Feature Layer at a separate list of &amp;lt;Feature ID, Value&amp;gt;s and have the renderer take the value for each Feature from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 07:48:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/feature-layer-class-break-renderer-join-to-table/m-p/304546#M3554</guid>
      <dc:creator>JonDicken</dc:creator>
      <dc:date>2015-10-02T07:48:01Z</dc:date>
    </item>
  </channel>
</rss>

