<?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 From REST call to Map in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/from-rest-call-to-map/m-p/276115#M1741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to make a REST API Query call and populate an Layer object (of some type) with the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could also work with a RowCollection if there is a way to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: Create a FeatureLayer from a REST URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;FeatureLayer flResult = FeatureLayer.CreateFromREST("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Population_Density/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=ST_ABBREV+LIKE+%27%25AL%25%27&amp;amp;time=&amp;amp;returnCountOnly=false&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Name%2C+ST_ABBREV&amp;amp;f=json" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Population_Density/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=ST_ABBREV+LIKE+%27%25AL%25%27&amp;amp;time=&amp;amp;returnCountOnly=false&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Name%2C+ST_ABBREV&amp;amp;f=json&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously there is no CreateFromREST but does anyone have ideas on creating any kind of AGX API object from a rest call such as this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2013 16:05:43 GMT</pubDate>
    <dc:creator>BrianKowalski</dc:creator>
    <dc:date>2013-07-19T16:05:43Z</dc:date>
    <item>
      <title>From REST call to Map</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/from-rest-call-to-map/m-p/276115#M1741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to make a REST API Query call and populate an Layer object (of some type) with the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could also work with a RowCollection if there is a way to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: Create a FeatureLayer from a REST URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;FeatureLayer flResult = FeatureLayer.CreateFromREST("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Population_Density/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=ST_ABBREV+LIKE+%27%25AL%25%27&amp;amp;time=&amp;amp;returnCountOnly=false&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Name%2C+ST_ABBREV&amp;amp;f=json" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Population_Density/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=ST_ABBREV+LIKE+%27%25AL%25%27&amp;amp;time=&amp;amp;returnCountOnly=false&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=Name%2C+ST_ABBREV&amp;amp;f=json&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously there is no CreateFromREST but does anyone have ideas on creating any kind of AGX API object from a rest call such as this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 16:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/from-rest-call-to-map/m-p/276115#M1741</guid>
      <dc:creator>BrianKowalski</dc:creator>
      <dc:date>2013-07-19T16:05:43Z</dc:date>
    </item>
  </channel>
</rss>

