Andrew,
When you create map for your table, you issue:
Create Map For ... CoordSys Earth Projection ... (BNG as I understand).
This is correct, but when you are going to create objects or access coordinates
in any other way, you have to set coordinate system for your MBX. To achieve
this, use:
Set CoordSys Table ... <- specify your table's name here.
You have all objects with the same coordinates because MBX assumes that you
are working in long/lat, while you supply values in BNG coordinates, so the
coordinates in your table are minimal/maximal for long/lat (like 180/90).
Contact me if my explanation is unclear,
Dmitry
----------
From: andrew whittam <[EMAIL PROTECTED]>
Newsgroups: ksf.mapinfo-l
Subject: MI Create points problem
Date: Tuesday, May 11, 1999 5:42 PM
I have been trying to set up a system in MapBasic wich will automatically
take a file of addresess, match the postcode-grid ref to a lookup table an
then make the addresess, now with grid refs plot on a map.
All works fine till my create points module.
It: 1. opens the table
2. issues create map... coordsys ercth projection.... which I think
makes the table mapable and sets projection to British Nation grid
3. runs a loop which goes thro each record and does... update file
set obj = createpoint(x,y) where rowid=rownum
It returns no error, but all recs have the same value in the object field
which looks more like lat/long!
Does anyone have any ideas where I may be going wrong?
Also, it has suggested that there is a bug with BNG, has anyone heard
anything about this?
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]