<?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: Symbolizing polygons from point data in map in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/symbolizing-polygons-from-point-data-in-map/m-p/1570631#M62931</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;&amp;nbsp;Thank you!!&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2024 16:01:03 GMT</pubDate>
    <dc:creator>dwold</dc:creator>
    <dc:date>2024-12-20T16:01:03Z</dc:date>
    <item>
      <title>Symbolizing polygons from point data in map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolizing-polygons-from-point-data-in-map/m-p/1570608#M62928</link>
      <description>&lt;P&gt;I am trying to symbolize polygons from point data in a web map. I was able to do this in a pop-up (see code below), but I would like to bring those counts/values and symbolize the county polygon it is associated with.&lt;/P&gt;&lt;P&gt;Code for pop-up:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var essential_facilities = FeatureSetByName($map, "Essential Facilities", ['FacilityTy', 'County', 'FunctDay1'], false);

// Intersect selected feature with Intensity Feature Set
var intersectEssentialFacility = Intersects(Geometry($feature), essential_facilities);

// Populate array with Intensity values for selected county where FunctDay1 is less than or equal to 67
var FacilityType = [];
for (var k in intersectEssentialFacility) {
    if (k.FunctDay1 &amp;lt;= 67) {
        Push(FacilityType, k.FacilityTy);
    }
}

return Count(FacilityType);&lt;/LI-CODE&gt;&lt;P&gt;Pop-up for county polygon:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dwold_0-1734707418986.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122246i64A58812FD048122/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dwold_0-1734707418986.png" alt="dwold_0-1734707418986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd like to symbolize the county polygons&amp;nbsp;(the number of facilities with reduced functionality at day 1) using a similar arcade expression but return an error when doing so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dwold_1-1734707554492.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122248i10F7EB4AA4A9925A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dwold_1-1734707554492.png" alt="dwold_1-1734707554492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this possible to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 15:21:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolizing-polygons-from-point-data-in-map/m-p/1570608#M62928</guid>
      <dc:creator>dwold</dc:creator>
      <dc:date>2024-12-20T15:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolizing polygons from point data in map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolizing-polygons-from-point-data-in-map/m-p/1570623#M62930</link>
      <description>&lt;P&gt;The &lt;A href="https://developers.arcgis.com/arcade/profiles/visualization/" target="_self"&gt;Visualization profile&lt;/A&gt; only has access to the &lt;A href="https://developers.arcgis.com/arcade/function-reference/bundles/#core" target="_self"&gt;Core&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/arcade/function-reference/bundles/#geometry" target="_self"&gt;Geometry&lt;/A&gt; bundles, not the &lt;A href="https://developers.arcgis.com/arcade/function-reference/bundles/#data-access" target="_self"&gt;Data access&lt;/A&gt; bundle, which includes all the FeatureSet functions.&lt;/P&gt;&lt;DIV class=""&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;All FeatureSet functions are not included in rendering profiles, such as visualization and labeling, because they require querying data from a server or database. Allowing these functions in rendering profiles would severely hinder the performance of apps executing the expression.&lt;/P&gt;&lt;P&gt;For example, if an expression were to access data with one query within the visualization profile of a layer with 1000 features, then the expression's execution context would need to make 1,000 queries in behalf of the user.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It also doesn't have access to the $map &lt;A href="https://developers.arcgis.com/arcade/profiles/visualization/#profile-variables" target="_self"&gt;variable&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Dec 2024 15:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolizing-polygons-from-point-data-in-map/m-p/1570623#M62930</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-12-20T15:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolizing polygons from point data in map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolizing-polygons-from-point-data-in-map/m-p/1570631#M62931</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;&amp;nbsp;Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 16:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolizing-polygons-from-point-data-in-map/m-p/1570631#M62931</guid>
      <dc:creator>dwold</dc:creator>
      <dc:date>2024-12-20T16:01:03Z</dc:date>
    </item>
  </channel>
</rss>

