<?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 Apply LYRX file symbology exclusion clause in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/apply-lyrx-file-symbology-exclusion-clause/m-p/198024#M8753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using ArcGIS Pro 1.3.1, I can apply an LYRX file with symbology (natural breaks classfication with 5 classes and out of range class) using the ArcGIS Pro interface and with arcpy (Apply Symbology From Layer). &amp;nbsp;However the "Exclusion Clause" that you can set in the "Advanced" section of the Symbology dialog is not applied to the target layer when the LYRX is applied. &amp;nbsp;I can see the Exclusion clause in the LYRX file (in a text editor as seemingly valid JSON), but I cannot get the Exclusion clause applied through this method. &amp;nbsp;I CAN get the exclusion clause applied in a completely interactive manner through the Symbology interface, but not via the Apply Symbology From Layer tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to render a natural breaks legend on one column, while excluding values equal to zero in a second column. And to do this all programmatically via arcpy python tools, so that an output feature class is automatically rendered on the map as desired. I want to avoid needing to reference a normal layer specific definition query (through arcpy or interactively) and instead have the "definition query" embedded in a&amp;nbsp;template symbology LYRX file as an "exclusion clause".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;snippet from the JSON LYRX file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"exclusionClause" : "Tracts_PopWeightedCenterPoints_SUM_CORRECT_POP = 0",&lt;BR /&gt; "exclusionLabel" : "Excluded - zero population",&lt;BR /&gt; "exclusionSymbol" : {...some symbol content here... }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this something that is just not there in ArcGIS Pro 1.3.1 yet, am I doing something wrong, or is there a work-around?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 16:46:59 GMT</pubDate>
    <dc:creator>AndrewMurdoch</dc:creator>
    <dc:date>2016-09-02T16:46:59Z</dc:date>
    <item>
      <title>Apply LYRX file symbology exclusion clause</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/apply-lyrx-file-symbology-exclusion-clause/m-p/198024#M8753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using ArcGIS Pro 1.3.1, I can apply an LYRX file with symbology (natural breaks classfication with 5 classes and out of range class) using the ArcGIS Pro interface and with arcpy (Apply Symbology From Layer). &amp;nbsp;However the "Exclusion Clause" that you can set in the "Advanced" section of the Symbology dialog is not applied to the target layer when the LYRX is applied. &amp;nbsp;I can see the Exclusion clause in the LYRX file (in a text editor as seemingly valid JSON), but I cannot get the Exclusion clause applied through this method. &amp;nbsp;I CAN get the exclusion clause applied in a completely interactive manner through the Symbology interface, but not via the Apply Symbology From Layer tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to render a natural breaks legend on one column, while excluding values equal to zero in a second column. And to do this all programmatically via arcpy python tools, so that an output feature class is automatically rendered on the map as desired. I want to avoid needing to reference a normal layer specific definition query (through arcpy or interactively) and instead have the "definition query" embedded in a&amp;nbsp;template symbology LYRX file as an "exclusion clause".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;snippet from the JSON LYRX file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"exclusionClause" : "Tracts_PopWeightedCenterPoints_SUM_CORRECT_POP = 0",&lt;BR /&gt; "exclusionLabel" : "Excluded - zero population",&lt;BR /&gt; "exclusionSymbol" : {...some symbol content here... }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this something that is just not there in ArcGIS Pro 1.3.1 yet, am I doing something wrong, or is there a work-around?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/apply-lyrx-file-symbology-exclusion-clause/m-p/198024#M8753</guid>
      <dc:creator>AndrewMurdoch</dc:creator>
      <dc:date>2016-09-02T16:46:59Z</dc:date>
    </item>
  </channel>
</rss>

