Hi all I have been asked to post these. As the attachments are fairly small, I didn't think it would be a problem for anyones system (I hope). Stella Compliments of Russel Lawley has option to remove previous coords will return coords in the maps projection (See attached file: XYcoords to Text.MBX) Compliments of Tim Nuteson returns coords in Lat/Long (See attached file: LatLonCosmetic.MBX) Compliments of Graham Herridge note - currently set to British National Grid Projection (See attached file: XYLocation2.MBX)(See attached file: XYLocation2.mb) Compliments of David Jerrard Make the cosmetic layer editable (will work with other layers, too) Use the point object tool to create points where labels will be required. (Can be more than one point - probably best that all points are created first) Select all of the points (e.g. Query >> Select All from Cosmetic Layer) Copy and paste the following line into the MapBasic window (should be one single line) Park the cursor at the end of the line (in the MapBasic window) and hit Enter set coordsys window frontwindow() update selection set obj = CreateText(frontwindow(), objectgeography(obj, 1), objectgeography(obj, 2), str$(objectgeography(obj, 1)) + ", " + str$(objectgeography(obj, 2)), 0,0,0) This will convert all selected point objects to labels showing longitude and latitude. Furthermore, it is possible to change the format of the resulting label at will - the detail is all in the str$(objectgeography(obj, 1)) + ", " + str$(objectgeography(obj, 2)) bit. Note - if you are running the utility package KGMv4-11 you will have to turn it off for this to work "Simmonds, Ashley (OPT)" <[EMAIL PROTECTED]> on 05/04/2004 11:03:30 AM To: [EMAIL PROTECTED] cc: Subject: RE: MI-L Returning XY Coordinates - Thankyou why not just share 'em with the group? next time it comes up, we'll have an archive reference then. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 5 April 2004 10:31 AM To: [EMAIL PROTECTED] Subject: MI-L Returning XY Coordinates - Thankyou A huge THANKYOU to everyone who replied to my email. I have a couple of solutions, if anyone is interested please email me and I will send them to you Your help was greatly appreciated. Stella Randell --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 11269 ************************************************************ Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or Maritime Safety Queensland, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. ************************************************************
--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 11270
