Dear Chris,
you have to set the Coordsystem to your projection (Lat/Long is some sort of
default). Just type in the MapBasic Window before you do the query
Set CoordSys Window FrontWindow()
Make sure your MapperWindow is the active window. That should help.
Cheers
Dietrich
[EMAIL PROTECTED] schrieb:
> From: Chris Skelly@MOH on 08/06/99 13:57
>
> To: [EMAIL PROTECTED]
> cc:
> Subject: Centroids only in Lat/Long?
>
> Hi All,
>
> I'm stumped. I have a set of polygons in an X, Y cartesian grid (NZ Map Grid),
> but when I query the centroid x, y using SQL query, I get lat-long data
> back....? Is there a way to get the centroid x,y back in the same coordinate
> system as your projection? When I try to create points using the extracted
> points I can only do it in lat-long.
>
> Anyone had this problem?
>
> Chris
>
> Chris Skelly, PhD, Senior Advisor (Environmental Health),
>
> Public Health Group, Safety and Regulation Branch, Ministry of Health
>
> 133 Molesworth Street, PO Box 5013, Wellington, New Zealand
>
> Ph: +64 4 496-2215, Fx: +64 4 496-2340, Email: [EMAIL PROTECTED], WWW:
> http://www.moh.govt.nz
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]