|
Lines and polylines are handled differently
(unfortunately):
Lines:
select ObjectGeography(1), ObjectGeography(2), ObjectGeography(3),
ObjectGeography(4) from ...
Polylines:
select ObjectNodeX(obj, 1, 1), ObjectNodeY(obj, 1,
1), ObjectNodeX(obj, 1, Objectinfo(obj,20)), ObjectNodeY(obj, 1,
Objectinfo(obj,20)) from ...
Kind regards
----- Original Message -----
Sent: Friday, May 26, 2006 1:26 AM
Subject: [MI-L] getting coordinates for
the end points of lines
Hi.
I have a client that requires the lat/long values for the beginning and
endpoint of every polyline in a TAB. I am sure there is a way of doing
this with SQL Select but don't know the correct syntax to get this info.
Could someone who has done this kindly supply me with the statements to
use? Thanks.
Karl
McElhanney Consulting Services
Ltd. 100 - 780 Beatty Street Vancouver, BC Canada V6B 2M1 Tel
(604) 683-8521 www.MapsByAir.com
Do you Yahoo!? Get on board. You're
invited to try the new Yahoo! Mail Beta.
_______________________________________________ MapInfo-L mailing
list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
|