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
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
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
(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
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
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 anew field which will be used later for labeling
purpose (in order to give the labels the same orientation as the text objects).
So, my
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
"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
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
|| //
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.
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
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
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
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
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
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
Try this,
Add a column called LAT and one called LONG to your table under
tablemaintenancetable 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
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
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
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)
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
21 matches
Mail list logo