|
sorry, ObjectGeography.
ObjectGeography ( object, attribute
)
attributes:
1 = minX
2 = minY
3 = maxX
4 = maxY
here's an example QRY file (save as something.qry and
load up in the SQL Select dialog)
#################
Fields
{ObjectGeography(obj,1),ObjectGeography(obj,2),ObjectGeography(obj,3),ObjectGeography(obj,4)}
Tables {Streets} Where {} Group {} Order {} Into {Selection} Browse #################
ps. if you have difficulty with it returning
coordinates to only 3 or 4 decimal places, use Format( yourstuff, "00.000000")
or something like that. From: Simmonds, Ashley (DTEI) Sent: Wednesday, 21 June 2006 1:44 PM To: [email protected] Subject: RE: [MI-L] Extracting coordinates of the end points of a line the function you want is
ObjectNode... but for some reason i can't find it in the MI
helpfile....... i haven't used it for maybe the last 2 updates of MI so
maybe it's gone...?? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Fossey Sent: Wednesday, 21 June 2006 12:56 PM To: [email protected] Subject: [MI-L] Extracting coordinates of the end points of a line Does anyone know how to extract the
X1, Y1, X2, Y2 of a line to update columns, assuming that X1 and Y1 are the
start of the line? I’m
stumped. Regards,
Level 3, Phone: 07 3842 1000 This email and any attachments
are intended for the named |
_______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l

