<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR><o:SmartTagType
name="State"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 77.95pt 72.0pt 77.95pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P.MsoPlainText {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
LI.MsoPlainText {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
DIV.MsoPlainText {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=070285819-10042007><FONT face=Arial
color=#0000ff size=2>Kori wrote:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN style="FONT-SIZE: 10pt"><FONT face=Arial><SPAN
class=070285819-10042007> > </SPAN>Dim l_dArea as double =
l_oMgPolygon.Area<o:p></o:p></FONT></SPAN></DIV>
<DIV class=Section1>
<P class=MsoPlainText><FONT face=Arial color=#0000ff size=2><SPAN
style="FONT-SIZE: 10pt"><o:p></o:p></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face=Arial color=#0000ff><SPAN
style="FONT-SIZE: 10pt"><o:p><SPAN class=070285819-10042007>As Kori mentioned,
you could do this pretty easily without a feature
source:</SPAN></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial color=#0000ff><SPAN
style="FONT-SIZE: 10pt"><o:p><SPAN class=070285819-10042007><CODE><SPAN
class=php1-symbol></SPAN></CODE></SPAN></o:p></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face=Arial color=#0000ff><SPAN
style="FONT-SIZE: 10pt"><o:p><SPAN class=070285819-10042007><CODE><SPAN
class=php1-variable>$wktReaderWriter</SPAN><SPAN class=php1-space><FONT
color=#008080> </FONT></SPAN><SPAN class=php1-symbol>=</SPAN><SPAN
class=php1-space><FONT color=#008080> </FONT></SPAN><SPAN
class=php1-reservedword><STRONG>new</STRONG></SPAN><SPAN class=php1-space><FONT
color=#008080> </FONT></SPAN><SPAN
class=php1-identifier>MgWktReaderWriter();<BR></SPAN><SPAN
class=php1-variable>$poly</SPAN><SPAN class=php1-space><FONT color=#008080>
</FONT></SPAN><SPAN class=php1-symbol>=</SPAN><SPAN class=php1-space><FONT
color=#008080> </FONT></SPAN><SPAN
class=php1-variable>$wktReaderWriter</SPAN><SPAN
class=php1-symbol>->Read(<BR></SPAN><SPAN class=php1-space><FONT
color=#008080> </FONT></SPAN><SPAN class=php1-string><FONT
color=#008000>"POLYGON ( ( 1 1 , 1 2 , 2 1 , 1 1 ) )"</FONT></SPAN><SPAN
class=php1-symbol>);<BR></SPAN><SPAN
class=php1-reservedword><STRONG>print</STRONG></SPAN><SPAN
class=php1-space><FONT color=#008080> </FONT></SPAN><SPAN
class=php1-variable>$poly</SPAN><SPAN
class=php1-symbol>->GetArea();<BR></SPAN></CODE><!--EndFragment--></SPAN></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial color=#0000ff><SPAN
style="FONT-SIZE: 10pt"><o:p><SPAN class=070285819-10042007>Note that this
doesn't give meaningful results for non-projected coordinate systems.
</SPAN></o:p></SPAN></FONT><FONT face=Arial color=#0000ff><SPAN
style="FONT-SIZE: 10pt"><o:p><SPAN class=070285819-10042007>To do this properly,
you'd likely want to project into an appropriate system (UTM is fairly easy to
determine programmatically) and run the area calculation on the projected
geometry. There would also need to be some unit handling/conversion stuff
in place for a generic tool, as well as checks to make sure you have a valid
polygon, etc.</SPAN></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial color=#0000ff><SPAN
style="FONT-SIZE: 10pt"><o:p><SPAN
class=070285819-10042007></SPAN></o:p></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face=Arial color=#0000ff><SPAN
style="FONT-SIZE: 10pt"><o:p><SPAN
class=070285819-10042007>Jason</SPAN></o:p></SPAN></FONT></P></DIV></BODY></HTML>