MI-L MapBasic to MapX

2004-03-04 Thread Sam Shelley
Does anyone know if you already have custom tools written in MapBasic, can they be integrated into a MapX environment without too much hassle. Sam

MI-L MI CoordSys Specs for MapBasic

2004-03-09 Thread Sam Shelley
Does anyone know where I can find a list of the earth coordinate systems integer codes? Or does anyone know the CoordSys Clause specs for AMG66 Zone 55 and MGA94 Zone 55? Thanks Sam

MI-L Converting coordinate systems in MapBasic

2004-03-09 Thread Sam Shelley
Using the CoordSys clause - does that only add metadata to a table or will it re-project that table in the new system. If it doesn't reproject the actual table is there a way to do it? Sam

MI-L Shapefiles and MapBasic

2004-03-10 Thread Sam Shelley
Does anyone know if you can open ESRI Shapefiles using MapBasic commands and save them as MapInfo Tables. Thanks Sam

RE: MI-L Shapefiles and MapBasic

2004-03-10 Thread Sam Shelley
Thanks - but can you do this using MapBasic scripts? -Original Message- From: Martin Higham [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 March 2004 7:54 AM To: Sam Shelley Subject: RE: MI-L Shapefiles and MapBasic Hi, For MI Pro v7.0 on, select Shape from files of type from the File

MI-L Create points save in new table

2004-03-11 Thread Sam Shelley
Does anyone know, using MapBasic commands, how to get the centroid of region objects stored in a table and create a new table of points from those centroids along with the attribute data of the original table. Basically converting a table of regions to a table of points. Thanks in advance S

MI-L Populating listboxes

2004-03-15 Thread Sam Shelley
Does anyone know how to insert table names into a list boxes by pointing to the folder where the tables are located. Without the need to type in each table name. Thanks in advance Sam PS Likewise grab field names from a table and insert them into a listbox.

MI-L Using variables in SQL Select

2004-03-17 Thread Sam Shelley
Hi Listers, Does anyone know how to use variables pointing to table name and column names in a MapBasic SQL query. Following is and example of the section code that I am using but the compiler doesn't like it: Table1= TableInfo(1, TAB_INFO_NAME) Table2= TableInfo(2, TAB_INFO_NAME)

MI-L Export Tables as Shapefiles using MapBasic

2004-03-18 Thread Sam Shelley
Hi There, Does anyone know if there are any MapBasic commands to export MI Tables as ESRI Shapefiles? I know the Universal Translator does this but I need to do it in a MapBasic script. Thanks once again Sam

MI-L Clipping an layer based on another object

2004-03-31 Thread Sam Shelley
Good Morning Listers, I'm having problems sorting out some mapbasic code to clip portions of one layer based on objects in a separate layer. I'm trying to manage a very large dataset by clipping into smaller layers, using a script to automate this process as it will be done often. Hopefully s

MI-L Clipping problems

2004-04-01 Thread Sam Shelley
Hi All, I'm am having a lot of trouble with clipping one layer based on objects in another layer using MapBasic here is the code I'm using. I keep getting the error message "Cannot insert empty object into Table or Layout. Out of diskspace when editing table ClipAreaTable." I know that there

RE: MI-L Clipping problems

2004-04-01 Thread Sam Shelley
, 2 April 2004 11:43 AM To: Sam Shelley Subject: RE: MI-L Clipping problems Add some debugging messages so you can see whats going on. For example: Print Area(VegObj, "sq km") + " " + Area(IndexObj, "sq km") ClipArea = Overlap(VegObj, IndexObj) Print Area(ClipArea,

MI-L Storing objects in object variable

2004-04-04 Thread Sam Shelley
Good Morning listers, Does anyone know if you can store more than object in a object variable. If so how would you do it. Thanks Sam

MI-L Storing an Attribute as a String Variable

2004-04-07 Thread Sam Shelley
Hi All, Does anyone know how to grab an attribute out of a table stored to an object, and save the value in a string variable? Thanks Sam

RE: MI-L Storing an Attribute as a String Variable

2004-04-13 Thread Sam Shelley
I was hoping to store the text from the table - as if storing a label as a string variable in a mapbasic script. Any ideas? Thanks for your reply - Sam -Original Message- From: Woody Woodruff [mailto:[EMAIL PROTECTED] Sent: Wednesday, 7 April 2004 10:49 PM To: Sam Shelley Subject: RE

RE: MI-L Thematic layers

2004-04-19 Thread Sam Shelley
Hi Upinder, As far as I'm aware you cannot save the thematic map itself; you have to go through the table and select (SQL) the areas that you want to thematically map based on an attribute value(s) and make editable, colour appropriately and save. Repeat this process for each attribute value(s) y

MI-L Intersect function problem

2004-05-13 Thread Sam Shelley
Hi All, Currently I am trying to append a column "Suburb" to a Streets (line object) table. Have suburb table (polygon objects) which will return the suburb name. Normally this would be easy and I would run an SQL Query along the lines of: SELECT Street.StreetName, Suburb.SuburbName FROM

MI-L Proportion Overlap Function

2004-05-14 Thread Sam Shelley
Hi All, I'm having trouble using the proportion overlap function. It wont calculate the overlap for how much a line object is in a region. As far as I was aware (from the mapbasic reference book) that only point objects could not be used. I have a script with the following code in it but it

MI-L Deleteing a record from a table that has no object attached

2004-05-17 Thread Sam Shelley
Hi Does anyone know how to delete a record from a table that has no object attached to it, using MB. Thanks heaps Samuel Shelley GIS OFFICER FIRE MANAGEMENT UNIT TASMANIA FIRE SERVICE GPO Box 1526 HOBART, Tasmania AUSTRALIA, 7001 (CNR ARGYLE AND MELVILLE STS, HOBART 7000) E

MI-L MB Colour codes

2004-05-18 Thread Sam Shelley
Hi - would anyone know the colour codes for Grey and Orange. Thanks in advance. Samuel Shelley GIS OFFICER FIRE MANAGEMENT UNIT TASMANIA FIRE SERVICE GPO Box 1526 HOBART, Tasmania AUSTRALIA, 7001 (CNR ARGYLE AND MELVILLE STS, HOBART 7000) EMAIL: [EMAIL PROTECTED] PHONE: (03)

RE: MI-L SQL books

2004-06-02 Thread Sam Shelley
Hi Nick One book I use a lot - which is not GIS oriented is Oracle9i: SQL, with an Introduction to PL/SGL. It is obviously Oracle oriented; however, it is very comprehensive. Here is a link to some info on the book => http://www.course.com/catalog/product.cfm?isbn=0-619-06475-7 I hope it helps

MI-L Symbol True type Font Codes

2004-06-09 Thread Sam Shelley
Hi All, Just wondering if anyone had a list of codes (Shape) for True Type fonts when using them in the Symbol clause: Symbol (Shape, Colour, Size, Fontname, Fontstyle, Rotation) Thanks in advance. Samuel Shelley GIS OFFICER FIRE MANAGEMENT UNIT TASMANIA FIRE SERVICE GPO