<?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: Buffer in Meters in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/buffer-in-meters/m-p/262395#M20192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah that is what I figured, thanks Dan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2011 19:03:52 GMT</pubDate>
    <dc:creator>MathewCoyle</dc:creator>
    <dc:date>2011-05-18T19:03:52Z</dc:date>
    <item>
      <title>Buffer in Meters</title>
      <link>https://community.esri.com/t5/python-questions/buffer-in-meters/m-p/262393#M20190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I am trying to do a simple buffer on a point feature based on a calculated field in meters based on the area. However, the spatial reference is in WGS lat/long and will only take the field units as decimal degrees it seems. Is there a way to specify the field as a meter buffer in a lat/long feature? Or would I need to project it to something that will take meters?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How I was doing it before was to select each feature as it goes through the cursor and buffer that to a separate feature then merging them together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code so far below. Tips, hints, suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy, math


ws = r"C:\GIS\Fires"
arcpy.env.workspace = ws
fires_in = r"fires1.shp"
pi = math.pi

field_list = arcpy.ListFields(fires_in)
for field in field_list:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print field.name

rows = arcpy.UpdateCursor(fires_in)
for row in rows:
&amp;nbsp;&amp;nbsp;&amp;nbsp; area = row.Burned
&amp;nbsp;&amp;nbsp;&amp;nbsp; buffer_dist = math.sqrt((area*10000)/pi)
&amp;nbsp;&amp;nbsp;&amp;nbsp; row.Buffer = buffer_dist
&amp;nbsp;&amp;nbsp;&amp;nbsp; rows.updateRow(row)
&amp;nbsp;&amp;nbsp;&amp;nbsp; #arcpy.Buffer_analysis(fires_in, "fire"+name+".shp", str(buffer_dist)+" Meters")
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.Buffer_analysis(fires_in, "fire_buffer.shp", "Buffer")&amp;nbsp;&amp;nbsp;&amp;nbsp; 


del rows
del row
del field_list
del fires_in

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 17:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffer-in-meters/m-p/262393#M20190</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2011-05-17T17:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer in Meters</title>
      <link>https://community.esri.com/t5/python-questions/buffer-in-meters/m-p/262394#M20191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Project your data first, or add it into the workflow&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000007m000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000007m000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 17:53:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffer-in-meters/m-p/262394#M20191</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-05-17T17:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer in Meters</title>
      <link>https://community.esri.com/t5/python-questions/buffer-in-meters/m-p/262395#M20192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah that is what I figured, thanks Dan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 19:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffer-in-meters/m-p/262395#M20192</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2011-05-18T19:03:52Z</dc:date>
    </item>
  </channel>
</rss>

