shrug-l: calculate acres

Massa, Greg massag@talgov.com
Fri, 6 Aug 2004 14:18:50 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C47BE1.D2C4AFE0
Content-Type: text/plain;
	charset="iso-8859-1"

This is how to use the Field Calculator...
 
Open the feature class "table" while in ArcMap
Right click "acres" field select calculate values
In the field calculator dialog box check the advanced tab
Insert the following code in the Pre-Logic VBA Script Code box
    Dim dblArea as double
    Dim pArea as IArea
    Set pArea = [shape]
    dblArea = pArea.area/43560
Insert the following line in the "FIELD" box
    dblArea 
 
Hope this helps....

-----Original Message-----
From: Jason Houck [mailto:JHouck@drmp.com]
Sent: Friday, August 06, 2004 1:33 PM
To: shrug-l@lists.dep.state.fl.us
Subject: shrug-l: calculate acres


Does anyone know if an efficient way to batch calculate acreage for a
polygon coverage?
 
Jason M. Houck, MS
GIS Analyst, Water Resources Dept.
DRMP, Inc.
1505 East Colonial Dr.
Orlando, FL 32803
407-896-0594 (phone)
407-896-4836 (fax)
 


------_=_NextPart_001_01C47BE1.D2C4AFE0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=220111218-06082004><FONT face=Arial color=#0000ff size=2>This 
is how to use the Field Calculator...</FONT></SPAN></DIV>
<DIV><SPAN class=220111218-06082004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=220111218-06082004><FONT face=Arial color=#0000ff size=2>Open 
the feature class "table" while in ArcMap</FONT></SPAN></DIV>
<DIV><SPAN class=220111218-06082004><FONT face=Arial color=#0000ff size=2>Right 
click "acres" field select <EM>calculate values</EM></FONT></SPAN></DIV>
<DIV><SPAN class=220111218-06082004><FONT face=Arial color=#0000ff size=2>In the 
field calculator dialog&nbsp;<SPAN class=595372218-06082004>b</SPAN>ox check the 
<EM>advanced</EM> tab</FONT></SPAN></DIV>
<DIV><SPAN class=220111218-06082004><FONT face=Arial color=#0000ff size=2>Insert 
the following code in the <EM>Pre-Logic VBA Script Code</EM> 
box</FONT></SPAN></DIV>
<DIV><FONT color=#ff0000><SPAN class=220111218-06082004>&nbsp;&nbsp;&nbsp; 
</SPAN>Dim dblArea as double<BR><SPAN 
class=220111218-06082004>&nbsp;&nbsp;&nbsp; </SPAN>Dim pArea as IArea<BR><SPAN 
class=220111218-06082004>&nbsp;&nbsp;&nbsp; </SPAN>Set pArea = [shape]<BR><SPAN 
class=220111218-06082004>&nbsp;&nbsp;&nbsp; </SPAN>dblArea = pArea.area<SPAN 
class=595372218-06082004>/43560</SPAN></FONT></DIV>
<DIV><SPAN class=220111218-06082004><FONT face=Arial color=#0000ff size=2>Insert 
the following line in the <EM>"FIELD" </EM>box</FONT></SPAN></DIV>
<DIV><SPAN class=220111218-06082004>&nbsp;&nbsp;&nbsp; <FONT 
color=#ff0000>dblArea </FONT></SPAN></DIV>
<DIV><SPAN class=220111218-06082004><FONT 
color=#ff0000></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=220111218-06082004><SPAN class=595372218-06082004><FONT 
color=#ff0000>Hope this helps....</FONT></SPAN></SPAN></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Jason Houck 
  [mailto:JHouck@drmp.com]<BR><B>Sent:</B> Friday, August 06, 2004 1:33 
  PM<BR><B>To:</B> shrug-l@lists.dep.state.fl.us<BR><B>Subject:</B> shrug-l: 
  calculate acres<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN class=461353117-06082004>Does anyone know 
  if an efficient way to batch&nbsp;calculate acreage for a polygon 
  coverage?</SPAN></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left><FONT face=Arial size=4><STRONG>Jason M. Houck, 
  MS</STRONG></FONT></DIV>
  <DIV align=left><FONT face=Arial><EM>GIS Analyst, Water Resources 
  Dept.</EM></FONT></DIV>
  <DIV align=left><STRONG><FONT face=Arial color=#ff0000>DRMP, 
  Inc.</FONT></STRONG></DIV>
  <DIV align=left><STRONG><FONT face=Arial color=#ff0000>1505 East Colonial 
  Dr.</FONT></STRONG></DIV>
  <DIV align=left><STRONG><FONT face=Arial color=#ff0000>Orlando, FL 
  32803</FONT></STRONG></DIV>
  <DIV align=left><FONT face=Arial color=#ff0000>407-896-0594 
  (phone)</FONT></DIV>
  <DIV align=left><FONT face=Arial color=#ff0000>407-896-4836 (fax)</FONT></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C47BE1.D2C4AFE0--