<?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: Square buffers for point feature in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475392#M15911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This works for me... just a simple python script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
from arcpy import env
env.overwriteOutput = True
# Get arguments: 
#&amp;nbsp;&amp;nbsp; Input point feature class
#&amp;nbsp;&amp;nbsp; Output polygon feature class
#&amp;nbsp;&amp;nbsp; Buffer distance
#&amp;nbsp;&amp;nbsp; Boolean type: Maintain fields and field values of the input in the output

print "initializing"
inPoints&amp;nbsp;&amp;nbsp; = "C://YourDataDirectory//yourPoint.shp"
outPath&amp;nbsp;&amp;nbsp; = "C://YourDataDirectory"
outName&amp;nbsp;&amp;nbsp; = "SqBuffer"
bufDist&amp;nbsp;&amp;nbsp;&amp;nbsp; = 15000 #in meters
outPolys&amp;nbsp;&amp;nbsp; = outPath+"//"+outName+".shp"

print "creating new blank feature"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.CreateFeatureclass_management(outPath, outName,"POLYGON","","","", "", "","","","")
print "created"

# Open searchcursor
inRows = arcpy.SearchCursor(inPoints)

# Open insertcursor
outRows = arcpy.InsertCursor(outPolys)

# Create point and array objects
pntObj = arcpy.Point()
arrayObj = arcpy.Array()

print "writing geomety"
for inRow in inRows: # One output feature for each input point feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; inShape = inRow.shape
&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt = inShape.getPart(0)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Need 5 vertices for square buffer: upper right, upper left, lower left,
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp; lower right, upper right. Add and subtract distance from coordinates of
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp; input point as appropriate.
&amp;nbsp;&amp;nbsp;&amp;nbsp; for vertex in [0,1,2,3,4]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.ID = vertex
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if vertex in [0,3,4]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.X = pnt.X + bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.X = pnt.X - bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if vertex in [0,1,5]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.Y = pnt.Y + bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.Y = pnt.Y - bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arrayObj.add(pntObj)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Create new row for output feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat = outRows.newRow()
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Assign array of points to output feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat.shape = arrayObj

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Insert the feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; outRows.insertRow(feat)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Clear array of points
&amp;nbsp;&amp;nbsp;&amp;nbsp; arrayObj.removeAll()

# Delete inputcursor
del outRows
print "done
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this what you are looking for?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 21:00:57 GMT</pubDate>
    <dc:creator>J_B__K_</dc:creator>
    <dc:date>2021-12-11T21:00:57Z</dc:date>
    <item>
      <title>Square buffers for point feature</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475391#M15910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a single point feature and I want to create a square buffer for it. Please let me know how to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 04:20:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475391#M15910</guid>
      <dc:creator>AnandRao</dc:creator>
      <dc:date>2012-03-01T04:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Square buffers for point feature</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475392#M15911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This works for me... just a simple python script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
from arcpy import env
env.overwriteOutput = True
# Get arguments: 
#&amp;nbsp;&amp;nbsp; Input point feature class
#&amp;nbsp;&amp;nbsp; Output polygon feature class
#&amp;nbsp;&amp;nbsp; Buffer distance
#&amp;nbsp;&amp;nbsp; Boolean type: Maintain fields and field values of the input in the output

print "initializing"
inPoints&amp;nbsp;&amp;nbsp; = "C://YourDataDirectory//yourPoint.shp"
outPath&amp;nbsp;&amp;nbsp; = "C://YourDataDirectory"
outName&amp;nbsp;&amp;nbsp; = "SqBuffer"
bufDist&amp;nbsp;&amp;nbsp;&amp;nbsp; = 15000 #in meters
outPolys&amp;nbsp;&amp;nbsp; = outPath+"//"+outName+".shp"

print "creating new blank feature"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.CreateFeatureclass_management(outPath, outName,"POLYGON","","","", "", "","","","")
print "created"

# Open searchcursor
inRows = arcpy.SearchCursor(inPoints)

# Open insertcursor
outRows = arcpy.InsertCursor(outPolys)

# Create point and array objects
pntObj = arcpy.Point()
arrayObj = arcpy.Array()

print "writing geomety"
for inRow in inRows: # One output feature for each input point feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; inShape = inRow.shape
&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt = inShape.getPart(0)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Need 5 vertices for square buffer: upper right, upper left, lower left,
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp; lower right, upper right. Add and subtract distance from coordinates of
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp; input point as appropriate.
&amp;nbsp;&amp;nbsp;&amp;nbsp; for vertex in [0,1,2,3,4]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.ID = vertex
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if vertex in [0,3,4]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.X = pnt.X + bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.X = pnt.X - bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if vertex in [0,1,5]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.Y = pnt.Y + bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.Y = pnt.Y - bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arrayObj.add(pntObj)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Create new row for output feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat = outRows.newRow()
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Assign array of points to output feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat.shape = arrayObj

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Insert the feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; outRows.insertRow(feat)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Clear array of points
&amp;nbsp;&amp;nbsp;&amp;nbsp; arrayObj.removeAll()

