Re: MI-L Cloning Layout Windows

2004-05-12 Thread Jaromir Svasta
I have just made a little utility named CloneIt which adds a Clone Window functionality to the shortcut menu of Browser, Layout and Legend windows. You can download it directly from here (thanks to people from Terris): http://www.terris.sk/tools.php#4 Jaromir On Wed, 12 May 2004 12:37:32

RE: MI-L Cloning Layout Windows

2004-05-12 Thread Doyle, Peter W
Greetings list, Thanks to Jaromir for his Clone window utility - very handy. Althouh when I right click on a Browser window to bring up the shortcut menu, I only get one option which says Tool Manager... Does anyone else see this? What do others see when bringing up the shortcut menu on a

Re: MI-L Cloning Layout Windows

2004-05-12 Thread Jaromir Svasta
I tested it on MI 7.0 and WinXP. In the browser shortcut menu you should always see: New Row Pick Fields and optionally, if CloneIt is loaded, Clone Window I don't understand why Tool Manager... is showing up :-( To load the mbx just double click it. If you want to have the utility loaded

MI-L Ang. RE: MI-L Cloning Layout Windows

2004-05-12 Thread Mats Elfström
Thanks Jaromir! I had just fired up MapBasic to do the same thing but was not fast enough. In response to Peters inquiry below; I get a 'Clone Window' option at the bottom of all relevant right-click menus after loading CloneIt. This is a Win2000 MI 7.5 environment. Hälsning/ Best regards

MI-L Update command and alias variables in mapbasic

2004-05-12 Thread Benjamin Scott
Hi all, I am having problems with the use of variables to store column numbers when using the update command in a mapbasic script. I want to use a variable to provide the column number (so I can use a for loop to loop through columns). The code (as shown below in a very simplified format)

MI-L Folder Selection (MapBasic)

2004-05-12 Thread JamieDowdall
Hi All I have used the FileOpenDlg() Function to select file of various types to be opened in mapinfo. Eg sFileSpec = FileOpenDlg (PathToDirectory$(sFileSpec), , XLS, Specify spreadsheet name) I want to store all the files opened from various loations in a specific folder selected by the

RE: MI-L Cloning Layout Windows

2004-05-12 Thread Driver, Greg 9434
I coded a little utility awhile back to clone (only) layout window but I've only just put it on DirectionsMag (It's called CloneLayout.mbx!). I did it the long way though, as I wasn't aware of the Run Command WindowInfo(frontwindow(),15) shortcut! Greg -Original Message- From: Jaromir

Re: MI-L Update command and alias variables in mapbasic

2004-05-12 Thread David Baker
On 12 May 2004 at 17:43, Benjamin Scott [EMAIL PROTECTED] wrote: j = 6 Temp1column = COL(j) Update temp1 Set Temp1column = 9 Here's a snippet of how I use the COL info: For cownt = 1 to TableInfo(Targets, TAB_INFO_NCOLS) If UCase$(ColumnInfo(Targets, Col Ltrim$(RTrim$(Str$(cownt))),

MI-L ADV: Grid Translator Pro for Vertical Mapper (30 days free evaluation)

2004-05-12 Thread Ihab Hawater
Dear List, Grid Translator Pro for Vertical Mapper imports more than 38 raster formats (SRTM, GTOPO30, Erdas, Geosoft, PCI, Geotiff, etc.) to vertical mapper grids is now available to download and install for a period of 30 days (instead of 10 days) directly from our web site at:

Re: MI-L Folder Selection (MapBasic)

2004-05-12 Thread B. Thoen
On Wed, 12 May 2004 [EMAIL PROTECTED] wrote: I want to store all the files opened from various loations in a specific folder selected by the user. Can the FileOpenDlg be modified to select a folder location rather than a file. If not how can i allow the user to select a storage location.

Re: MI-L Folder Selection (MapBasic)

2004-05-12 Thread Driver, Greg 9434
Further to Bill's email about using the Windows API function SHBrowseForFolder(), this was posted to the list by Jakob Lanstorp showing how to use the API call. Very useful, hence the reason I kept it! Greg. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent:

RE: MI-L Folder Selection (MapBasic)

2004-05-12 Thread Dominic Lowe
Also, if you amend the line: tBrowseInfo.ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN to read: tBrowseInfo.ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN + BIF_NEWDIALOGSTYLE and define the constant: Define BIF_NEWDIALOGSTYLE 64 Then you have the option to create a new

RE: MI-L Proximity

