<?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 Re: How to create in memory layer and how to visualize these? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-create-in-memory-layer-and-how-to-visualize/m-p/163839#M4260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I've understood you correctly you have a layer that you have done some calculations on and you want to merge this layer with a second layer into a third "in memory" layer and then display this third layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to do this with an in_memory workspace. When you use the merge tool the output is a FEATURECLASS this is not a FEATURE DATASET which is a sort of "folder" in a geodatabase. As you noted an in_memory workspace cannot support a FEATURE DATASET but it will hold a FEATURECLASS. From this you can write code to create a FeatureLayer and render as you wish then add that to the Map Document (IMap).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 21:07:21 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2012-09-26T21:07:21Z</dc:date>
    <item>
      <title>How to create in memory layer and how to visualize these?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-create-in-memory-layer-and-how-to-visualize/m-p/163838#M4259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At the moment I am building an add in in C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My goal is to use the data of an existing feature layer and to perform some calculations with this data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That works fine...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want to visualize the new values with a feature renderer like the UniqueValueRenderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To achieve this I want to create an in-memory layer, which is a merge of the existing layer and my new data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already found the InMemoryWorkspace but the doc says I can not create feature datasets within.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to do this on the fly or do I have to copy the old one add my column(s), add it to the TOC and later on use one of therenderer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 02:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-create-in-memory-layer-and-how-to-visualize/m-p/163838#M4259</guid>
      <dc:creator>SteffanVoss</dc:creator>
      <dc:date>2012-09-26T02:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create in memory layer and how to visualize these?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-create-in-memory-layer-and-how-to-visualize/m-p/163839#M4260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I've understood you correctly you have a layer that you have done some calculations on and you want to merge this layer with a second layer into a third "in memory" layer and then display this third layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to do this with an in_memory workspace. When you use the merge tool the output is a FEATURECLASS this is not a FEATURE DATASET which is a sort of "folder" in a geodatabase. As you noted an in_memory workspace cannot support a FEATURE DATASET but it will hold a FEATURECLASS. From this you can write code to create a FeatureLayer and render as you wish then add that to the Map Document (IMap).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 21:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-create-in-memory-layer-and-how-to-visualize/m-p/163839#M4260</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2012-09-26T21:07:21Z</dc:date>
    </item>
  </channel>
</rss>

