Hi all,
I want correct my query in the previous mail:
----------------------------------------------
Jacques Paris,
Thanks, but if I do not want to change my projection system using SET
COORDSYS clause, then is there any other alternative to simulate the
mapinfo double click results through map basic? As I mentioned I changed
just the xy coordinate units and not projection, and still the double click
gives me desired results.

Thanks,
Bikram
---------------------- Forwarded by Bikramjit Singh/RMSI on 07/23/99 02:22
PM ---------------------------


Bikramjit Singh
07/23/99 12:04 AM

To:   "mapinfo mailing list" <[EMAIL PROTECTED]>, "Jacques Paris"
      <[EMAIL PROTECTED]> @ RISKINC
cc:
Subject:  RE: MI Mapinfo coordinate units  (Document link not converted)

Jacques Paris,
Thanks, but if I do not want to change my coordinate system, then is there
any other alternative to simulate the mapinfo double click results through
map basic? As I mentioned I changed just the xy unit system and not
coordsys, and still the double click gives me desired results.

thanks,
Bikram




"Jacques Paris" <[EMAIL PROTECTED]> on 07/22/99 11:03:13 PM

To:   Bikramjit Singh/RMSI, [EMAIL PROTECTED]
cc:
Subject:  RE: MI Mapinfo coordinate units




Bikram,

One should recognize that there are different "environments" from which MI
draws "measurements". One is the mapper environment which unit system is
defined by the SET MAP... command and applies to mapper information i.e.
all
the layers that are present in the mapper. Also in this group SET DISTANCE
units and SET AREA units.

The other is the table (layer) information; when acting or questioning
specific objects of a table taken in isolation, the unit system that is
used
is that of the table. This is the case in Mapbasic of all the calls to
objectinfo(), objectgeography(), centroidX().. . To change the unit system
you have to use SET COORDSYS with a projection that would be appropriate.
In
your case it would be simply SET COORDSYS EARTH for degrees and to go back
to meters, SET COORDSYS TABLE your_open_table.

By writing this down it became clearer to me; I hope it is understandable
to
you.

Jacques Paris
============================================================
e-mail        [EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
      http://www.total.net/~rparis/gisproducts.htm
============================================================

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: July 22, 1999 8:54 AM
> To: mapinfo mailing list
> Subject: MI Mapinfo coordinate units
>
>
> Hi,
> There is a peculiar problem I am facing with mapinfo.
>
> The steps I take are as follows:
>
> 1. Open a table with map point type object and select the point
> type object
> using mouse.
> 2. Using mapinfo menu: Map|options
> 3. In the mapbasic window execute the statement: Set map xy units "m"
> 4. Double click the point object selected earlier. The values
> displayed are
> in meters.
> 5. Now execute the statement: Set map xy units "degree"
> 6. Double click the point object selected earlier. The values
> displayed are
> in degrees.
> 7. But exectuting centroidx(selection.obj) and centroidy(selection.obj)
in
> the above two situations do not give values in two different unit systems
> instead continue to give values in only one unit system for eg: meters in
> case of TM coordinate system as per  the current coordinate system.
>
> I need to convert the units using mapbasic statement(from a
> program) to get
> similar results as observed when I double click the point object.
>
> Thanks in advance for any suggestion,
> Bikram
>
>
> ----------------------------------------------------------------------
> 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]

Reply via email to