MI-L MapBasic - Command to set a raster image to grayscale

2004-09-09 Thread Mike Tonge
Hi Does anyone know a MapBasic command/chunk of code (For use in a program) that can set a raster image to grayscale. Thanks Mike - ALL-NEW Yahoo! Messenger - all new features - even more fun!

MI-L Re: Thanks for the help

2004-09-09 Thread Mike Tonge
- ALL-NEW Yahoo! Messenger - all new features - even more fun!

MI-L MapBasic - Commit Statement Error

2004-09-13 Thread Mike Tonge
I've got a MapBasic program which selects data from two tables and combines it. Then it tries to commit the selected table under a different name. Whenever I run the program the variables are all initialised correctly but it causes MapInfo to crash on, or around, the commit table statement. I'v

MI-L MapInfo - Commit Statement Errors

2004-09-21 Thread Mike Tonge
am. Does anyone know a way round this. In case it matters the module its in is about 70KB. Thanks Mike Tonge Summer Placement Student Rivers & Coastal Atkins - ALL-NEW Yahoo! Messenger - all new features - even more fun!

MI-L MapBasic - Open Folder Dialog

2004-09-22 Thread Mike Tonge
Is there any way to select a folder in the same way as the fileopendlg function works. ie. Without having to code a seperate dialog window. Mike Tonge Atkins - ALL-NEW Yahoo! Messenger - all new features - even more fun!

Fwd: RE: MI-L MapBasic - Open Folder Dialog

2004-09-22 Thread Mike Tonge
r End If End Sub ' *** Mvh. | Regards Jakob Lanstorp Software Developer, MSc Geographical Information & IT COWI A/S Odensevej 95 DK-5260 Odense S Tel +45 63 11 49 00 Direct +45 63 11 48 62 Fax +45 63 11 49 49 Email [EMAIL PROTECTED] http://www.cowi.dk -O

Re: MI-L MapBasic - Open Folder Dialog

2004-09-22 Thread Mike Tonge
If you just replace "C:\Program Files" with "" as shown below: newdir = selectdirectory1("my caption","") Then it allows you to browse different projects. The reason it wasn't letting you browse them before was because the second parametre restricts the area of browsing and providing a blank

MI-L Label Points at sensible positions

2004-09-23 Thread Mike Tonge
Hi all Does anyone have a program/code sample that positions labels for point objects at sensible positions. ie. Spreads them out and puts label lines that don't overlap in. Maybe even stops them from overlapping other tables though that's not necessary. Mike Atkins -

RE: MI-L Restricting User Access

2005-07-12 Thread Mike Tonge
Another way which might provide better security would be to use either xml or a database file if they're supported in MapBasic because both of these have built in security and using the database would make it very easy to edit the user lists whilst keeping the security restrictions. Please not

MI-L Seamless raster images in MapInfo

2005-08-17 Thread Mike Tonge
Hi All Is there any way to create a seamless table of raster images in MapInfo. Mike Summer Placement Student Atkins Rivers and Coastal - How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! P

MI-L Label Positioning

2005-08-18 Thread Mike Tonge
Hi again Firstly thanks for the help with the seamless tables. Secondly does anyone know of a good program for labelling layers in MapInfo. I'm looking for something that can cope with arround 1000 labels on a single map and will generate best positions for them so that they and their labell

MI-L label positioning

2005-08-18 Thread Mike Tonge
Hi guys Thanks for the ideas on the two possible pay to use tools (Label-Ez and MapText). I'm feeling a little stingy today and was therefore hoping there might be a free thing somewhere out there which doesn't have all the features. Does anyone know of one? Mike --

MI-L SQL selects

2005-08-30 Thread Mike Tonge
Hi List I've got two MapInfo points tables and I wish to select all pairs where an object from one table is within 100m of an object in the other table. Can someone tell me the SQL syntax for doing this? Thanks Mike - How much free photo

RE: MI-L SQL selects

2005-08-30 Thread Mike Tonge
Yep that got it working. Thanks Mike Terry McDonnell <[EMAIL PROTECTED]> wrote: Mike I haven't done this myself yet but does the below work? HTH Terry Select * from Table2 where table2.obj within Buffer( table1.Obj, 1, 100, "m") -Original Message- Fro

Re: MI-L Too difficult for any of you :-)

2005-09-21 Thread Mike Tonge
This sounds to me like a job for a basic route planning algorithm. I've used these in java before and some (for example A* algorithm) are very easy to implement. Basically they are usually used to find a route between two specific locations but could be modified to only go a specific number of

[MI-L] Importing Lidar data

2006-06-21 Thread Mike Tonge
Hi List   Does anyone know of a tool to import and combine large numbers (in the region of 500-2000 files) of ASCII format Lidar data files?   Mike   Summer Placement Student Rivers and Coastal Atkins___ MapInfo-L mailing list MapInfo-L@lists.directionsma

[MI-L] File Limits

2006-06-23 Thread Mike Tonge
Hi List   Does anyone know what the limits are for the size of files (specifically interested in asc grid files being converted to tabs) for mapinfo and vertical mapper (either in terms of number of points or file sizes)?   Mike___ MapInfo-L mailing list

Re: [MI-L] Auditing edits made to mapinfo tables.

2006-07-04 Thread Mike Tonge
You could try writing a little mapbasic program that you use instead of the open file command.  Then each time the file requiring auditing is opened you could update another table with the date, time and username (accessible through windows api) of the person editing the file.   If you want any mor

[MI-L] MapBasic Language Definition and program building

2006-07-06 Thread Mike Tonge
Hi List   Does anyone have a language definition for mapbasic that could be used with ultraedit to provide syntax highlighting?   Also does anyone know if makefiles are possible with mapbasic code?   Mike Summer Placement Student Atkins All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@