<?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: Extracting attribute values of underlaying polygons to single cell in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1083506#M25726</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your answer. Jayanta's suggestion works as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spatial Join however is still having this INTERSECT option (default) which is different from Intersect (Analysis). I would expect it to be the same thing (i.e. return the same results).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best from&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tadeas&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 14:09:49 GMT</pubDate>
    <dc:creator>TadeášDěd</dc:creator>
    <dc:date>2021-07-28T14:09:49Z</dc:date>
    <item>
      <title>Extracting attribute values of underlaying polygons to single cell</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1082165#M25704</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;imagine I have one target polygon (A) and several underlying polygons (B1, B2, ...). Is there a way to concatenate attribute values of underlaying B polygons to target polygon A?&lt;/P&gt;&lt;P&gt;I was trying to create a script with Spatial join and rule (field maps), however, I was strugglling with two things:&lt;/P&gt;&lt;P&gt;1. it did not work :), but I believe that I could solve that one&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. there is no suitable match option for my case, please check&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-by-location-graphical-examples.htm" target="_self"&gt;this site&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to match B polygons where A polygon is overlapping them. The default option INTERSECT however matches also in the case where two polygons touch by edges or when they have only one point in common. Well, I understand the coding part behind it, but from a practical point of view, this is bad. For example, you have a polygon of vegetation growing on multiple parcels. For every vegetation area, you want the string/list of parcel numbers. When I define my vegetation area exactly around several parcels (respecting their edges) I would get neighbor parcel numbers in my list too. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any workaround? The only thing that came to my mind is creating new vegetation areas with a very small negative buffer to avoid matching of edges.&lt;/P&gt;&lt;P&gt;Thank you very much for any tips on how to solve this.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;TD&lt;/P&gt;&lt;P&gt;p.s. Here is my code (not functional)&lt;/P&gt;&lt;P&gt;KN_Feature = "PARCELY_KN_JOIN"&lt;BR /&gt;areaVysledek = "area_Vysledek"&lt;BR /&gt;zapojporostFeature = "zapojporost"&lt;/P&gt;&lt;P&gt;fms1 = arcpy.FieldMappings()&lt;BR /&gt;&lt;BR /&gt;fms1.addTable(KN_Feature)&lt;BR /&gt;fms1.addTable(zapojporostFeature)&lt;BR /&gt;keepers = ["cislo","KATUZE_KOD","TEXT_KM","DRUH_POZEMKU"] # etc.&lt;BR /&gt;# Remove all output fields you don't want.&lt;BR /&gt;for field in fms1.fields:&lt;BR /&gt;if field.name not in keepers:&lt;BR /&gt;fms1.removeFieldMap(fms1.findFieldMapIndex(field.name))&lt;BR /&gt;&lt;BR /&gt;parcela_index = fms1.findFieldMapIndex("TEXT_KM")&lt;BR /&gt;fieldmap = fms1.getFieldMap(parcela_index)&lt;BR /&gt;field = fieldmap.outputField&lt;BR /&gt;field.name = "parcelaCislo"&lt;BR /&gt;field.aliasName = "parcela č."&lt;BR /&gt;fieldmap.outputField = field&lt;BR /&gt;fieldmap.mergeRule = "Join"&lt;BR /&gt;fieldmap.joinDelimiter = ", "&lt;BR /&gt;fms1.replaceFieldMap(parcela_index, fieldmap)&lt;BR /&gt;&lt;BR /&gt;drupoz_index = fms1.findFieldMapIndex("DRUH_POZEMKU")&lt;BR /&gt;fieldmap1 = fms1.getFieldMap(drupoz_index)&lt;BR /&gt;field1 = fieldmap1.outputField&lt;BR /&gt;field1.name = "druhPozemku1"&lt;BR /&gt;field1.aliasName = "druh pozemku"&lt;BR /&gt;fieldmap1.outputField = field1&lt;BR /&gt;fieldmap1.mergeRule = "Join"&lt;BR /&gt;fieldmap1.joinDelimiter = ", "&lt;BR /&gt;fms1.replaceFieldMap(drupoz_index, fieldmap1)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# SpatailJoin pro plochy&lt;BR /&gt;arcpy.analysis.SpatialJoin(zapojporostFeature, "PARCELY_KN_JOIN", areaVysledek, 'JOIN_ONE_TO_ONE',"KEEP_ALL",fms1)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 14:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1082165#M25704</guid>
      <dc:creator>TadeášDěd</dc:creator>
      <dc:date>2021-07-23T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting attribute values of underlaying polygons to single cell</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1082172#M25705</link>
      <description>&lt;P&gt;Could you test&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/intersect.htm" target="_self"&gt;Intersect (Analysis)&lt;/A&gt;&amp;nbsp;tool, if it gives you a desirable result?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 14:14:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1082172#M25705</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-23T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting attribute values of underlaying polygons to single cell</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1082270#M25706</link>
      <description>&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-New-Contributor-III lia-component-message-view-widget-author-username"&gt;Your case is very interesting. Spatial Join tool's Join Features parameter takes only one feature class or layer as input. But you have multiple join feature classes.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-New-Contributor-III lia-component-message-view-widget-author-username"&gt;You can give Jayanta Poddar's suggestion a try - it's a good suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-New-Contributor-III lia-component-message-view-widget-author-username"&gt;You wrote you couldn't find any suitable match option - which relationship (except for the given ones) you are looking for?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-New-Contributor-III lia-component-message-view-widget-author-username"&gt;Send an email to me at &lt;A href="mailto:nahmed@esri.com" target="_blank" rel="noopener"&gt;nahmed@esri.com&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 17:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1082270#M25706</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2021-07-23T17:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting attribute values of underlaying polygons to single cell</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1083506#M25726</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your answer. Jayanta's suggestion works as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spatial Join however is still having this INTERSECT option (default) which is different from Intersect (Analysis). I would expect it to be the same thing (i.e. return the same results).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best from&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tadeas&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 14:09:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extracting-attribute-values-of-underlaying/m-p/1083506#M25726</guid>
      <dc:creator>TadeášDěd</dc:creator>
      <dc:date>2021-07-28T14:09:49Z</dc:date>
    </item>
  </channel>
</rss>

