MI-L Affine Transformation - Thanking Everyone

2004-05-20 Thread david thomas
Hi All, Thanks for all the help with my Transformation Query. Regards David Thomas BSc, MSc (Distinction), FLS GIS Officer Ashburton District Council 5 Baring Square West Ashburton Email: [EMAIL PROTECTED] Ph: 308 4038 ext 987 Fax: 308 1836 ##

Re: MI-L MapInfo Automation

2004-05-20 Thread Lars V. Nielsen (GisPro)
Hi Andrew, The error you encounter is perfectly valid, since what you're really doing is pulling out the rug from underneath Pro and your application. Every time you make a connection, using DDE or COM or something else, Windows resources are being allocated, and pointers are created to bind the

MI-L MapInfo Automation

2004-05-20 Thread Canfield, Andrew
I have a question for anyone who has done Automating of MapInfo via raw COM or Ole. When you create an instance or connect to an instance of an automatable application on Windows you can use any one of a dozen languages to do it. I have tried this in everything from C++ to Java to VB today and it's

RE: MI-L RadioGroup

2004-05-20 Thread Spencer Simpson
dim rgcorrect as smallint function concat_a ( a (0) as string, ByVal ct assmallint, ByVal s as string) as string dim c as string dim i as smallint do case ct case 0 concat_a = "" case 1 concat_a = a (1) case 2 c = a (1) for i =

MI-L RadioGroup

2004-05-20 Thread JCrouse
I am creating an educational app in MapBasic. I have a dialog that appears with several buttons. When you push the button a radiogroup with four choices appears. What I want it to do is create a Note statement "Incorrect" if the choice is wrong and preserve the dialog with the radiogroup for the

MI-L Postcodes

2004-05-20 Thread Hooper Sarah
Hello, I have a table of postcodes (over 200,000), and for querying purposes I need to remove all spaces from the text, e.g. E1 0AA to look like E10AA. How do I do this?! Thanks in advance, Sarah *** The contents o

Re: MI-L minimum syntax for a mif and mid

2004-05-20 Thread Bill Thoen
Richard Block wrote: > > ...I need to know what is the minimal syntax for mif and mid files to generate > plines and points. See the MID/MIF spec at http://www.directionsmag.com/mapinfo-l/mif/AppJ.pdf - List hosting provided by

MI-L Adv: Get "Grid Analyser" for free!!

2004-05-20 Thread Stefan Majtan
Dear listers. Let me inform you that a contest on the most complex, original and ingenious map algebra expressions created with Grid Analyser's Calculator was just commenced. To take part in the competition only a demo version of Grid Analyser is needed. The prize for the winner is one license o

MI-L minimum syntax for a mif and mid

2004-05-20 Thread Richard Block
The new version of Crimestat will include a simplified travel demand module. This model will automatical generate a mif and mid file of links between zones (eg census tracts) and the optimal route between zones on a street network based on distance or a weighting factor (such as time). It will al

RE: MI-L Coordsys Mapbasic Problem

2004-05-20 Thread Spencer Simpson
This is one of the nasty little surprises you'll get working with coordinate systems in MapBasic: THERE IS MORE THAN ONE "CURRENT COORDINATE SYSTEM" Each MapBasic application has its own "current coordinate system". So does the MapBasic window. But the MapBasic window is the environment in whic

RE: MI-L Coordsys Mapbasic Problem

2004-05-20 Thread Lawley, Russell S
Jamie, Mapinfo's internal workings rely on knowing what projection is being used at anyone time and when you run a mapbasic program it defaults to Mapinfos core projection of lat long. You have to issue a 'set coordsys' command within the Mapbasic application prior to any commands where spatial

MI-L Coordsys Mapbasic Problem

2004-05-20 Thread Dowdall, Jamie J
Hi All I have a mapbasic program that uses the distance function in a query to join two tables and list the distances between the two sets of eastings and northings. I first wrote the code in Mapbasic window in mapinfo and pasted into mapbasic,( in mapinfo) this did not work correctly (incorrect

RE: MI-L Getting information out of array.

2004-05-20 Thread Peter Horsbøll Møller
Hi Mike, You could also choose to incorporate the information on the SW, NE etc corners in your custom type: Type T_NODE fLong As Float fLatAs Float 'other information ? End Type Type T_POLYGON nSW As Integer nSE As Integer nNE A