There sure is: GetPolygonArea() gives you the area of a polygon in current map
units.
If you need the area in kilometers, you can preface that command with
SetMapUnits("Kilometers").
And if you want to be certain to put things back the way you found them, you
can:
- use GetMapUnits() to get the current units;
- use SetMapUnits() to make the units kilometers;
- use GetPolygonArea() to get the area in kilometers; and
- use SetMapUnits() to put things back to the initial value yielded by
GetMapUnits().
--- In [email protected], "edsonmartins2005" <edsonmartins2005@...>
wrote:
>
> Someone could tell me if there is any function in GISDK to calculate the size
> in square kilometers of a selected area?
>
>
> Edson
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Maptitude/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/Maptitude/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/