RE: MI-L Create directory using Mapbasic?

2004-06-01 Thread Peter Horsbøll Møller
Or you could make your own using the Windows API's: Declare Function APICreateDirectory(ByVal szPath As String) As Logical Declare Function CreateDirectory Lib "kernel32" Alias "CreateDirectoryA" (ByVa

MI-L Fly thru add on

2004-06-01 Thread Upinder Mutti
Hi all Does anyone know of a good add on for MI to do 3d animation fly thru's ? Cheers Upinder - List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: MI-L workspaces

2004-06-01 Thread SCISOFT
Have a look at a product Workspace Control produced by 4thbeachsoftware (Melbourne). Just checking the URL - http://www.4thbeachsoftware.com - go from there. Regards, Ian IL Thomas GeoSciSoft - Perth, Australia -Original Message- From: Melinda King [mailto:[EMAIL PROTECTED] Sent: Wednes

Re: MI-L Accuracy of MapInfo distances

2004-06-01 Thread Phil Waight
There are some very good references in the mi-l archives (http://www.directionsmag.com/mapinfo-l/IndexMapInfoL.htm) to the accuracy of spherical distances in MapInfo. Search using "great circle" or aviation might narrow it down. One quirk for programmers on this topic is: Because of the accuracy o

RE: MI-L workspaces

2004-06-01 Thread Upinder Mutti
You may want to download a copy of ultra edit www.ultraedit.com it's a very nifty notepad application. You can do batch find-replace searches on any number of open files in it. The trial version is free for about 3 months. Hope that helps Regards Upinder -Original Message- From: Melin

MI-L workspaces

2004-06-01 Thread Melinda King
Hi there We have recently moved a lot of our files therefore a lot of workspaces aren't working. I know how to change them individually (viewing thru notepad) but wonder if there is a way to change all simultaneously - eg find all .wor that use the DCDB file and change the file path to h:\\ e

Re: MI-L Create directory using Mapbasic?

2004-06-01 Thread B. Thoen
On Tue, 1 Jun 2004, Berk Charlton wrote: > Is there a way to create a directory using MapBasic? > You can download a couple of MB functions to do this from Jacques Paris's website at http://www.paris-pc-gis.com/mb_r/dll/dll_kernel_start.htm. --

RE: MI-L Create directory using Mapbasic?

2004-06-01 Thread mark . stratford
Hi Berk, I create a bat file with md c:\newdir and then in MB use run program "C:\mkdir.bat" To create a bat file in MB you could create a text file, add the commands and rename it as a as a batch. -Original Message- From: Berk Charlton Sent: 2/06/2004 8:47 AM To: Ma

MI-L Create directory using Mapbasic?

2004-06-01 Thread Berk Charlton
Hi everybody - Is there a way to create a directory using MapBasic? Thanks, Berk Charlton == Meridian GeoSystems, Inc. www.meridiangeo.com [EMAIL PROTECTED] ==

Re: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Bill Thoen
Peter Horsbøll Møller wrote: > > Is there a solution to how to deall with a row not having an object attached ??? > > Of course you can validate this by either only selecting records "where obj", or > you could use an alias variable to check whether these is an object at the current > row, but

Re: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Bill Thoen
If you learned how to that in the MapBasic course, Mike, you did pretty well! It's an interesting technique that shows another way to update symbols for a map, and once you set up the Shade statement, it might even be faster if the table referenced by the global variable i_read is a big one. Whil

RE: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Peter Horsbøll Møller
Is there a solution to how to deall with a row not having an object attached ??? Of course you can validate this by either only selecting records "where obj", or you could use an alias variable to check whether these is an object at the current row, but can you handle this problem in the "MyFun

Re: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Bill Thoen
Good point. FastEdit and Undo Off will goose it a little more. There's another small modification I forgot that should probably be made too. The Type field by itself is not enough to create the object; it just influences the style. You should include the original object so you can copy the geograph

RE: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Cummings, Mike
I wrote this a couple of years ago, after attending the Map basic course. It opens a reference table(DOGwellsymbols.tab) of font codes and matches status codes to get the right symbol for the status of oil and gas wells into a Thematic Map. I figure that you all are talking about doing somethi

RE: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Peter Horsbøll Møller
And to get really going use this syntax: Set Table MYTABLE FastEdit On Undo Off UPDATE MYTABLE SET obj = MyFunction( Type ) Commit Table MYTABLE Set Table MYTABLE FastEdit Off Undo On This prevents MapInfo from writing temporary transaction files. Peter Horsbøll Møller GIS Developer Geographical

RE: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Canfield, Andrew
Thanks Bill! That is exactly what I was looking for. -Original Message- From: Bill Thoen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 7:33 AM To: Canfield, Andrew Cc: MapInfo-L Subject: Re: MI-L Set multiple object symbols quickly? "Canfield, Andrew" wrote: > > Is there a quic

MI-L Object font size change

2004-06-01 Thread Daniel York
Dear Group I would like to update the font size of point objects temporarily using mapbasic. I need to do this because the required size of the points need to differ at different print scales. ie font size 10 is good at A4 but too small at AO. The object styles have allready been selected and u

Re: MI-L Set multiple object symbols quickly?

2004-06-01 Thread Bill Thoen
"Canfield, Andrew" wrote: > > Is there a quick way to set the symbol for a large selection of objects > using MapBasic? Write a function in MB that returns an object when passed your Type variable and use it in the UPDATE statement like so: UPDATE MyTable SET obj = MyFunction( Type ) Note that

MI-L Ang. MI-L Set multiple object symbols quickly?

2004-06-01 Thread Mats Elfström
Hi Andrew! I cannot say if your proposition is feasible, but fear that it also would require a tedious loop process. I am thinking of a somewhat more drastic approach (be sure to backup your data) I am assuming that the current symbology can be wasted 1 Get the coordinate values for each and a

MI-L Set multiple object symbols quickly?

2004-06-01 Thread Canfield, Andrew
Is there a quick way to set the symbol for a large selection of objects using MapBasic? Here is my problem: I have a series of tables, in each of these tables I have multiple point object groups, they are grouped by a field called "type" in my MapBasic I select all from that table where t

Re: MI-L Irish Grid Coordinate System

2004-06-01 Thread Markus Lindner
Thanx to all who responded, it worked well with the Irish Transverse Mercator Grid Projection Regards, Markus - Original Message - From: Markus Lindner To: MapInfo-L Sent: Tuesday, June 01, 2004 9:52 AM Subject: MI-L Irish Grid Coordinate System Hello List, i have

RE: MI-L Setting the Datum

2004-06-01 Thread Tim Smith
I'm also having problems using CoordSys.Set and omitting parameters. In VB you can just set the projection i.e. objCoordSys.Set 12 But in C++ MapX requires ALL of the parameters to be filled. So I have to know all Of the following parameters for WGS84 ... OBJECT.Set (Type, [Datum], [Units], [Ori

Re: MI-L Irish Grid Coordinate System

2004-06-01 Thread CDR Group
Markus It is already catered for under "Irish Coordinate Systems" Regards John Ievers - Original Message - From: Markus Lindner To: MapInfo-L Sent: Tuesday, June 01, 2004 8:52 AM Subject: MI-L Irish Grid Coordinate System Hello List, i have data from the irish ordena

MI-L Setting the Datum

2004-06-01 Thread Tim Smith
Hello! Does anyone know what the datum value is for WGS84 when setting the datum in MapX with the CoordSys.Set method? The projection type is the first parameter and is defined in the mapx.h file as miLongLat. The problem is that the datums are not defined, you just pass a 'short' integer. Th

MI-L mapinfo 7.0 user profile

2004-06-01 Thread [EMAIL PROTECTED]
Hi there. I have a problem in user profuile settings. there are public machines about 30 pearple can use any of them any time. but they don't have admin access to these machines. if they login with their name mapinfo ask for font, pen, ... at each time. is there an easy way managing this problem

RE: MI-L Irish Grid Coordinate System

2004-06-01 Thread Tim Smith
Try Irish Transverse Mercator Grid. -Original Message- From: Markus Lindner [mailto:[EMAIL PROTECTED] Sent: 01 June 2004 08:52 To: MapInfo-L Subject: MI-L Irish Grid Coordinate System Hello List, i have data from the irish ordenance survey, and i want visualize it in Mapinfo Profes

MI-L Accuracy of MapInfo distances

2004-06-01 Thread SCISOFT
Does anyone know the accuracy of MapInfo's distances? There's a standard Australian surveyors' traverse in many (Oz) books and manuals - "Smeaton - Buninyong - Flinders Peak - Bellarine - Arthurs Seat". The GDA (Geocentric Datum of Australia) technical manual deals with a series of calculations u

MI-L Irish Grid Coordinate System

2004-06-01 Thread Markus Lindner
Hello List,   i have data from the irish ordenance survey, and i want visualize it in Mapinfo Professional.   Does anybody know, which projection i should use ?   The Coordinates are like that:     187539.057    264301.920   Thanx in advance   regards   Markus   Markus Lindner