<?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: Merging 10 vector polygon classes into 5 classes in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342632#M74538</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4413"&gt;@DavidSolari&lt;/a&gt;&amp;nbsp;this looks like a pretty nice approach, I'm stealing it for to put in my file of snippets to use.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 13:30:44 GMT</pubDate>
    <dc:creator>clt_cabq</dc:creator>
    <dc:date>2023-10-27T13:30:44Z</dc:date>
    <item>
      <title>Merging 10 vector polygon classes into 5 classes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342033#M74473</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I've been away from using ArcGIS for over a year, so now I struggle to remember how to do a very simple action in the software.&lt;BR /&gt;&lt;BR /&gt;I have a shape file with a number of different polygon groups that I want to reclassify into new general polygon groups.&lt;BR /&gt;&lt;BR /&gt;For example, I have polygons classified as "deciduous forest", and other polygons classified as "coniferous forest". I want to reclassify them both to just be "forest" polygons. Since the Reclassify tool only works on raster data sets I am a little bit at a loss. I've done this reclassification a lot in the past, but now I can't remember how I did it.&lt;BR /&gt;&lt;BR /&gt;Thank you for any help.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342033#M74473</guid>
      <dc:creator>Ugglefar</dc:creator>
      <dc:date>2023-10-26T15:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Merging 10 vector polygon classes into 5 classes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342038#M74474</link>
      <description>&lt;P&gt;the easiest thing to do would be to create a new field to hold the new classification, then do a selection to select all the features you want to attribute differently, then do a field calculation into the new field with the updated classification value.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342038#M74474</guid>
      <dc:creator>clt_cabq</dc:creator>
      <dc:date>2023-10-26T15:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Merging 10 vector polygon classes into 5 classes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342055#M74479</link>
      <description>&lt;P&gt;Here's a (untested) Field Calculator code block:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def reclass(value):
  lookup = {
    "Coniferous": "Tree",
    "Deciduous": "Tree",
    "Igneous": "Rock"
  }
  return lookup.get(value, value)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You write something like "reclass(!my_field!)" and it'll map the inputs to the outputs as defined in the "lookup" dictionary, but leave them unchanged if it's not in the list.&lt;/P&gt;&lt;P&gt;Alternatively, you can load the old and new values into a table, join the tables on the common key field, then field calculate over the data. This'll let you maintain a lookup table as standard ArcGIS data instead of Python code if that works better.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342055#M74479</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2023-10-26T15:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Merging 10 vector polygon classes into 5 classes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342550#M74529</link>
      <description>&lt;P&gt;I managed to get it to work, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 09:11:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342550#M74529</guid>
      <dc:creator>Ugglefar</dc:creator>
      <dc:date>2023-10-27T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Merging 10 vector polygon classes into 5 classes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342632#M74538</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4413"&gt;@DavidSolari&lt;/a&gt;&amp;nbsp;this looks like a pretty nice approach, I'm stealing it for to put in my file of snippets to use.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 13:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merging-10-vector-polygon-classes-into-5-classes/m-p/1342632#M74538</guid>
      <dc:creator>clt_cabq</dc:creator>
      <dc:date>2023-10-27T13:30:44Z</dc:date>
    </item>
  </channel>
</rss>

