>>Besides, why is such a
placement of the centroid better than the default
If you have a odd shaped object you might want to display the label
within the largest area of that object.
-----------------
| |
|-------------------------------------- |
|-------------------------------------- |
|
|
-----------------
The "ASCII" object above will have a centroid in the 'pipe' and not in center of the largest area. One way of calculating
the new centroid is by use of Vertical Mapper descriped by Russell Lawley:
http://lists.directionsmag.com/discussion/read.php?f=7&i=41713&t=41285 >>Stephen, you do not state your reason for recalculating the centroid.
/Jakob From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars I. Nielsen (GisPro) Sent: Saturday, October 14, 2006 5:24 PM To: Marsh, Stephen Cc: mapinfo-l@lists.directionsmag.com Subject: Re: [MI-L] How to find the "Centre-of-Gravity" of a Region MapInfo's centroid is not just the center of the MBR. Correct centroids also need to appear inside a region object. So a "center of gravity / mass" calculation may not yield a correct centroid placement, but one that's outside the region, which may lead to problems when using the data in MapInfo. Just think of a circular donut, where the center of mass will lie in the middle of the spoke hole, i.e. outside the ring region. Besides, why is such a placement of the centroid better than the default ? Best regards / Med venlig hilsen Lars I. Nielsen GisPro Marsh, Stephen wrote:
|
_______________________________________________ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l