Re: MI Speeding up mapbasic code

2000-04-27 Thread climber
Gentlemen and ladies, I am not sure if this will help but I have done some minor work in IDRISI and if you can avoid the 'temp' table creation and write to a user definable named table(s) do it. Simply use enough table names to allow for the kind of operation you are doing, e.g. - if you have to

RE: MI creating points from centroids

2000-04-27 Thread PERRY Chris
Sidney, This is a one step process using the MapBasic Window: 1. First make a copy of your table 2. Open the MapBasic window (Options > Show Mapbasic Window) 3. Type in: update YOUR_TABLE set obj=CreatePoint(CentroidX(obj),CentroidY(obj)) where YOUR_TABLE is the name of your mapinfo tabl

RE: MI creating points from centroids

2000-04-27 Thread Martin Roundill
Sidney Another alternative to Will's suggestion is to make a copy of the table (called say "My_New_Table") and issue the following command in the mapbasic window Update My_New_Table set object = createpoint(centroidx(obj),centroidy(obj)) This bypasses the need to store the x/y (lat/Long) values

MI copy file in mapbasic

2000-04-27 Thread Christopher DuBuc
List, In MapBasic I am trying to copy a .dbf file (it is a Goldmine file) from one directory to another, yet it seems something is locking this operation out, producing an error in the code: FirstFile="f:\programs\goldmine\pmg\contact1.dbf" Save File FirstFile as "C:\GMTest\loc_contact1.

MI Rotate map and text objects

2000-04-27 Thread Blanc, Pierre
Any answer to the following problem ? I have a table with street names (text objects) and I want them to rotate with my street mapper. Text objects were created with Labeler tool, converting labels (center position). Thank you.   Pierre

RE: MI creating points from centroids

2000-04-27 Thread Mitchell, Will
Try this, Add a column called LAT and one called LONG to your table under table>maintenance>table structure (set them to type of float). Update the LAT column with Centroid(y), and the LONG column with centroid(x). Export a copy of that table as delimited text. Open the text file, and create p

MI MapWorld Golf

2000-04-27 Thread Don MacMillan
There is room for 2 golfers in San Antonio. Tee-off is 4:00pm Saturday, near the airport. Cost=$40. We will finish about 8:15pm email me directly if you are interested. [EMAIL PROTECTED] -- To unsubscribe from this list, send e-m

RE: MI creating points from centroids

2000-04-27 Thread James Marlow
Hi Sidney It's pretty simple actually - just a few steps. 1) Make a copy of your original table - use File | Save Copy As 2) Close the original and open the copy 3) Use the Table | Maintenance | Table Structure command to add two columns to your new table - call them X and Y and set the type to

MI creating points from centroids

2000-04-27 Thread Sidney . McLean
Hello users, I have a polygon coverage of Census Enumeration Areas for a particular urban region, from which I would like to create a point theme consisting solely of points located at the centroids of each Enumeration Area. Has anyone done something like this before, and if so, how do you go

RE: MI projecting on the fly

2000-04-27 Thread Mitchell, Will
Your MI add-on technical support person must have been thinking about ArcView. You're fine in MapInfo. One of the advantages MI has over AV. Will Mitchell GIS Manager The Environmental Company, Inc. 2496 Old Ivy Rd Charlottesville, VA 22905 ph 804.295.4446 fx 804.295.4435 http://www.tecinc.com

MI Any way to save thematic layers to a seperate table?

2000-04-27 Thread Chris Allen
Is there Any way to save thematic layers to a seperate table or any other format. For example a dot density thematic map. I want to get the exact coordinates for every dot and since they arn't really objects, just part of the shade function, they can't be selected. Can anyone help? Chris -

MI projecting on the fly

2000-04-27 Thread Phillips, Andrew
It was my understanding that vector coverages in different projections can be mixed willy-nilly, technically speaking, within a map window, and each would be reprojected on-the-fly to that windows projection as defined by the raster base projection. In a discussion with technical support at a com

RE: MI Date: Wed, 26 Apr 2000 10:02:26 -0500

2000-04-27 Thread ZONING ADMINISTRATOR
I would use Update Column from the Table menu. MI allows you to take data from "hidden" fields and transfer it to viewable columns. These are the same data fields that report the area of a region when you double click on it. I needed to update my parcel table so I went ahead and did this. Below

Re: MI/MB: Text object orientation

2000-04-27 Thread Francois Bergeron
Hi J-F! You can use this function in the Update Column dialog: ObjectGeography(obj, 7)---> same as ObjectGeography(obj, OBJ_GEO_TEXTANGLE) in MapBasic. Hope this help! Ciao!! ___ ||// François Bergeron || //Conseiller en Géomatique || //

Re: MI Allowing user to specify a directory

2000-04-27 Thread Bill Thoen
"Elliot Tinton EG CEFAS (DN=EJT00, RECIPIENTS, LOWESTOFT, CEFAS)" wrote: > > Can anyone tell me if there is a way to allow the user to specify a directory using >MapBasic ? Ideally by clicking on the relevant directory in a window showing >directory structure. Hi Elliot, Boy, that's quite a

MI Shortest distance from point to a line.

2000-04-27 Thread Brad Mathews
Hello, I ran across this at one time, but I can't find it now. Does anyone have the formula for calculating the nearest distance from a point to a line on a spherical surface (the earth)? Thanks, Brad -- To unsubscribe from thi

MI/MB: Text object orientation

2000-04-27 Thread Jean-Francois Lepine
Hi,   I had to import a .e00 file containing text objects. Many of them had an orientation. Now, I need to know this orientation so I can put it in a new field which will be used later for labeling purpose (in order to give the labels the same orientation as the text objects).   So, my ques

MI Creating points in a table using MapBasic

2000-04-27 Thread David Crowther
Hello users, I am currently involved in a project that uses VB6 to run commands from MapInfo. The problem I have is that although I know how to create points for a table of geocoded data in MapInfo I cannot replicate this within a MapBasic program. I need to write a MapBasic program that wi

MI MapInfo - Access

2000-04-27 Thread Peter_McPherson
(Forwarded Information Moved to File: ~FWRD_1.txt) Hello, I have been having troubles with my email server, so I will repeat my question. My apologies to those who have received this already. I have a question about Access and MapInfo's relationship. Curious enough when I

RE: DWG Files into MI

2000-04-27 Thread Mitchell, Will
Hi Myles, I have done this by the following methods: 1) What is the best method of making the many separate polylines into single closed catchments (aka regions)? Create a new layer called Catchment Poly or something similar and make it editable in the same mapper with your line segment

MI Integrated Mapping in Vb 6.0

2000-04-27 Thread Jayaprakash Athmaram
Dear MI gurus, This is related to Integrated Mapping in Vb 6.0 I had made a drop down menu in my main form which contains namely open table, browser and exit By by clicking on open table menu, Two different maps are opened on two different forms , then click on browser menu to open browser for

MI Allowing user to specify a directory

2000-04-27 Thread Elliot Tinton EG CEFAS
Hello All, Can anyone tell me if there is a way to allow the user to specify a directory using MapBasic ? Ideally by clicking on the relevant directory in a window showing directory structure. I have a section of code that takes text files of point positions, converts them to MapInfo tables