<?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: Calculating building external wall from shapefile in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126081#M4370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could be a little tricky. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My approach would be to intersect each building polygon with other near buildings. This will give you all shared walls with the height of each in an attribute table. Then one could turn all of the building polygons into lines and erase shared walls found with the intersect from that feature class or shapefile. One can use the field calculator to find the difference in height of the intersect feature. This, with the non-shared walls would give you the building blocks to find your area calculation. The tricky part is doing this for all buildings in your shapefile. As it would require each building to be selected and intersected with all of it's near buildings. Each intersect would create a new feature class that would all need to be merged together in the end. I would program a solution for this first part of your problem with python. But others may use model builder which does not require programming.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/198226_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/198228_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/intersect.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/intersect.htm"&gt;Intersect—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/calculate-field-examples.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/calculate-field-examples.htm"&gt;Calculate Field examples—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/merge.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/merge.htm"&gt;Merge—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-line.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-line.htm"&gt;Feature To Line—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/communities/python/" title="http://resources.arcgis.com/en/communities/python/"&gt;Python for ArcGIS | ArcGIS Resource Center&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/what-is-modelbuilder-.htm" title="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/what-is-modelbuilder-.htm"&gt;What is ModelBuilder?—ArcGIS Pro | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/erase.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/erase.htm"&gt;Erase—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2016 18:30:34 GMT</pubDate>
    <dc:creator>forestknutsen1</dc:creator>
    <dc:date>2016-05-04T18:30:34Z</dc:date>
    <item>
      <title>Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126077#M4366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GIS-people &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm a master student and new on this forum. I appreciate any help of yours.&lt;/P&gt;&lt;P&gt;I have two data set (attached):&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;Shapefile of buildings containing the height of each building as well.&lt;/LI&gt;&lt;LI&gt;A parcel shape file. Several buildings are assigned to a single parcel.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I am interested in calculating the sum of the surface of external walls of buildings (m2) in each parcel. In other words, I want to know how square meters (m2) of external walls I have in each parcel. However, it is important for me to exclude those walls which are in common in between of buildings. For instance, if two buildings with the heights of 10 m and 6 m are attached from one side, the goal would be to include 4 m of the 10 m external wall and exclude the 6 m which both walls are attached with each other.&lt;/P&gt;&lt;P&gt;I hope I was successful in describing the question. Thanks for your responses in advance.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 17:36:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126077#M4366</guid>
      <dc:creator>SaraNazli</dc:creator>
      <dc:date>2016-05-04T17:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126078#M4367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an identifier to identify the exterior walls?&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/feature-to-polygon.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/feature-to-polygon.htm"&gt;Feature To Polygon—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 17:48:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126078#M4367</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-05-04T17:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126079#M4368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that your data are in projected coordinates, have you calculated the area for the features as a first start?&amp;nbsp; The Calculate geometry tool can be used or tools in arctoolbox.&amp;nbsp; This may be the first time on geonet, but what is your experience with arcmap? You will get flooded with suggestions, but indicating your gis expertise would help others focus on the simple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 18:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126079#M4368</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-04T18:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126080#M4369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your quick response.&lt;/P&gt;&lt;P&gt;I don't know what that what you are saying is! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;P&gt;What I have is those two shape filed I have attached. I hope there is a solution for it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 18:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126080#M4369</guid>
      <dc:creator>SaraNazli</dc:creator>
      <dc:date>2016-05-04T18:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126081#M4370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could be a little tricky. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My approach would be to intersect each building polygon with other near buildings. This will give you all shared walls with the height of each in an attribute table. Then one could turn all of the building polygons into lines and erase shared walls found with the intersect from that feature class or shapefile. One can use the field calculator to find the difference in height of the intersect feature. This, with the non-shared walls would give you the building blocks to find your area calculation. The tricky part is doing this for all buildings in your shapefile. As it would require each building to be selected and intersected with all of it's near buildings. Each intersect would create a new feature class that would all need to be merged together in the end. I would program a solution for this first part of your problem with python. But others may use model builder which does not require programming.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/198226_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/198228_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/intersect.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/intersect.htm"&gt;Intersect—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/calculate-field-examples.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/calculate-field-examples.htm"&gt;Calculate Field examples—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/merge.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/merge.htm"&gt;Merge—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-line.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-line.htm"&gt;Feature To Line—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/communities/python/" title="http://resources.arcgis.com/en/communities/python/"&gt;Python for ArcGIS | ArcGIS Resource Center&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/what-is-modelbuilder-.htm" title="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/what-is-modelbuilder-.htm"&gt;What is ModelBuilder?—ArcGIS Pro | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/erase.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/erase.htm"&gt;Erase—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 18:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126081#M4370</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2016-05-04T18:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126082#M4371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh wow, that's very kind of you for writing the script in phyton. This will be a miracle for my work...!&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 18:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126082#M4371</guid>
      <dc:creator>SaraNazli</dc:creator>
      <dc:date>2016-05-04T18:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126083#M4372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have access to an &lt;STRONG&gt;Advanced&lt;/STRONG&gt; license you could do this in the following way:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use "&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/polygon-to-line.htm"&gt;Polygon to Line&lt;/A&gt;" tool with the option IDENTIFY_NEIGHBORS to generate a line featureclass that allows you to identify shared walls. This will have fields for LEFT_FID and RIGHT_FID. Use these fields to join the table of the buildings to fill new fields with the height for the left building and right building (when LEFT_FID is -1 the wall is not shared)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/198251_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Base on the attributes you can identify the situation of the wall (shared, not shared between parcels)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/198252_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;As mentioned before you can join the data of the buildings to the wall using the LEFT_FID and RIGHT_FID and calculate the height difference and wall surface:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/198253_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;To identify the parcel the building is in, use the label points of the building (inside):&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/198263_pastedImage_8.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;and perform a spatial join of the points to the parcels. Use the ORIG_FID and the LEFT_FID and RIGHT_FID fields to join the parcel to the wall lines to avoid problems caused by these kind of situations:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/198264_pastedImage_9.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;In the table of the wall lines you can summarize by "Final_Parcel" to get the total amount of waal surface per parcel. I assigned the surface of the shared wall to the parcel where the highest building is located.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/198265_pastedImage_10.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Find attached the (intermediate) results for a small area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 19:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126083#M4372</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-05-04T19:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126084#M4373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice job Xander... I am going to move this to &lt;A href="https://community.esri.com/space/2087"&gt;Geoprocessing&lt;/A&gt;​ so it doesn't get lost in the canyon of all things GIS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 19:57:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126084#M4373</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-04T19:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126085#M4374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Xanders&lt;/P&gt;&lt;P&gt;thank you very much for the concrete solution. however, as I am not a&lt;/P&gt;&lt;P&gt;professional, i couldn't follow up with some of the steps... for example it&lt;/P&gt;&lt;P&gt;is mentioned to joining the table of buildings (building_height?) to the&lt;/P&gt;&lt;P&gt;table of 'polygon to line' , where the right_FID and left_FID are. right??&lt;/P&gt;&lt;P&gt;I do not see a common field among these two table where they can be joined.&lt;/P&gt;&lt;P&gt;i tried different ways, but non of them come close to what you shared as&lt;/P&gt;&lt;P&gt;'building_line'!&lt;/P&gt;&lt;P&gt;BTW, how did you added the continuous building values in&lt;/P&gt;&lt;P&gt;building_:height_sel table?`&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 10:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126085#M4374</guid>
      <dc:creator>SaraNazli</dc:creator>
      <dc:date>2016-05-05T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126086#M4375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a number of fields in the different featureclasses that are called differently, but refer to the same object ID.On one hand you have the building polygons:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/198312_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The Object ID in this featureclass is the field "OBJECTID_1". When you derive the wall lines (polygon to lines) you obtain this table:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/198313_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The LEFT_ID refers to the value of the field OBJECTID_1 in the building polygon fc that is located on the left side of the line and the RIGHT_FID refers to the value of the field OBJECTID_1 in the building polygon fc that is located on the right side of the line:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/198333_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Before you join you can add two fields, for instance:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Left_Height and&lt;/LI&gt;&lt;LI&gt;Right_Height&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you perform a join, you will do this from the attribute table of the lines:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/198334_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;... using first LEFT_FID and joining to the building height featureclass using the OBJECTID_1 field as common field:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/198335_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;With the join active you can use the field calculator to fill the field Left_Height with the values of the field "Building_Height_sel.HEIGHT" (the joined field from the Building Height featureclass with the height values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the join and perform a new join to obtain the values for the Right Height field (using the RIGHT_FID and OBJECTID_1 fields). Based on this you can calculate the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To obtain Height_dif you can substract both height fields. However, there are some things to consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in case LEFT_FID = -1, there is no building polygon on the left side of the line. Take Right_Height as height difference.&lt;/LI&gt;&lt;LI&gt;In the other cases, use Abs([Left_Height] - [Right_Height]). This will get the absolute value of the difference.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Wall Surface can be obtained multiplying the Height_dif values with the Shape_Length values (I prefer working with fc's stored in a FGDB then with Shapefiles, since the FGDB fc will add and maintain fields like length and area).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other part is to assign the surface to a parcel. For this we will need to know to which parcel we should assign the line. Remember that the line is often located on the border of two parcels. In the explanation below I assign the wall surface to the parcel where the highest building (of the two neighboring buildings) is located. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in the previous post I converted the buildings to points using the inside option. These points are located in each building and have the same attributes (to be sure I created a field in the building height fc containing "Building " &amp;amp; [OBJECTID_1]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can perform a spatial join from these points to obtain the information of the parcel where the point (building) is located:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/198336_pastedImage_8.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;This will generate a new point fc with the attributes of the parcels:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-7 jive-image" src="https://community.esri.com/legacyfs/online/198338_pastedImage_10.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;You can use the OBJECTID_1 field as common field to join the PARCEL field using the LEFT_FID and RIGHT_FID to get the Left_Parcel and Right_Parcel of each wall line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Wall Situation field contains the case. It is either.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a wall that is not shared "Single Wall" (when left_Parcel is Null)&lt;/LI&gt;&lt;LI&gt;a wall between two building inside the same parcel "Inside single Parcel" (Left_Parcel = Right_Parcel)&lt;/LI&gt;&lt;LI&gt;a wall on the limit of two parcels (Left_Parcel &amp;lt;&amp;gt; Right_Parcel)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Final_Parcel field can be defined by:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;taking the Right_Parcel when it is a single wall or the wall is located in the same parcel&lt;/LI&gt;&lt;LI&gt;taking the Right_Parcel when Right_Height &amp;gt; Left_Height&lt;/LI&gt;&lt;LI&gt;taking the Left_Parcel when Left_Height &amp;gt; Right_Height&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't have to include Left_Height = Right_Height, because the surface will be 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to understand the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 12:03:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126086#M4375</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-05-05T12:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126087#M4376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You Rock Dude!&lt;/P&gt;&lt;P&gt;Thank you very much &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 10:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126087#M4376</guid>
      <dc:creator>SaraNazli</dc:creator>
      <dc:date>2016-05-06T10:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126088#M4377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sara, could you mark Xander's response Correct so that others know that the issue is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 10:41:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126088#M4377</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-06T10:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126089#M4378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome. Good luck with the process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126089#M4378</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-05-06T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126090#M4379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Xander&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still working on the process you proposed... The flow is great,&lt;/P&gt;&lt;P&gt;however, I just got a bit of lost on the way with joining tables which&lt;/P&gt;&lt;P&gt;changes the ID's and FID's every time... I appreciate your tips on the&lt;/P&gt;&lt;P&gt;following. I thought of simplifying the process by replacing the parcel&lt;/P&gt;&lt;P&gt;with blocks. Blocks are aggregated parcels, without those annoying lines in&lt;/P&gt;&lt;P&gt;between! Attached is the file and you'll see what I mean (&lt;/P&gt;&lt;P&gt;https://www.dropbox.com/s/zmtvxdfyqdqz57l/block.zip?dl=0). So everything&lt;/P&gt;&lt;P&gt;stays the same, just instead of calculating the external walls of the&lt;/P&gt;&lt;P&gt;buildings in each parcel, this time I would like to calculate them in each&lt;/P&gt;&lt;P&gt;block. BTW with this process the surface of the walls are not counted,&lt;/P&gt;&lt;P&gt;right?&lt;/P&gt;&lt;P&gt;I appreciate your time in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 16:19:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126090#M4379</guid>
      <dc:creator>SaraNazli</dc:creator>
      <dc:date>2016-05-11T16:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126091#M4380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, you can replace the parcels by the building blocks, but you will be introducing some errors with some situations where a building is not located in any building block, like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/199853_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/199854_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/199855_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The advantage is that building blocks are not connected to each other and buildings will not share a wall to two blocks. Basically you can go either way depending on the level of detail your analysis need. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126091#M4380</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-05-11T17:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126092#M4381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so by using blocks I dont need to proceed with the left_parcel and&lt;/P&gt;&lt;P&gt;right_parcel as the last step of what you have mentioned on your previous&lt;/P&gt;&lt;P&gt;posts, correct? In other words no need to worry about "single wall",&lt;/P&gt;&lt;P&gt;"inside single parcel", "a wall on the limit of two parcels"...(?)  Which&lt;/P&gt;&lt;P&gt;means that I should perform a spatial from building_height_points with the&lt;/P&gt;&lt;P&gt;blocks and summarizing all the walls of each block. Would that be correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 12:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126092#M4381</guid>
      <dc:creator>SaraNazli</dc:creator>
      <dc:date>2016-05-12T12:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126093#M4382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I meant to say was that by using blocks the step to assign a wall to a block is less complex than using the parcels. However, you will still need to use the LEFT and RIGHT information to determine the height difference and the surface of the exposed wall. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 12:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126093#M4382</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-05-12T12:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126094#M4383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you mentioned that the OBJECTID's and all the joining can be confusing, I wanted to simplify this by switching off the ID's and OBJECTID fields that aren´t the object id and use the original shapefiles. So we have building heights:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/199954_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;and parcels:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/199982_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Both have a field named FID which is the object id.&lt;/P&gt;&lt;P&gt;When generating the lines of the building polygons the resulting attribute table looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/199983_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Fields LEFT_FID and RIGHT_FID correspond to the field FID in the Building Heights shapefile and indicate which polygons are located on the left and right side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I looked a little closer at the building height shapefile, I notice that many buildings consist of multiple polygons with different heights:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/199984_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I will check how this affects the process and get back to you later today...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 14:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126094#M4383</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-05-12T14:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating building external wall from shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126095#M4384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it seems there is a problem when using the the overlapping polygons. I thought there would be, since for instance this line (in cyan):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/200027_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... is created twice. However this is what happens in the attribute table:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/200028_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The LEFT_FID and RIGHT_FID will be the same, joining the same building height for left and right and the height difference "H_DIF" will be 0, so the surface will be 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 3D the situation looks as follows (using the building polygons and extruding on the field HEIGHT):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/200029_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;In case we are interested in the surface of the walls of the green building we can define the minimum height (left or right) of the neighboring buildings as base height and use the height difference as extrusion:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/200033_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;This looks almost OK, but there is a part of the wall that should not have been included:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/200034_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;If you look at it in 2D you will see that it created 4 lines from the neighboring polygons (see cyan line):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/200035_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Looking at the attributes of selected lines:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-7 jive-image" src="https://community.esri.com/legacyfs/online/200039_pastedImage_8.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;It learns us that it should ignore 3 of the 4 records and only include the one with the highest HEIGHTs. When there are two polygons with overlap composing a single building, the polygon with the highest HEIGHT should not start on the ground, but on the HEIGHT of the lowest polygon. Although this will complicate the analysis, it is possible to derive the surface of the exposed walls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 17:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculating-building-external-wall-from-shapefile/m-p/126095#M4384</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-05-12T17:58:37Z</dc:date>
    </item>
  </channel>
</rss>

