Hello Peter,

I don't know which help file you're looking at, but the following is from
the MapBasic (v6) help file:

The ObjectLen( ) function returns the length of an object expression. Note
that only line and polyline objects have length values greater than zero; to
measure the circumference of a rectangle, ellipse, or region, use the
Perimeter( ) function.

Regards,
Warren Vick
Europa Technologies Ltd.
http://www.europa-tech.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Taylor
Sent: Friday, February 01, 2002 6:43 PM
To: MI-L List
Subject: MI-L length of an arc


Hello!
 I have a table with lines, polylines and arcs. I'm trying to calculate the
length of an arc.
    SQL Select
            select columns  ObjectLen(obj, "m")
Positive values are  returned in browser for a line, polyline ... but the
arc returns a length value of 0

According to  Help menu
ObjectLen( obj , str )  Returns the length of the object. The str value
specifies a distance unit name such as "mi" or "km". Only line, polyline,
and arc objects have non-zero lengths.
Am I doing something incorrect?
  _______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com | To
unsubscribe, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to