MI-L Ang. Re: MI-L Extending Proviewer (Adding a toolbar)

2004-06-29 Thread Mats Elfström
Hi All! With the risk of sticking my neck too far out, my opinion is that any attempt to rise ProViewer from its state of nearly useless to a degree of usefulness should be rewarded. Good work Alejandro. As far as I understand, you have created a kind of wrapper to run ProViewer in, much as

MI-L Creating Generic Legends........

2004-06-29 Thread Bridin Feeney
Hi I am trying to create a general legend for several Maps showing the results of a survey. The problem I have is this. Not all the layers in an area contain all types of objects. I want to be able to show the objects that aren't in an area as well as those that are. Is there any way of

MI-L New lat/long from distance/bearing

2004-06-29 Thread Tim Smith
Hi List, I have a latitude and longitude in WGS-84. I want to calculate a new point based on a bearing and distance from this position. Difficult bit - I want to calculate this using MapX, or alternatively I could use some C/C++ code. Thanks for any help with this Kind regards Tim Smith

RE: MI-L numbering the objects

2004-06-29 Thread Terry McDonnell
Abhas I presume you mean numbering the records/rows of the table, rather than the objects (i.e. map features). So you can update the ID column with an incremental variable, something like: Dim lnID, lnRowID as INTEGER lnID = 1 Fetch First From MyTable Do while not EOT( MyTable) lnRowID

MI-L New lat/long from distance/bearing

2004-06-29 Thread Tim Smith
Hi List, I have a latitude and longitude in WGS-84. I want to calculate a new point based on a bearing and distance from this position. Difficult bit - I want to calculate this using MapX, or alternatively I could use some C/C++ code. Thanks for any help with this Kind regards Tim Smith

RE: MI-L Creating Generic Legends........

2004-06-29 Thread Lawley, Russell S
Bridin, surely the best solution is to create a fake map called say Gen_legend that contains all the possible map objects for all possible layers, you can then either draw it so that it looks 'like a legend', or you can make a cartographic legend from it. if you are trying to build an all

RE: MI-L numbering the objects

2004-06-29 Thread Jacques Paris
You must have a column (type integer) and update it using the internal variable ROWID Update your_table set column_ID=ROWID Jacques Paris e-mail [EMAIL PROTECTED] MapBasic-MapInfo support http://www.paris-pc-gis.com -Original Message- From: abhas [mailto:[EMAIL PROTECTED] Sent:

RE: MI-L custom size plots on HP Plotter

2004-06-29 Thread Rich, Kevin
Susan: Unless you have an HP plotter wider than 36 you will not be able to print this out on one sheet. If you keep one side to the maximum width of your plotter you should be able to create just about any length printout by using custom sizes on your HP print panel. Thanx! Kevin Rich

RE: MI-L numbering the objects

2004-06-29 Thread Erin Rubio
Abhas, After you add the ID column (Table Maintenance Table Structure... Add Field, type = integer), you can do a Table Update Column: Table to update: yourtable Column to update: ID Get value from: yourtable Value: rowid You'll have to type in 'rowid' into the value textbox. Hope this

RE: MI-L New lat/long from distance/bearing

2004-06-29 Thread Tim Smith
Hi, Thanks for people who have helped so far with this, I want to draw a line in MapX between two points. The function in MapX to do this takes two WGS-84 lat/long points. I don't have two lat/long points. I have one lat/long, an angle in degrees and a length in meters. I need to calculate the

Re: MI-L New lat/long from distance/bearing

2004-06-29 Thread Uffe Kousgaard
Look here: http://williams.best.vwh.net/avform.htm#LL and remember to read the top notes about using radians. Kind regards Uffe Kousgaard www.routeware.dk - Original Message - From: Tim Smith [EMAIL PROTECTED] A C++ algorithm to do it would be fine. I can't believe MapX doesn't

Re: MI-L New lat/long from distance/bearing

2004-06-29 Thread Lars V. Nielsen (GisPro)
Hi Tim, If you don't want to go all out on formula gymnatics, I may have an idea for you. By using the coordinate support in MapInfo to my advantage, I've implemented adding meter offsets to GPS positions this way : 1. Set the coordsys to LatLong/WGS84, and obtain the coordinates of the point

RE: MI-L custom size plots on HP Plotter

2004-06-29 Thread Susan Yu
Thanks Kevin... That was exactly my problem. May I never make such massive maps anymore!! :) Regards, Susan Rich, Kevin [EMAIL PROTECTED] wrote: Susan: Unless you have an HP plotter wider than 36 you will not be able to print this out on one sheet. If you keep one side to the maximum width

MI-L MapInfo polygon extraction and automation

2004-06-29 Thread Jan
Dear all i have some questions to make: 1. How can i automate in MapInfo the extraction of a specific polygon or polygons and create new layer? 2.In the same script could i input information about the display of the layer 3. is it possible to create automatically as well the output? 4. does

MI-L Custom Symbols

2004-06-29 Thread anderskr
Hi-- I am interested in using a symbol, in this case a tree, that was created in Adobe Illustrator and using it with in MapInfo 7.0. I have a tool that allows for the creation of custom symbols in MapInfo---however I do not know how to get the image from Illustrator into MapInfo-- I tried to

RE: MI-L Custom Symbols

2004-06-29 Thread David Reid
Try converting the image to a plain .bmp (bitmap image) Resample it down to a minimum of 32x32 pixels, color type 8-bit palleted (system colors). I think there is also a limit on the actual file size of 2,024 bytes (2kb). Place the bmp file in your Mapinfo CustSymb directory, restart MI if

MI-L calling a subroutine vs. a custom function in map basic.

2004-06-29 Thread Cummings, Mike
I'm in the middle of re-writing some code and realized that there has got to be an easier way. After thinking about how to get through it all without a number nested loops and endless queries, I've realized that I may be missing some basics of programming ( I'm a geologist ) and could use some

MI-L MapInfo freezes everytime a selection is made ...

2004-06-29 Thread Majzoub Sami
Hi everyone, After running a MapBasic program (that I am currently writting) in MapInfo, MapInfo has completly frozen. Since then MapInfo freezes everytime I do a Select with a Condition. If no condition is given, it does the selection normally, but as soon as there is any Condition given it

Re: MI-L calling a subroutine vs. a custom function in map basic.

2004-06-29 Thread Bill Thoen
On Tue, 29 Jun 2004, Cummings, Mike wrote: I'm in the middle of re-writing some code and realized that there has got to be an easier way. After thinking about how to get through it all without a number nested loops and endless queries, I've realized that I may be missing some basics of

MI-L Finding Valid records

2004-06-29 Thread Robert Crossley
I have an update that is failing because, I believe, there are deleted records in the table. I think that I used to avoid this by selecting * from table, and it would only return valid records. Now the SQL returns deleted records into the query (improvement?). I can avoid this on spatial