<?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: How can I convert an arcpy geometry object to a shapefile? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412008#M13944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And you are saying that after the code to create the geometry list that when you loop through the geometry list and process each individually that you get 5 feature classes each with one feature with unique geometry and if you process the whole geometry list you can one feature class with 5 features each with the same geometry? If that is the case I don't really have any idea what could be causing it and would recommend you contact Technical Support to troubleshoot it further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# make a new geodatabase feature class for the streams:

for i in range (0, len(upstream)):
&amp;nbsp;&amp;nbsp;&amp;nbsp; ln = upstream&lt;I&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(ln, "line" +str(i))

arcpy.CopyFeatures_management(upstream, "streams")
&lt;/I&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also just to verify you might want to try running the code below just to get more of an idea of the geometry in the list. If the extents are different then the geometries you are creating are different and I am not really sure why they would not be outputed that way when passed to Copy Features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
for g in upstream:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Min X: {0}, Min Y: {1}, Max X: {2}, Max Y: {3}".format(g.extent.XMIN, g.extent.YMIN, g.extent.XMax, g.extent.YMax)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 18:42:19 GMT</pubDate>
    <dc:creator>ChrisFox3</dc:creator>
    <dc:date>2021-12-11T18:42:19Z</dc:date>
    <item>
      <title>How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/411999#M13935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm quite new to arcpy, so maybe this is stupid question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a script that produces streams as polylines for every branch one line. I use "unsplit line" to merge them to one line with a geometry object as output. This is done several times (several streams) so in the end I have a list with several geometry objects that contain polylines. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want to convert these geometries to a shapefile or geodatabase feature. How can I do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CopyFeatures_managements needs a shapefile/Feature as input. Is there a similar tool/opportunity for geometry objects?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Selda&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Feb 2011 17:48:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/411999#M13935</guid>
      <dc:creator>SeldaSamiri</dc:creator>
      <dc:date>2011-02-26T17:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412000#M13936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;keywords:&amp;nbsp; insertcursor, array&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001v000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001v000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;has some ideas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Feb 2011 19:35:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412000#M13936</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-02-26T19:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412001#M13937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was hoping that there is an easier and faster way...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 07:38:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412001#M13937</guid>
      <dc:creator>SeldaSamiri</dc:creator>
      <dc:date>2011-02-28T07:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412002#M13938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Selda,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to pass a list of geometries as an input to the copy features tool. In tools that take a feature class or feature layer you can generally subsititute them with geometry objects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 14:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412002#M13938</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2011-02-28T14:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412003#M13939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought that, too. But what I get is an error message: "Input Data Element: Dataset in_memory\f1F06F212_6D71_42CA_B754_D6EA38AB0E4B does not exist or is not supported"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it's there and it was the output of the dissolve tool, so it should be ok?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Selda&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 08:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412003#M13939</guid>
      <dc:creator>SeldaSamiri</dc:creator>
      <dc:date>2011-03-01T08:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412004#M13940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you doing something like this in your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
