<?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 buffering PolylineZ into PolygonZ in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510299#M16978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have about 1000 polylineZ features that I would like to convert into polygons of a constant width, and the same length as the line.&amp;nbsp; The buffer tool created 2D, not 3D features, and the 3D Buffer tool created multipatch features.&amp;nbsp; When viewed in ArcScene, I would like the features to look like the polylines, only with width, and no thickness.&amp;nbsp; Ideas? Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Nov 2013 19:55:45 GMT</pubDate>
    <dc:creator>JoeArtz</dc:creator>
    <dc:date>2013-11-17T19:55:45Z</dc:date>
    <item>
      <title>buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510299#M16978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have about 1000 polylineZ features that I would like to convert into polygons of a constant width, and the same length as the line.&amp;nbsp; The buffer tool created 2D, not 3D features, and the 3D Buffer tool created multipatch features.&amp;nbsp; When viewed in ArcScene, I would like the features to look like the polylines, only with width, and no thickness.&amp;nbsp; Ideas? Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Nov 2013 19:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510299#M16978</guid>
      <dc:creator>JoeArtz</dc:creator>
      <dc:date>2013-11-17T19:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510300#M16979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For your polylineZ features, is each vertex the same elevation?&amp;nbsp; For example, feature 1 has an elevation of 10 feet for each vertex, feature 2 has an eleavtion of 20, etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 13:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510300#M16979</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-11-18T13:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510301#M16980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, each vertex has its own Z value. There are 2-4 vertices per feature, and they are relatively straight (a few bends, but nothing even close to closed or even semi closed loop).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 14:56:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510301#M16980</guid>
      <dc:creator>JoeArtz</dc:creator>
      <dc:date>2013-11-18T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510302#M16981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following workflow should work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; Add a field of type Double called 'Elevation' to your lines feature class &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Right-click on the field &amp;gt; Calculate Geometry &amp;gt; Max (or Min) Z of Geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&amp;nbsp; Run the standard 'Buffer' tool on the lines feature class.&amp;nbsp; Before executing the tool, be sure to go to the Environment Settings &amp;gt; Z values &amp;gt; 'Enable' Output has Z values&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.&amp;nbsp; The output will contain the 'Elevation' field.&amp;nbsp; Using the below python code, you can iterate through each polygon and adjust the Z value using this field's value:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env
env.overwriteOutput = 1
env.workspace = r"C:\Default.gdb"

fc = "lines_buffer"

with arcpy.da.SearchCursor(fc, ["Elevation"]) as cursor:
&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vertexElevation = row[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management(fc, "lines_lyr", "Elevation = " + str(vertexElevation))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Adjust3DZ_management("lines_lyr", "NO_REVERSE", vertexElevation)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510302#M16981</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T22:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510303#M16982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jake:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try that!&amp;nbsp; And also learn some Python at the same time!&amp;nbsp; Thanks, I'll let you know how it works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 19:28:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510303#M16982</guid>
      <dc:creator>JoeArtz</dc:creator>
      <dc:date>2013-11-18T19:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510304#M16983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again for your assistance, Jake.&amp;nbsp;&amp;nbsp; I followed the process you outlined, and the python script ran without error, but I did not get an output file with the new 3D features.&amp;nbsp; Would the output from the script have been a new feature class, or would it have updated the input lines_buffer feature class?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I assumed that the "r" after the equal sign in the line env.workspace = r"C:\Default.gdb" is a typo?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added and populated the Elevation field, and then ran the Buffer tool, with Z enabled as an environment variable.&amp;nbsp; The resultant polygons, however, do not have Z values. when one is edited, the sketch properties show 0 for all vertices.&amp;nbsp;&amp;nbsp; The line_lyr feature class was empty at the conclusion of running the script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing I haven't mentioned is that although the polylines do not overlap in 3D space, there is a great deal of overlapping in 2D.&amp;nbsp; Also, the map units for the polylines are in meters, but I buffered them to only 0.005 m (5 mm, for a total polygon width of 1 cm, because they represent bones from an archaeological site).&amp;nbsp; Would either of these "strangenesses" cause trouble for the script and the ArcTools it uses? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Joe,&lt;BR /&gt;&lt;BR /&gt;The following workflow should work:&lt;BR /&gt;&lt;BR /&gt;1.&amp;nbsp; Add a field of type Double called 'Elevation' to your lines feature class &lt;BR /&gt;2.&amp;nbsp; Right-click on the field &amp;gt; Calculate Geometry &amp;gt; Max (or Min) Z of Geometry&lt;BR /&gt;3.&amp;nbsp; Run the standard 'Buffer' tool on the lines feature class.&amp;nbsp; Before executing the tool, be sure to go to the Environment Settings &amp;gt; Z values &amp;gt; 'Enable' Output has Z values&lt;BR /&gt;4.&amp;nbsp; The output will contain the 'Elevation' field.&amp;nbsp; Using the below python code, you can iterate through each polygon and adjust the Z value using this field's value:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env
env.overwriteOutput = 1
env.workspace = r"C:\Default.gdb"

fc = "lines_buffer"

with arcpy.da.SearchCursor(fc, ["Elevation"]) as cursor:
&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vertexElevation = row[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management(fc, "lines_lyr", "Elevation = " + str(vertexElevation))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Adjust3DZ_management("lines_lyr", "NO_REVERSE", vertexElevation)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510304#M16983</guid>
      <dc:creator>JoeArtz</dc:creator>
      <dc:date>2021-12-11T22:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510305#M16984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, the 'r' after the = sign for the env.workspace is not a typo.&amp;nbsp; See &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002z0000000r000000"&gt;here&lt;/A&gt;&lt;SPAN&gt; for an explanation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script will update the original feature class.&amp;nbsp; Would you be able to zip and upload a small sample of your data?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 13:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510305#M16984</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-11-20T13:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510306#M16985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure!&amp;nbsp; Here's a sample.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 11:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510306#M16985</guid>
      <dc:creator>JoeArtz</dc:creator>
      <dc:date>2013-11-21T11:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510307#M16986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The end result will not be what you are looking for.&amp;nbsp; The workflow I provided will only work when the vertices Z values are the same for each line segment.&amp;nbsp; For example, segment one has two vertices and each have an elevation of 37.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since each of your line's vertices are different, the buffer output will have a constant Z value for each vertex based on whether you calculated the min or max elevation for the line shapefile.&amp;nbsp; Attached are the results that you can view in ArcScene.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 12:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510307#M16986</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-11-21T12:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510308#M16987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jake:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's too bad.&amp;nbsp; Although it didn't work, I learned several things along the way. One of which would be, in the future, to include a sample of my dataset right up front.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your work on this, though.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510308#M16987</guid>
      <dc:creator>JoeArtz</dc:creator>
      <dc:date>2013-11-21T13:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: buffering PolylineZ into PolygonZ</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510309#M16988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread started a year ago, but maybe you will still find this helpful. I have been trying to figure out the same thing for a while and I finally figured it out. Here, I have provided the link to my help thread that I answered when I figured the process out. Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/116846"&gt;Polyline Z to Buffer with same Z dimensions??&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:27:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/buffering-polylinez-into-polygonz/m-p/510309#M16988</guid>
      <dc:creator>MorganHarris</dc:creator>
      <dc:date>2014-12-02T18:27:08Z</dc:date>
    </item>
  </channel>
</rss>

