Hi John,
MapInfo supports MultiPoint objects which could do what you are searching for.
Using the MapBasic window you might be able to do this:
Update MYTABLE Set OBJ = Combine(CreatePoint(O_LONG, O_LAT), CreatePoint(D_LONG,
D_LAT))
where:
MYTABLE is the name of your table
O_LONG is the column containing the longitude for your Origin
O_LAT is the column containing the latitude for your Origin
D_LONG is the column containing the longitude for your Destination
D_LAT is the column containing the latitude for your Destination
Or you could create a simple line illustrating start and end point:
Update MYTABLE Set OBJ = CreateLine(O_LONG, O_LAT, D_LONG, D_LAT)
where:
MYTABLE is the name of your table
O_LONG is the column containing the longitude for your Origin
O_LAT is the column containing the latitude for your Origin
D_LONG is the column containing the longitude for your Destination
D_LAT is the column containing the latitude for your Destination
HTH,
Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
Tel +45 6311 4900
Direct +45 6311 4908
Mob +45 5156 1045
Fax +45 6311 4949
E-mail [EMAIL PROTECTED]
http://www.cowi.dk
-----Original Message-----
From: John Polasky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 10:12 PM
To: [EMAIL PROTECTED]
Subject: MI-L MapInfo Create Points
Greetings Listers:
Just a quick question. I realize this is probably very basic, but for some reason I'm
drawing a blank right now...
Can I create points twice, on an Origin/Destination table (once for the origins and
then once more for the destinations)? I want to be able to click on a row and
highlight both points for the O-D pairing. Can I do this, or do I need to use a join?
Thank you so much.
John
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11900
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11901