2004-05-12 Thread Eagle, David A
Peter, How about it indeed... This worked like a charm and I am currently pouring a nice pint of beer into my PC to transmit with this email! Thank you. David -Original Message- From: Peter Horsbøll Møller [mailto:[EMAIL PROTECTED] Sent: 11 May 2004 17:38 To: Eagle, David A; [EMAIL

Re: MI-L Folder Selection (MapBasic)

2004-05-12 Thread Bill Thoen
Dominic Lowe wrote: Also, if you amend the line: tBrowseInfo.ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN to read: tBrowseInfo.ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN + BIF_NEWDIALOGSTYLE and define the constant: Define BIF_NEWDIALOGSTYLE 64 Then you have

MI-L Error..Raster engine was unable to recognize image file format..

2004-05-12 Thread Cummings, Mike
We had a problem with a machine and had to re-install everything. Now, we are getting this error message when we try to open a MrSid file. Can someone explain what is going on and how to fix it? - List hosting provided by

RE: MI-L Error..Raster engine was unable to recognize image file format..

2004-05-12 Thread Peter Horsbøll Møller
Have you remembered to reinstall support for MrSID ? Or is this defualt like ECW ? You might have a look on your MapInfo cdrom, whether there is an option to install MrSID support Peter Horsbøll Møller GIS Developer Geographical Information IT COWI A/S Odensevej 95 DK-5260 Odense S. Denmark

RE: MI-L Update command and alias variables in mapbasic

2004-05-12 Thread Cummings, Mike
I don't know if this will help you but I was getting the same error message when I had a variable defined with the same name as the column name in the code. It just about drove me nuts (I kept looking for a typing error that wasn't there). Just guessing that the 9 is being seen as a number

MI-L MI and Geosoft Grids

2004-05-12 Thread Hickman, Josh
Hello all, I'm looking for a good (free) way to import Geosoft .grd's into MapInfo. Geosoft has a MI plug-in but you have to have MapImagery also (which I don't have). What I am trying to import are the USGS magnetics grids. These are published in .grd format. The grids load just fine

MI-L Re: MI and Geosoft Grids

2004-05-12 Thread Ihab Hawater
Hi, Using Oasis Montaj viewer you can export the geosoft .grd file to one of the following formats: .gxf, pcidisk, surfer grd or geotiff; then use Grid Translator Pro (GTP) to import the exported dataset to Vertical Mapper. GTP is not a free tool; however you can get 30 days fully

MI-L [New Question] RE: MI-L Select Highest Value only in Table - Multiple Records

2004-05-12 Thread Susan Yu
Hello everyone, I have a follow-up question since I'm doing something similar. I hope someone has a simple answer that I'm not seeing. What if I wanted to select the RECORD with the highest value from a certain column? I have multiple columns where they would all have a value with the same

MI-L Help with expression

2004-05-12 Thread Upinder Mutti
Hi all. I am tryin to use the following expression in column update: Maximum(0,(Flood_height - Ground_level)) But I cant seem to get the syntax right It am trying to subtract one column from the other but only return a value that is 0 or higher. Not sure what I am doing wrong?? Can anyone

Re: MI-L [New Question] RE: MI-L Select Highest Value only in Table - Multiple Records

2004-05-12 Thread Robert Crossley
Good question, I have tusled with this problem as well. I ended up selecting the largest value of ValueA grouped by ID, and then selecting the records with that highest value through a join back to original table where ID = ID and ValueA = ValueA. Trouble is that it can be slow. Would be

MI-L RE: Help with expression

2004-05-12 Thread Upinder Mutti
Please ignore last post. My fault. Had one of fields set as character and the other as decimal. DOH! -Original Message- From: Upinder Mutti [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 May 2004 12:34 PM To: '[EMAIL PROTECTED]' Subject: Help with expression Hi all. I am tryin to

RE: MI-L Select Highest Value only in Table - Multiple Records (with same ID)

2004-05-12 Thread SCISOFT
Susan / Robert If you're dealing only with attributes, as I think, the first thing to do would be to use some unique IDs rather than non-unique ones (add an extra column). But assuming you don't want to, it is very easy to construct an Access query to do what you want - SELECT

Re: MI-L Select Highest Value only in Table - Multiple Records (with same ID)

2004-05-12 Thread Robert Crossley
Ian, Herein lies Susan's problem, as you suggest, it is rlatively easy to construct a query that will give you the maximum value of Value A for each ID, but it will not point to the record in that table that has that value to get the values in the rest of the fields. Susan asked what are the

RE: MI-L Select Highest Value only in Table - Multiple Records (with same ID)

2004-05-12 Thread SCISOFT
This works (Access again) - SELECT Table1.nonUniqueID, First(Table1.ID) AS FirstOfID, Max(Table1.ValueA) AS MaxOfValueA, First(Table1.ValueB) AS FirstOfValueB, First(Table1.ValueC) AS FirstOfValueC FROM Table1 GROUP BY Table1.nonUniqueID; --- I have snipped the rest of the correspondence as