MI Workaround for 5.0 Centroid Bug?

2000-06-16 Thread Stephen R. Riese
Greetings, I thought this would be a smaller problem than it is turning out to be. There is a bug in the MI 5.0 CentroidX, CentroidY and Centroid commands that returns, not the region centroid, but rather a corner point. I've noticed this both in region objects and in grids I've created (actuall

RE: MI miles and kilometres

2000-05-23 Thread Stephen R. Riese
Message text written by "Lavoie, Claude" >What about this unit of measure the MIT students used to measure a bridge over the Charles River in Boston, Mass. (unit corresponding to the height of a fellow student)?< Wasn't that the "Smoot?" Steve [EMAIL PROTECTED] --

MI Suggestions for Text in a Demo

2000-04-04 Thread Stephen R. Riese
Greetings, I've got the main part of my code working properly and would now like to create a demo. The demo will have a number of text boxes that come up at each step to explain what is happening. For example: Text Box: "In the next step we overlay a grid on the map." MapInfo:

Suggestions for Text in MI Demo?

2000-04-04 Thread Stephen R. Riese
Greetings, I've got the main part of my code working properly and would now like to create a demo. The demo will have a number of text boxes that come up at each step to explain what is happening. For example: Text Box: "In the next step we overlay a grid on the map." MapInfo:

SUM: Why does MI need program focus to save?

2000-04-03 Thread Stephen R. Riese
Greetings, This one turned out to be pretty simple: The problem -- While in the background, MapInfo would stop running at an attempt to periodically save data. I was using: If counter Mod 20 = 0 Then Commit table_name The solution -- Prevent the status bar from displaying. The status

Why does MI need program focus to save?

2000-03-28 Thread Stephen R. Riese
Greetings, My MB program collects information from about 20,000 locations -- a process that takes 24-48 hours to run. I save the data at various points to prevent total data loss with: If counter Mod 20 = 0 Then Commit table_name The program runs fine until it reaches this line (tries to save t

Re: MI Do we want to create a MapInfo Newsgroup?

2000-03-18 Thread Stephen R. Riese
Message text written by Bill Thoen >A newsgroup is a wide open open mailing list, with the main difference being that all the mail resides on a server near you. [...] . You have to connect to an NNTP server (ask your ISP for the address of their news server) and you have access to literally zillio

MI Summary -- Why do I get a .MBO file?

2000-03-13 Thread Stephen R. Riese
Greetings and thanks to all the kind folks who wrote. The problem: When I compile my code, MB now compiles it as a .MBO file. I don't know why it does that -- it was compiling fine (i.e., .MBX) before. The solution: Turns out to be pretty easy/basic. One of the responders wrapped up the answ

MI Summary -- Alias Variables in Map and Create Statements

2000-03-13 Thread Stephen R. Riese
Greetings and thanks for another problem solved, The problem: I'd like to use something similar to the Alias variable to use the Map command with a variable number of tables and the Create Table command with a variable number of columns. The solution: I followed the advice of Jacques Paris and

MI Help!! Why do I get a .MBO file?

2000-03-10 Thread Stephen R. Riese
Greetings, And just when I thought I was getting the hang of MB/MI. When I compile my code, MB now compiles it as a .MBO file. I don't know why it does that -- it was compiling fine (i.e., .MBX) before. Then, all of a sudden, it starts compiling as .MBO. And, of course .MBO files don't run by

MI Alias Variables in Map and Create Statements

2000-03-10 Thread Stephen R. Riese
Greetings, Thanks to help from this list, I was able to tackle the Alias variable and use it in calling routines for multiple tables. Here's a bit of a twist. I'd like to do the same thing with the Map and Create Table commands.. For example, instead of: Map From Grid Table1, Table2, ..

MI Centroid...

2000-03-10 Thread Stephen R. Riese
Message text written by "David Eagle" >How do I change the location of a polygons centroid (probably defeats the idea of it being a centroid!) More specifically I have thematically created some bar graphs which once generated are not where I wish them to be. Anyone know how I can drag them int

MI Matrix Inversion (again)

2000-03-03 Thread Stephen R. Riese
Greetings, Recently I asked about higher math functions in MB and received the recommendation to follow the "Numerical Recipies" book. I'm working now in VB6 and need some help in implementing the LUDCMP and LUBKSB functions. The recipies are in FORTRAN and Pascal, so I'm translating. Does anyo

MI SUM: Advanced Math Operations in MB

2000-02-24 Thread Stephen R. Riese
Greetings, A few days ago I asked about doing advanced mathematical operations in MapBasic. I received one reply and some additional help from colleagues at work. My needs were to do interpolation, sorting and matrix inversion, among others. [EMAIL PROTECTED] (sorry, I lost the name) recommende

MI Advanced Math Operations

2000-02-21 Thread Stephen R. Riese
Greetings! I need to perform several math operations, the most difficult of which is probably a large matrix inversion. Are there any add-on packages to help do matrix operations? Thanks in advance, Steve Riese [EMAIL PROTECTED] ---

MI Slash Screen

2000-02-03 Thread Stephen R. Riese
Message text written by Kenneth Laas >I remember seeing something about being able to change MapInfo's start-up splash screen to a customized BMP, something like a company logo. I feel kind of stupid asking this simple question, but I cannot figure it out for the life of me. Any help would b

MI Looking for Vector Data for Bosnia

2000-02-01 Thread Stephen R. Riese
Greetings, My project is in northern Bosnia. Are ther any existing files for that region? I need a fairly small scale (I'm working off of 1:50,000 maps). I tried the PSU maproom, which is a great service BTW, but their maps are a much larger scale. I'm looking for political boundaries, military

MI One vs. Many Objects

2000-01-18 Thread Stephen R. Riese
Greetings, I tried an experiment and the results are not what I expected. I'd like to know if my results are an anomaly or should be expected. I have a procedure that examines each object (about 200) in a table for intersection with a given object. I tried this two ways: 1) Individual objects

MI Functions for Statistical Distributions

2000-01-17 Thread Stephen R. Riese
Greetings, Am making good progress on my project so far, thanks in no small part to the help I've received from this list. For the next phase of the project, I need to do some statistical analysis, and I wanted to see how much I should expect to do in MI/MB. I'd like to do everything in an MI/MB

MI Accessing Tables via Variable Names

2000-01-10 Thread Stephen R. Riese
Greetings, Sorry, if this is trivial, but I can't find an answer anywhere (in the documentation, that is) . I'd like to run the same procedure on several tables, without having to hard code a separate subroutuine or function specific for each table. The procedure works fine for one table at a ti

MI Detecting Intersecting Objects

2000-01-10 Thread Stephen R. Riese
Greetings, I have an intersting problem. I get different results from the following: A. If object_1 Intersects object_2 Then... and B. poly_line = IntersectNodes(object_1, object_2, INCL_ALL) Statement A evaluates TRUE (which is correct) but startement B *sometimes* returns an empty

RE: MI Raster to Vector Conversion

2000-01-07 Thread Stephen R. Riese
Message text written by "Juanse Barros J" >Steve riese How did you do the "mask out color process"?< Greetings, I have Picture Publisher 4.0 LE that can mask colors and delete the rest. It allows a mask of up to 8 colors. It further allows you to define a threshold (e.g. +/- 10%) for each col

MI Follow-up to finding the nearest object.

2000-01-06 Thread Stephen R. Riese
to_Object(x1, y1 As Float) As Float 'Created By:Stephen R. Riese 'E-Mail:[EMAIL PROTECTED] 'Date: 1/6/00 'This function determines the distance from a known point '(x1, y1) to the nearest obect in a table. As it is w

MI Raster to Vector Conversion

2000-01-06 Thread Stephen R. Riese
Greetings, I have JPEG images of 1:50,000 topographic maps. From these, I need to extract feature objects (roads, rivers, buildings, etc.). I can mask out colors and save different copies (e.g., save a copy with only green to represent trees), but how do I proceed to convert these green areas in

MI Looking for Nearest Object Distance Functions

1999-12-31 Thread Stephen R. Riese
Greetings, I'm new to MapInfo/MapBasic and this list server. I'm looking for a function that will return the distance from a given point to the nearest object of a certain type. For example, from point (x, y) to the nearest house (point object), road or river (linear object) or nearest forrest