<?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 FeatureLayer from existing map service adding dynamically assigned attributes in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-from-existing-map-service-adding/m-p/706894#M65790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a query tool currently being designed outside the GIS environment which will allow the user to select a variety of health related parameters: collection year, gender, age etc.&amp;nbsp; Most of the work is getting done in .NET and they are looking at Javascript for the mapping.&amp;nbsp; Once the query runs, the user will have the option to see the results displayed on a map.&amp;nbsp; Since it is still being designed, I do have some input on the most "GIS friendly" way to have this data formatted. I'm thinking something like JSON as a format they should be able to create out of their .NET and also be able to use with Javascript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the output fields may vary, there are limited geometry choices.&amp;nbsp; Most queries will be county based, but a few maybe be ZIP code tabulation areas (ZCTA).&amp;nbsp; I already have existing "plain" map services I've created for other projects for these boundaries.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My thought is that I should be able to create a featureLayer out of the existing map service, and somehow step through the featureSet and query the Json data to create the infoTemplate and renderer?&amp;nbsp; All the examples I see discuss 'linking to an existing table'.&amp;nbsp; In this scenario, there will never be a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I can get to the featureSet of my featureLayer, does it help me somehow to convert it to Json?&amp;nbsp; Does it make sense to create a JSON file and send to the developers and allow them to populate the attributes and bring the whole thing back in as a featureCollection?&amp;nbsp; That sounds very inefficient, but that seems to be how people are managing KML data.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All this data is maintained outside the GIS environment and creating a whole series of map services to duplicate it is not an option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2012 15:58:27 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2012-07-23T15:58:27Z</dc:date>
    <item>
      <title>FeatureLayer from existing map service adding dynamically assigned attributes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-from-existing-map-service-adding/m-p/706894#M65790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a query tool currently being designed outside the GIS environment which will allow the user to select a variety of health related parameters: collection year, gender, age etc.&amp;nbsp; Most of the work is getting done in .NET and they are looking at Javascript for the mapping.&amp;nbsp; Once the query runs, the user will have the option to see the results displayed on a map.&amp;nbsp; Since it is still being designed, I do have some input on the most "GIS friendly" way to have this data formatted. I'm thinking something like JSON as a format they should be able to create out of their .NET and also be able to use with Javascript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the output fields may vary, there are limited geometry choices.&amp;nbsp; Most queries will be county based, but a few maybe be ZIP code tabulation areas (ZCTA).&amp;nbsp; I already have existing "plain" map services I've created for other projects for these boundaries.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My thought is that I should be able to create a featureLayer out of the existing map service, and somehow step through the featureSet and query the Json data to create the infoTemplate and renderer?&amp;nbsp; All the examples I see discuss 'linking to an existing table'.&amp;nbsp; In this scenario, there will never be a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I can get to the featureSet of my featureLayer, does it help me somehow to convert it to Json?&amp;nbsp; Does it make sense to create a JSON file and send to the developers and allow them to populate the attributes and bring the whole thing back in as a featureCollection?&amp;nbsp; That sounds very inefficient, but that seems to be how people are managing KML data.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All this data is maintained outside the GIS environment and creating a whole series of map services to duplicate it is not an option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 15:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-from-existing-map-service-adding/m-p/706894#M65790</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-07-23T15:58:27Z</dc:date>
    </item>
  </channel>
</rss>

