<?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 Generate layers for each feature in a table in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/generate-layers-for-each-feature-in-a-table/m-p/26056#M953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;First of all, I am very new to the GIS world, so bear with me if the question is stupid.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;SPAN style="line-height: 1.5;"&gt;I have a feature class (let's call it Areas) storing polygons with some extra data (name, id etc). If I create a layer and publish this as a MapService, I can use it in my .NET application (or in the browser via REST) to display a layer containing all the Areas. In my app, I can even do filtering (with LayerDefinitions) to only display a certain area (feature) at a time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;What I would like to do is (within the ArcGIS server, so that it is reflected on all clients) have one layer for each of the Areas in the feature table.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;So the REST directory in a browser would display:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Layers:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Areas&lt;UL style="margin-left: 30px; list-style: disc;"&gt;&lt;LI style="margin-bottom: 7px;"&gt;Area 1&lt;/LI&gt;&lt;LI&gt;Area 2&lt;/LI&gt;&lt;LI&gt;Area 3&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;And I would be able to see the same structure in the TOC of the ArcGIS.com Map, and control visibility on/off on each of the Areas.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;The "projection" of turning every feature into a separate layer must be dynamic, so that if I add another Area, it would automatically become a new layer (ie. no configuration or manual republishing the MapService).&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Is this possible within ArcMap? Can I code it in Python and have it run inside the MapService somehow? Do I have to write a SOE ? Or isn't it possible at all (only on the client side)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 07:02:57 GMT</pubDate>
    <dc:creator>TormodBoga</dc:creator>
    <dc:date>2015-01-30T07:02:57Z</dc:date>
    <item>
      <title>Generate layers for each feature in a table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/generate-layers-for-each-feature-in-a-table/m-p/26056#M953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;First of all, I am very new to the GIS world, so bear with me if the question is stupid.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;SPAN style="line-height: 1.5;"&gt;I have a feature class (let's call it Areas) storing polygons with some extra data (name, id etc). If I create a layer and publish this as a MapService, I can use it in my .NET application (or in the browser via REST) to display a layer containing all the Areas. In my app, I can even do filtering (with LayerDefinitions) to only display a certain area (feature) at a time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;What I would like to do is (within the ArcGIS server, so that it is reflected on all clients) have one layer for each of the Areas in the feature table.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;So the REST directory in a browser would display:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Layers:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Areas&lt;UL style="margin-left: 30px; list-style: disc;"&gt;&lt;LI style="margin-bottom: 7px;"&gt;Area 1&lt;/LI&gt;&lt;LI&gt;Area 2&lt;/LI&gt;&lt;LI&gt;Area 3&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;And I would be able to see the same structure in the TOC of the ArcGIS.com Map, and control visibility on/off on each of the Areas.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;The "projection" of turning every feature into a separate layer must be dynamic, so that if I add another Area, it would automatically become a new layer (ie. no configuration or manual republishing the MapService).&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Is this possible within ArcMap? Can I code it in Python and have it run inside the MapService somehow? Do I have to write a SOE ? Or isn't it possible at all (only on the client side)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 07:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/generate-layers-for-each-feature-in-a-table/m-p/26056#M953</guid>
      <dc:creator>TormodBoga</dc:creator>
      <dc:date>2015-01-30T07:02:57Z</dc:date>
    </item>
  </channel>
</rss>