# Delete inputcursor
del outRows
print "done
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this what you are looking for?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475392#M15911</guid>
      <dc:creator>J_B__K_</dc:creator>
      <dc:date>2021-12-11T21:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Square buffers for point feature</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475393#M15912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello there&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem, but could not solve it for 100%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a grid of points, they build squares but the whole matrix is rotated for about 5 degrees (I am not allowed to change that)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to make squares around those points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I used was the BUFFER Wizard to create a circle polygon and then I used the Feature envelope to polygon tool to create squares out of those circles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The result was a matrix of squares but they are not rotated at 5 degrees, so they build a step and a small part on every edge is blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See this image to understand it better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://oi41.tinypic.com/3481thw.jpg"&gt;http://oi41.tinypic.com/3481thw.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 11:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475393#M15912</guid>
      <dc:creator>bodoMalowerschnig</dc:creator>
      <dc:date>2012-03-01T11:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Square buffers for point feature</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475394#M15913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what is your projection you are using? This might be why they do not align...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 18:42:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475394#M15913</guid>
      <dc:creator>RobertKirkwood</dc:creator>
      <dc:date>2012-03-05T18:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Square buffers for point feature</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475395#M15914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If your points are equally spaced in both directions, only a bit "rotated" (5 degrees), you can try the Create Fishnet tool with that rotation angle to create regular squares. You need to figure out the corner coordinates though in order to have the points perfectly centered inside the fishnet polygons.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 19:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475395#M15914</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2012-03-09T19:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Square buffers for point feature</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475396#M15915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This works for me... just a simple python script...&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
from arcpy import env
env.overwriteOutput = True
# Get arguments: 
#&amp;nbsp;&amp;nbsp; Input point feature class
#&amp;nbsp;&amp;nbsp; Output polygon feature class
#&amp;nbsp;&amp;nbsp; Buffer distance
#&amp;nbsp;&amp;nbsp; Boolean type: Maintain fields and field values of the input in the output

print "initializing"
inPoints&amp;nbsp;&amp;nbsp; = "C://YourDataDirectory//yourPoint.shp"
outPath&amp;nbsp;&amp;nbsp; = "C://YourDataDirectory"
outName&amp;nbsp;&amp;nbsp; = "SqBuffer"
bufDist&amp;nbsp;&amp;nbsp;&amp;nbsp; = 15000 #in meters
outPolys&amp;nbsp;&amp;nbsp; = outPath+"//"+outName+".shp"

print "creating new blank feature"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.CreateFeatureclass_management(outPath, outName,"POLYGON","","","", "", "","","","")
print "created"

# Open searchcursor
inRows = arcpy.SearchCursor(inPoints)

# Open insertcursor
outRows = arcpy.InsertCursor(outPolys)

# Create point and array objects
pntObj = arcpy.Point()
arrayObj = arcpy.Array()

print "writing geomety"
for inRow in inRows: # One output feature for each input point feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; inShape = inRow.shape
&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt = inShape.getPart(0)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Need 5 vertices for square buffer: upper right, upper left, lower left,
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp; lower right, upper right. Add and subtract distance from coordinates of
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp; input point as appropriate.
&amp;nbsp;&amp;nbsp;&amp;nbsp; for vertex in [0,1,2,3,4]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.ID = vertex
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if vertex in [0,3,4]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.X = pnt.X + bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.X = pnt.X - bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if vertex in [0,1,5]:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.Y = pnt.Y + bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntObj.Y = pnt.Y - bufDist
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arrayObj.add(pntObj)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Create new row for output feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat = outRows.newRow()
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Assign array of points to output feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat.shape = arrayObj

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Insert the feature
&amp;nbsp;&amp;nbsp;&amp;nbsp; outRows.insertRow(feat)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # Clear array of points
&amp;nbsp;&amp;nbsp;&amp;nbsp; arrayObj.removeAll()

# Delete inputcursor
del outRows
print "done
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Is this what you are looking for?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just ran this script and it worked great for what I required; However, it wasn't perfect.&amp;nbsp; I did get square buffers around the coordinates I supplied but the buffer distance wasn't accurate.&amp;nbsp; I entered "375" for bufDist to create a 750m x 750m rectangle but the output created a 739m x 739m rectangle instead.&amp;nbsp; An equal difference of 5.5m in each direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any suggestions as to what happened??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. the script is fantastic, I just don't understand Python all that well to troubleshoot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475396#M15915</guid>
      <dc:creator>AnnaBuchheit</dc:creator>
      <dc:date>2021-12-11T21:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Square buffers for point feature</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475397#M15916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there,&amp;nbsp; &lt;BR /&gt;I just ran this script and it worked great for what I required; However, it wasn't perfect.&amp;nbsp; I did get square buffers around the coordinates I supplied but the buffer distance wasn't accurate.&amp;nbsp; I entered "375" for bufDist to create a 750m x 750m rectangle but the output created a 739m x 739m rectangle instead.&amp;nbsp; An equal difference of 10.5m in each direction.&lt;BR /&gt;&lt;BR /&gt;Do you have any suggestions as to what happened??&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;p.s. the script is fantastic, I just don't understand Python all that well to troubleshoot!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What projection are you working in? Are you working in different projections that might have an erroneous transformation?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 12:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/square-buffers-for-point-feature/m-p/475397#M15916</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-06-12T12:46:30Z</dc:date>
    </item>
  </channel>
</rss>

