RE: MI-L MrSid DOQ's

2003-02-03 Thread Cautley, David/PDX
Mr. SID uses a slightly different "world file". Here's the hack of "TFWREAD.MB" that we use. No promises ... '* SDWRead.MB '*A raster registration tool for opening Mr. Sid images using .SDW files '* (hacked from TFWRead.MB) '* '**

RE: MI-L Getting Map Layer Names

2003-01-20 Thread Cautley, David/PDX
The following bit of code is something I use in MapBasic to get a list of open tables (includes queries...) that I present as a choice list. Perhaps it will inspire a way to find your layers. You'd need to know the names of the two states tables; by default they would be STATES and STATES_2 but yo

RE: MI-L Large Access database build problems

2002-10-22 Thread Cautley, David/PDX
Is SQL Server with Access as a front end an option for you? Just an idea. There aren't any desktop databases that I know of that will handle volumes of the 2Gb+ size. -Original Message- From: Rob Whiteley [mailto:row@;lihir.com.pg] Sent: Tuesday, October 22, 2002 4:11 PM To: MapInfo-L

RE: MI-L Change Display labels

2002-07-04 Thread Cautley, David/PDX
Will using an expression solve your problem? (The last item on the pick list for label column). I often do something like ColumnA + chr$(10) + ColumnB Which will result in a label that lools like FOO BAR As the chr$(10) inserts a newline into the label. Sorry if this i

RE: MI-L Check that a table is open??

2002-05-30 Thread Cautley, David/PDX
Correct ... I do it the other way because I sometimes use the function in integrated mapping contexts where error trapping doesn't work (loosely speaking). -Original Message- From: MAGS-Gerencia [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 2:45 PM To: Cautley, Davi

RE: MI-L Check that a table is open??

2002-05-30 Thread Cautley, David/PDX
' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ' ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Function IsTableOpen(Byval TName as string) as logical Dim l as Logical Dim Ta

RE: MI-L Protecting GIS data (cross-posted), reply

2002-04-29 Thread Cautley, David/PDX
Careful, gang. Before we start slinging things at each other, we need to get a little perspective about this topic. There is no single, simple answer to what is or is not permitted, nor what is ethically "right". As I understand the rulings, you cannot copyright a fact. You can copyright the p

RE: MI-L MI-L: Oregon Troubles

2002-03-25 Thread Cautley, David/PDX
Here's the PRJ line I use. This works for me. "Oregon Lambert", 3, 74, 3, -120.5, 41.75, 43, 45.5, 1312335.958, 0 -Original Message- From: Rood, Timothy [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 2:54 PM To: [EMAIL PROTECTED] Subject: MI-L MI-L: Oregon Troubles Hello, I a

RE: MI-L get a list of currently open tables

2002-01-30 Thread Cautley, David/PDX
Try this TableCount = NumTables() redim TableNames(TableCount+1) Semi = "" For LoopCount = 1 to TableCount TableList = TableList + Semi + TableInfo(LoopCount, TAB_INFO_NAME) TableNames(LoopCount+1) = TableInfo(LoopCount, TAB_INFO_NAME) Semi = ";" Next TableNames(1) = "Sele

RE: MI-L Call MapBasic App from Visual basic and sort of a SUM about my previous integrated mapping questions...

2002-01-28 Thread Cautley, David/PDX
Be sure to read the chapter in the MapBasic manual on Integrated Mapping, and also look at the samples that are installed under the MapBasic folder. In our case, we have many functions in the MBX and we want to be able to call them individually. The way we're doing it is to create a menu in the M

RE: MI-L MSVCRT problems

2002-01-28 Thread Cautley, David/PDX
Oh boy. You have a severe case of DLL hell... Which may or may not be the cause of the page faults. But you need to sort out the DLLs first, in any case. This will not be a definitive analysis... This is off the top of my head. These are my opinions (as a programmer) and informed by some conver

RE: MI-L SUM: More on Integrated Mapping; Performance this time.

2002-01-23 Thread Cautley, David/PDX
essBar feature. To answer your question you can suppress all the other progress bars with the command Set ProgressBars { On | Off } -Original Message- From: Cameron Crum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 12:15 PM To: Cautley, David/PDX Subject: Re: MI-L SU

MI-L More on Integrated Mapping; Performance this time.

2002-01-22 Thread Cautley, David/PDX
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. I know I still owe y'all a summary on integrated mapping methods, but ... I throw myself on your collective mercy. There's always a "next hurdle", and mine is

RE: MI-L Entity relation modeling tool

2002-01-08 Thread Cautley, David/PDX
Standard tools for this job are: Microsoft Visio (top end edition with database capability) ER/Win Now owned by Computer Associates, I think; used to be Platinum Software Rational Suite www.rational.com I've used the first two. I'm currently using Visio because

MI-L Integrated Mapping: Calling a function in MBX

2001-12-10 Thread Cautley, David/PDX
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. Is is possible to call a function inside a running MBX from Visual Basic? Consider the following simplified MBX:

RE: MI-L: Increase dpi in Images

2001-11-29 Thread Cautley, David/PDX
What works for me is: Override the size of the Save Window As defaults to some multiple of what you want the final image to be; then re-size it in the target application. So, for example, you want a net 3" x 3" picture in a powerpoint presentation. When you save the window, make the size of the

RE: MI-L Table Info

2001-09-10 Thread Cautley, David/PDX
Here is a bit of code I use to solve this problem: No warranties, of course ! ' ** ' A couple of utility functions to make MapBasic Life easier. ' dcOpenTable( Path, Name ) -- opens a table if it's not already ope

RE: MI-L geocoding

2000-12-06 Thread Cautley, David/PDX
In the SQL Select window build a query... Select * from WhatTable Where not obj <=== this is the magic that tells you it's not geocoded It's useful to save this under a special name that you can remember (otherwise it winds up being QueryN, where N is some number) Then