The ObjectLen( ) function returns a length measurement in the units specified by the unit_name parameter; for example, to obtain a length in miles, specify "mi" as the unit_name parameter. See Set Distance Units statement for the list of valid unit names.
For the most part, MapInfo Professional performs a Cartesian or Spherical operation. Generally, a Spherical operation is performed unless the coordinate system is nonEarth, in which case, a Cartesian operation is performed.
CartesianObjectLen( ):
The CartesianObjectLen( ) 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.
The CartesianObjectLen( ) function will always return a value using a cartesian algorithm. A value of -1 will be returned for data that is in a Latitude/Longitude coordinate system, since Latitude/Longitude data is not projected and not cartesian.
The CartesianObjectLen( ) function returns a length measurement in the units specified by the unit_name parameter; for example, to obtain a length in miles, specify "mi" as the unit_name parameter. See the Set Distance Units statement for the list of valid unit names.
HTH
Greg Driver
NOT PROTECTIVELY MARKED
Hello,
Thanks for any help!
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
Information about this E-mail
This email and any files or attachments with it are intended solely for the use of the individual(s) or organisation(s) to whom it is addressed.
It may contain information that is confidential or subject to legal and/or professional privilege.
If you have received this email in error please notify the sender and delete it including any files or attachments from your e-mail account or computer.
Any opinions expressed in this email are those of the individual and not necessarily those of Surrey Police.
Surrey Police monitor incoming and outgoing e-mail.
This spheroid is worth remembering as many organisations publish rectified
imagery or radar data etc based on this sphere; 10,999,12,0,0,0 is Mercator
on this Sphere.
The error in the distance calculation is sometimes deemed to be acceptable
as it is about 1km in 500km; would you use a distance measuring device which
gave you an error or 1m in 500m?
Polyline 1
Polyline 2
Polyline 3
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1869 / Virus Database: 2092/4601 - Release Date: 11/06/11
Interesting. Do you know which object length function would be best to
use when using British National Grid?