g = arcpy.Geometry()
geoList = arcpy.Dissolve_management(r'C:\Data\ArcGIS\TemplateData.gdb\USA\states', g)
arcpy.CopyFeatures_management(geoList, r'C:\Data\ArcGIS\TemplateData.gdb\USA\statesDiss")
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:42:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412004#M13940</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2021-12-11T18:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412005#M13941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, thanks, I did not know, that I have to assign the result to a variable! I tried to use 'g' as input to the arcpy.CopyFeatures_management tool! Now it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now I have another problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside a loop I append the polylines from the dissolve tool to a list:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
line_geom = arcpy.Geometry()
lines = arcpy.Dissolve_management(newline, line_geom)
upstream.append(lines[0])&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print upstream gives this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; [&amp;lt;Polyline object at 0x107918d0[0x104daaa0]&amp;gt;,
 &amp;lt;Polyline object at 0xbebd770[0x104ce278]&amp;gt;,
 &amp;lt;Polyline object at 0xbdf6cf0[0xba9c980]&amp;gt;,
 &amp;lt;Polyline object at 0xbe0e750[0x104dad58]&amp;gt;,
 &amp;lt;Polyline object at 0x573d770[0x104ce338]&amp;gt;]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I now use this list as input to the arcpy.CopyFeatures_management tool I get a shape-file that contains the first polyline in the list 5 times instead of 5 different polylines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I make a shapefile out of every single line from the list like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;for i in range (0, len(upstream)):
&amp;nbsp;&amp;nbsp;&amp;nbsp; ln = upstream&lt;I&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(ln, "line" +str(i))&lt;/I&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then I get the five different lines correctly. So they are there in the list and they are correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How could that happen?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Selda&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412005#M13941</guid>
      <dc:creator>SeldaSamiri</dc:creator>
      <dc:date>2021-12-11T18:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412006#M13942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure, could you share all the code from the loop used to create the list of geometries to the CopyFeatures function call?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 15:32:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412006#M13942</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2011-03-02T15:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412007#M13943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is not the original code as there are many steps inbetween, but it gives the general way I'm doing it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The overall task was to extract the part of a stream upstream of several sampling sites. I'm doing this in several steps with comparing the elevation in a dem at the stream vertices. As the stream contains of several branches, I need every branch of the upstream part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end I have a list of objects that contains the x/y coordinates for the vertices of the new polyline feature I want to make. Each branch has its own pointlist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the way how I make the polylines:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;upstream =[] # for each sampling site a polyline shall be added to this list (one stream contains several branches that are dissolved to one polyline with the dissolve tool in the end)


# do for each sampling site:

for streamsegment_list in sampling_list:


&amp;nbsp;&amp;nbsp;&amp;nbsp; lineList = []&amp;nbsp; # for each branch a polyline shall be added to this list


&amp;nbsp;&amp;nbsp;&amp;nbsp; # do for each branch of the actual stream:

&amp;nbsp;&amp;nbsp;&amp;nbsp; for segmentlist in streamsegment_list:&amp;nbsp; # streamsegment_list contains the points for all branches of one stream, segmentlist gives one branch


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pointList = arcpy.Array()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # the points for one branch of the stream-polyline shall be added to this list


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # do for each point of the actual branch:

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for segment in segmentlist:&amp;nbsp; # segmentlist gives one branch of the stream, segment is an object that contains the x/y coordinates

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PS_pt = arcpy.Point(segment.firstx, segment.firsty)&amp;nbsp;&amp;nbsp; #firstx and firsty contain the coordinates for the points

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pointList.add(PS_pt)&amp;nbsp; # add the point to the list


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ln = arcpy.Polyline(pointList)&amp;nbsp; # make a polyline out of the pointlist (one branch)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineList.append(ln)&amp;nbsp; # append this polyline to the linelist

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ln = None


&amp;nbsp;&amp;nbsp;&amp;nbsp; line_geom = arcpy.Geometry()

&amp;nbsp;&amp;nbsp;&amp;nbsp; lines = arcpy.Dissolve_management(lineList, line_geom) # dissolve the branches of one stream to one polyline

&amp;nbsp;&amp;nbsp;&amp;nbsp; upstream.append(lines[0]) # append this polyline to the upstream-list


# make a new geodatabase feature class for the streams:

arcpy.CopyFeatures_management(upstream, "streams")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but then instead of 5 different polylines I get five times the first polyline in the upstream list as I described.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412007#M13943</guid>
      <dc:creator>SeldaSamiri</dc:creator>
      <dc:date>2021-12-11T18:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412008#M13944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And you are saying that after the code to create the geometry list that when you loop through the geometry list and process each individually that you get 5 feature classes each with one feature with unique geometry and if you process the whole geometry list you can one feature class with 5 features each with the same geometry? If that is the case I don't really have any idea what could be causing it and would recommend you contact Technical Support to troubleshoot it further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# make a new geodatabase feature class for the streams:

for i in range (0, len(upstream)):
&amp;nbsp;&amp;nbsp;&amp;nbsp; ln = upstream&lt;I&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(ln, "line" +str(i))

arcpy.CopyFeatures_management(upstream, "streams")
&lt;/I&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also just to verify you might want to try running the code below just to get more of an idea of the geometry in the list. If the extents are different then the geometries you are creating are different and I am not really sure why they would not be outputed that way when passed to Copy Features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
for g in upstream:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Min X: {0}, Min Y: {1}, Max X: {2}, Max Y: {3}".format(g.extent.XMIN, g.extent.YMIN, g.extent.XMax, g.extent.YMax)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412008#M13944</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2021-12-11T18:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412009#M13945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;And you are saying that after the code to create the geometry list that when you loop through the geometry list and process each individually that you get 5 feature classes each with one feature with unique geometry and if you process the whole geometry list you can one feature class with 5 features each with the same geometry?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, exactly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it get's even stranger: Although I didn't change anything special in the code (I only replaced some fixed pathnames to scratch pathnames) now it works in the python editor. But when I run it as a tool in ArcGIS with GetParametersAsText for the arguments, then it's the same again: 5 times the first polyline in the list. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way: It's the same when I use the merge tool instead of CopyFeatures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also just to verify you might want to try running the code below just to get more of an idea of the geometry in the list. If the extents are different then the geometries you are creating are different and I am not really sure why they would not be outputed that way when passed to Copy Features.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your code gives me the following output, so they seem to be really different...: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Min X: 572739.2346, Min Y: 5607458.6527, Max X: 573639.9422, Max Y: 5608326.5093&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Min X: 570178.8781, Min Y: 5607424.5708, Max X: 570601.3457, Max Y: 5608190.19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Min X: 571531.150513, Min Y: 5608746.4787, Max X: 572402.529724, Max Y: 5609681.87512&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Min X: 569459.7907, Min Y: 5605696.8935, Max X: 569944.0459, Max Y: 5606899.4698&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Min X: 569459.7907, Min Y: 5605471.2531, Max X: 569877.6495, Max Y: 5606705.4056&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm really at a loss...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I will contact the technical support, maybe they have an idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for trying to help me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Selda&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 08:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412009#M13945</guid>
      <dc:creator>SeldaSamiri</dc:creator>
      <dc:date>2011-03-08T08:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412010#M13946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes at the least I think tech support could get your full code sample and some sample data to reproduce the issue and potentially log a bug. I would be interested to hear what the final outcome is.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 16:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412010#M13946</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2011-03-08T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert an arcpy geometry object to a shapefile?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412011#M13947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Weeks of discussion with the tech support did not help, but after the installation of Service pack 2 this problem does not exist anymore...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Selda&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 07:06:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-can-i-convert-an-arcpy-geometry-object-to-a/m-p/412011#M13947</guid>
      <dc:creator>SeldaSamiri</dc:creator>
      <dc:date>2011-05-04T07:06:08Z</dc:date>
    </item>
  </channel>
</rss>

