-----Original Message-----
From: Jure Ravnik <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: 07 August 1999 00:19
   Subject: MI Update column!


>Hi all,
>
>What I want to do is pretty simple. I created a table
>of points (well locations for measuring groundwater depth).
>The table is in Non-earth(meters) projection and has
>three fields. A character one to describe well name and x,y.
>
>I drew the well location by hand (clicked them with a mouse referring
>to the bitmap underneath.
>
>Now, I'd like to have a list of well locations.
>Referring to the page 322 of MI 5.0 manual I chose
>update column :
>
>Table to Update : my_table
>Column to update : x
>Get Value from Table : my_table
>Value : CentroidX(obj)
>
>My zeros in the table change to a strange set of numbers:
>A well at : X : 553267.215m and Y: 156774.822m ( I got those by clicking on
the point object)
>corresponds to x : 4.975654 and y:1.409911
>
>I'd like to have the correct locations in the table.
>
>TIA
>
>Jure Ravnik
>

Jure,

I came across a similar problem, I had village locations originally
generated from create points (coords in metres generated in the local UTM
zone) we've been updating the village location pre census, any new ones are
positioned "manually" like your wells, and therefore have no coords in the
underlying table.



In MapBasic:
The default for the return value is in Long/Lat, you need use the "Set
CoordSys" statement to match your particular non-earth projection


Hope this helps.....

Mick Saunders


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to