MI: Problem with the rectangle tool
When using the Rectangle tool from the Drawing toolbar in a mapper, the object draws as a square on the screen, although when I double-click the object the dialog displays different width and height. It draws like a square but is stored as a rectangle. When drawing a rectangle to a layout, the rectangle displays as a rectangle (not a square). What happens? _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI - Sum (revisited): Integrated mapping with ProViewer
I WAS WRONG IN MY FIRST SUMMARY AND PATRICK PHILLIPS HAS BEEN RIGHT ALL ALONG! Mr. Phillips sent me the code mentioned below and it works perfectly with the SetParent API. Thank you very much Patrick for your persistence at opening my eyes. _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : 12 septembre, 2000 15:11 À : 'MapInfo List' (E-mail) Objet : RE: MI - Sum: Integrated mapping with ProViewer I must reiterate that you can do integrated mapping with ProViewer; even though it was not meant to be used as such. The MapInfo Runtime object does not have as many methods and properties as the application object. This is where Mr. Lavoie ran into a snag. Instead of using 'ProViewer.do "Set Next Document Parent "...' use the SetParent API call and all is well. You can even add your own tool bar, if you approach the problem from the right direction. I have put together a small Visual Basic Application that works. I'm not saying it is pretty. I'm saying it works. I am willing to provide the code to those who are interested. Yes, even Mr. Lavoie. Patrick J. Phillips GIS Programmer II City of Orlando, FL -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: SUM: Integrated mapping with ProViewer
The question: Can ProViewer be integrated into and controlled by a VB program just like MI Pro? What we have in mind is a VB program that launches an instance of ProViewer and then successively opens workspaces in this instance of ProViewer via the VB routine. I would like to hear any comments on similar experiences, and how it resembles or differs from integrating a MI Pro instance into a VB program. Will sum. Thanks in advance. Got two replies: Trey Pattillo: suggests to open ProViewer via the command line with the workspace as a parameter ("C:\Program Files\...\MapInfor.exe D:\...\My_Workspace.wor") Patrick Phillips: suggests that I create the ProViewer object in VB as MapInfo.Runtime instead of MapInfo.Application I tested Patrick's suggestion with the following script in VB: Option Explicit Global ProViewer As Object Private Sub Form_Load() 'Instantiate ProViewer Set ProViewer = CreateObject("MapInfo.Runtime") ProViewer.do "Set Application Window " Form1.hWnd ' Reparent next map window ProViewer.do "Set Next Document Parent " Form1.hWnd " Style 1" ProViewer.do "Open Table ""D:\Bgr\Bgn_40\Que_RTS\Que_RTS"" Interactive" ProViewer.do "Map From Que_RTS" execute it, and get the following error message: "MapInfo ProViewer does not support integrated mapping", thereby establishing Trey's assertion. I will therefore have to launch ProViewer from the command line. Thanks Trey and Patrick for your help. _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Integrated mapping with ProViewer
Can ProViewer be integrated into and controlled by a VB program just like MI Pro? What we have in mind is a VB program that launches an instance of ProViewer and then successively opens workspaces in this instance of ProViewer via the VB routine. I would like to hear any comments on similar experiences, and how it resembles or differs from integrating a MI Pro instance into a VB program. Will sum. Thanks in advance. _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: SUM: How to print the contents of the message window
The question: One of our MapBasic applications writes different messages to the Message window. In order to print the contents of the Message window, I tried, to no avail: PrintWin Window 1003 How can I either print the contents of the Message window to a printer or to a file? Must be obvious. Thanks in advance. Thanks for the suggestions: Ahmet Dabanli and Peter Doyle suggested to put the window into a layout and print; Paul Jones suggested to ouput the messages to a text file via OPEN FILE, PRINT#, and CLOSE FILE statements. Jacques Paris offered a discussion of the topic. I should have mentioned in the original posting that the contents of the Message window is sometimes a few hundred lines long (cumbersome in a layout), and that I preferred a fast, non programmatic solution. I will have to modifiy the code, for it seems to be the only way to get the whole contents. Thanks again to all respondents. _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: How to print the contents of the message window
Hi all. One of our MapBasic applications writes different messages to the Message window. In order to print the contents of the Message window, I tried, to no avail: PrintWin Window 1003 How can I either print the contents of the Message window to a printer or to a file? Must be obvious. Thanks in advance. _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI Friday Humour - Reflections on Breaking News...
As it is Friday, I indulge in reflecting about this joke. I have come across this one a few times: the joke is the same, but the locale of the event varies according to the birthplace of the storyteller: a French will place it in Belgium, a Canadian in Newfoundland, an Englishman in Ireland, an American in Arkansas or Oklahoma (of course, no Okie would consider it funny). I am not critical of the choice, just pointing out that each place has a scapegoat. "On est toujours un peu l'Iroquois de quelqu'un" (Sylvain Lelièvre), loosely translated as "One is always someone else's laughing stock". Good weekend to you all. _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -Message d'origine- De: Andy [mailto:[EMAIL PROTECTED]] Date: 25 août 2000 05:08 À: Mapinfo Mailing List Objet: MI Friday Humour - Breaking News... Ireland's* worst air disaster occurred early this morning when a small two-seater Cessna plane crashed into a cemetery. Irish search and rescue workers have recovered 826 bodies so far and expect that number to climb as digging continues into the night. *If you are Irish, feel free to swap nations as appropriate. -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI - Long plots to HP1055
I have the same problem with a HP1055; please, forward any solution to me. Thanks in advance, _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -Message d'origine- De: Martin Higham [mailto:[EMAIL PROTECTED]] Date: 2 juil. 2000 22:16 À: [EMAIL PROTECTED] Objet: MI - Long plots to HP1055 Hi, A client has a problem plotting 1500mm (=59") long PostScript plots on an HP1055. The correct length of paper is produced but the printed output stops at 1170mm (=46"). The plots are OK using HPGL/RTL on the HP1055 and are also OK using PostScript on an HP755. The HP1055 also produces long PostScript plots from software other than MapInfo. Any ideas ? Best Regards, Martin Higham Manager - GIS Services Encom Technology PO Box 727 ph 61 3 9428 4088 Richmondfx 61 3 9428 0470 Vic 3121mob 61 3 624 117 Australia www.encom.com.au -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: MapInfo will not start
MI 5.0 is installed one of our machines ( PIII-450, 128 meg RAM, NT 4.0, SP4) in profile All Users. It runs smoothly for a while, then upon launching one day displays the message "(c:\program files\mapinfo\professional\mapinfow.mnu:11) Unrecognized command: Workspace ..."; MapInfo then opens with the following message "The file MAPINFOW.MNU is missing or damaged; MapInfo is unable to start. Please call Tech Support". I searched the archives and found a thread about a similar problem to which Cindy, from MapInfo Tech Support, answered that the problem might lie in the startup workspace. I therefore deleted from it a RUN APPLICATION statement, to no avail. Any idea of what the problem is? Thanks in advance, _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI The Empire versus the metric
Don't you also qualify weather with dogs as in "Three dog night"? __ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, bureau 5.00 Montréal (Québec) H3L 3T1 Téléphone: (514) 873-628O Télécopieur: (514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] __ -Message d'origine- De : PERRY Chris [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 24 mai 2000 21:31 À : 'Mick'; [EMAIL PROTECTED] Objet : RE: MI The Empire versus the metric Mick, here in Australia we often measure distance by stubbies. A stubbie is a small bottle of beer (375 mL - about a third of a US quart). eg. The number of stubbies it takes to get from Melbourne to Ballarat (probably a 3 stubbie trip). Longer trips are measured in "slabs" or "cartons". A slab/carton is made up of 24 stubbies. eg. Melbourne to Sydney is about a one slab trip. PS. DOn't drink and drive (you might spill some). Get someone to drive for you. Cheers Chris -Original Message- From: Mick [mailto:[EMAIL PROTECTED]] Sent: Thursday, 25 May 2000 10:33 To: [EMAIL PROTECTED] Subject: Re: MI The Empire versus the metric I must admit I've been impressed with the discussion, it's brought a smile to my face a few times, well how about the Solomon Islands distance is measured by the litre there.. i.e the number of litres of fuel you need in an outboard on a canoe to get from A to B, weather, currents and load sometimes make the same journey a different length of course, as I found out to my cost a few times I guess the bottom line is the best system to use in a place is the one that most people in that place understand, or maybe that's controversial. Mick -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI miles and kilometres
What about this unit of measure the MIT students used to measure a bridge over the Charles River in Boston, Mass. (unit corresponding to the height of a fellow student)? _ Claude Lavoie, a.g. Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -Message d'origine- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Date: 23 mai 2000 13:42 À: [EMAIL PROTECTED] Objet: RE: MI miles and kilometres 1760. But seriously, my favourite measure is the furlong. Tony Peluso Economic Studies and Policy Analysis Division / Division des études économiques et de l'analyse des politiques Department of Finance / Ministère des finances L'Esplanade Laurier, 18th Floor, East Tower 140 O'Connor Street Ottawa, ON, K1A 0G5 Tel.: (613) 992-9588 Fax: (613) 992-5773 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Stokes Jonathan [SMTP:[EMAIL PROTECTED]] Sent: May 23, 2000 12:19 PM To: 'Tim Warman'; Mapinfo-L Subject:RE: MI miles and kilometres yeah miles one thousand and ??? how many yards first one to answer gets a genuine copy of mapinfo 1.0 that i have kicking around. complete with REAL floppy disks!! -Original Message- From: Tim Warman [mailto:[EMAIL PROTECTED]] Sent: 23 May 2000 16:36 To: Mapinfo-L Subject: RE: MI miles and kilometres Mick, Oh please. Tim _ Tim Warman Geologist GIS Specialist Richard C. Slade Associates North Hollywood, CA (818) 506-0418 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mick Sent: Tuesday, May 23, 2000 3:01 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: MI miles and kilometres Eric UK is still miles, it's so much more logical than kilometres. Mick -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Sharing custom symbols among several users
Hi all! Is there a way for different users of ProViewer (or MI for that matter) to share a unique set of custom symbols (stored on a network drive for instance), or do they each have to have a copy of the set in their own respective CUSTSYMB directory on a local drive? Each user has ProViewer installed locally. TIA _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
SUM: MI: Can't open .dbf file
The question: When opening a .DBF file created with Visual FoxPro 6, I get the error message "This table contains unsupported field types ...". All fields are either numeric or character, none with more than 10 characters in its name, no blanks, etc. Could it be that MapInfo does not support .DBF files created by Visual Foxpro 6? The solution: Save the file in an earlier version of .dbf (IV for instance). Worked fine. Thanks to Agustin Estrada-Pena, John Chioles, Jason Adam, Jeff Peddycoart, Steve Kalmbach, and Jennifer Duncan, who all directed me to the solution above. Sounds like everybody knew the solution, but me. What a great list! _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI Sangars
Where's the beef? -Message d'origine- De: Jeff Lebowski [mailto:[EMAIL PROTECTED]] Date: 7 avr. 2000 09:37 À: [EMAIL PROTECTED] Objet: RE: MI Sangars Just as long as the potato salad doesn't spoil. -Original Message- From: David Eagle [mailto:[EMAIL PROTECTED]] Sent: Friday, April 07, 2000 8:16 AM To: [EMAIL PROTECTED] Subject: MI Sangars Me thinks our sandwiches are going to be a little warm! _ David A. Eagle WS Atkins Consultants - East Anglia Wellbrook Court, Girton Road, Cambridge, CB3 0NA. Direct Dial Tel: (01223) 814090, Fax: (01223) 277529 E-Mail: [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] __ Get Your Private, Free Email at http://www.hotmail.com -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI Help on Bar Chart Map
I had the exact same problem with a pie chart a couple of weeks ago (and actually did not find any solution to it); would you please forward any solution to me as well. Thanks in advance. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -Message d'origine- De: Chiu Luk [mailto:[EMAIL PROTECTED]] Date: 29 mars 2000 14:49 À: [EMAIL PROTECTED] Objet: MI Help on Bar Chart Map In making a bar chart thematic map, I discovered that the bar heights inside each map object (e.g. a census tract) are out of proportion of the bar shown in the legend. I cannot find any clue from the Help pages. Anyone could help me to solve this problem? (I am working with MapInfo version 5.5) Many thanks. Chiu LUK Policy Research Section Urban Development Services City of Toronto Correspondence: Chiu Luk Urban Development Services East District Office, City of Toronto 150 Borough Drive Scarborough Civic Centre Toronto, ON M1P 4N7 Phone: (416) 396-7031 Fax: (416) 396-4265 E-mail: [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Setting font size in dialog boxes
Can I change the font size in MI's standard dialog boxes (layer control for instance); if yes, how. TIA _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI Do we want to create a MapInfo Newsgroup?
Lots of MapInfo-L bliss comin' our way. If it ain't broke, don't fix it. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -Message d'origine- De: Bill Thoen [mailto:[EMAIL PROTECTED]] Date: 21 mars 2000 10:36 À: [EMAIL PROTECTED] Objet: Re: MI Do we want to create a MapInfo Newsgroup? Looks like this idea isn't going to go anywhere. Since none of the people who asked me if we could create a newsgroup have given any arguments in support for forming a MapInfo newsgroup, and most everyone else who did says "no," it looks like this proposal is DOA. - Bill Thoen -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
Sum: MI: Buffer with square ends
The question: I am looking for a utility that creates buffers with square ends rather than round. Any ideas? The replies: 1. A rather curt, but much to the point answer was to use Create Rect statement; would work fine for lines, but be rather cumbersome with polylines (I cannot find who this answer was coming from; thanks anyway). 2. Stuart Cox was very generous with discussion of concepts on how to program a MapBasic application that would create such buffers. Thanks Stuart; your ideas might be helpful and applicable to an other project I am currently working on. 3. Jacques Paris (who else!) has an utility, called HALFBUFFER, that does exactly what is asked for: half-buffers with square ends. The desired result can be achieved by creating two half-buffers (one on either side of the polyline) and combining them thereafter. 4. François Bergeron provided sample code from one of his applications. Problem solved. My grateful thanks. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Creating buffers with square ends
Second posting; suspect first one did not get through. I am looking for a utility that creates buffers with square ends rather than round. Any ideas? TIA, _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Getting rid of Bounds
MI 5.5 on W95. I have a table with Bounds in a certain projection, and want a copy of it in the same projection without Bounds. Tried the following: * Ran CoordsSysBounds.mbx, Save Table As ... Without Coordsys Bounds under a different name; opened the newly created table (allegedly without Bounds), issued TableInfo(0,29) in the MB Window, and ... get a Bounds clause. * Exported the bounded table, opende the MIF file, erased the Bounds part in the Coordsys clause, reimported under different name, opened newly imported table, issued TableInfo(0,29) in the MB Window, and ... get a Bounds clause. Never expected quitting bo(u)ndage to be that tough. How can I get rid of Bounds. Any comments welcome. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Wishes
This list is to me a very dear work companion. Thanks to you all for making the grind agreeable and interesting. Merry Christmas enjoy some good time (but not too much; you all work on January 1st, don't you?) _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Access listserver address
It appeared on this list a couple of weeks ago; might as well have kept it then. Would someone be kind enough to post the address of the Access list equivalent to MapInfo-L Thanks . _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Coordinate transformation - Affine transformation
Last July, Cliff Mugnier, Jacques Paris, and Walter ... (I only kept the last message of the thread in which Walter's family name is not mentioned) had an interesting discussion about coordinate transformation from a "Dig" site local coordinate system to a projected system, and about whether a 3-parameter rather than a 6-parameter (as in MapInfo) transformation could suffice. I have to import into MapInfo a DXF file (with coordinates from a local Non Earth system) of a construction site of roughly 1 km x 1 km, and transform these coordinates in a MTM system. Following Cliff's advice, I intend to use a 3-parameter transformation with 2 points known in both coordinate systems. Quoting Walter from the abovementioned thread: I would like to build a program (mbx) that asks the user- from two points(is this enough?), both local and national coordinates. The program then calculates the rotation angle and the translation parameters. Then the user can give a number of local coordinates and the program can calculate from every local coordinates the national coordinates. Is this possible with some simple goniometry and pythagoras? Is there some information on this subject (books, internet)? Walter, have you built this program? If so, is it available to others? Thanks in advance. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Selecting text objects in Cosmetic Layer
In a MB application (Mi MB 5.5): I creat text objects in the Cosmetic layer through Autolabel; I want to retrieve each of these objects sequentially to alter them through Alter Object. When issuing Select Obj From Cosmetic1 Into Selection, I get "File #0 not registered for Access"; When issuing Insert Into TextLabel (Obj) Select Obj From Cosmetic1 it works, objects are appended to table TextLabel. How come the first Select statement does not work? _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Selecting text objects in Cosmetic Layer
Second posting: First one bounced back. In a MB application (Mi MB 5.5): I creat text objects in the Cosmetic layer through Autolabel; I want to retrieve each of these objects sequentially to alter them through Alter Object. When issuing Select Obj From Cosmetic1 Into Selection, I get "File #0 not registered for Access"; When issuing Insert Into TextLabel (Obj) Select Obj From Cosmetic1 it works, objects are appended to table TextLabel. How come the first Select statement does not work? _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Where can I find pixshow
I've seen it time and again; where can I download Pixshow from? Thanks, _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI RE: making some objects invisible in a table
Il existe dans MapBasic (j'assume que vous en disposez) une procédure appelée SelChangedHandler, laquelle est exécutée à chaque fois que la sélection est modifiée. Vous pouvez utiliser cette procédure pour lancer l'exécution des commandes décrites dans l'option 2 ci-dessous. Le problème de rafraîchissements d'écran demeure. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ -Message d'origine- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Date: 3 novembre, 1999 03:34 À: [EMAIL PROTECTED] Objet: MI: making some objects invisible in a table hello, We have to solve the following problem: we would like to have some objects (regions) invisible in a map (and of course NOT selectable in that map). This is logically equivalent to 'filter' the records before displaying them. We have tried different solutions, but none is really good: 1. Set the object's contours style to 'invisible' and fill patern to 'none' is not good, as the object is still selectable in the map. 2. Do a SELECT and add the result query to the a map is too static: the condition (based on columns values) which makes the objects visible/invisible may change, so we must re-issue the SELECT, and add the result to the map again (the main problem is to 'detect' when data has changed to trigger this new SELECT, also the whole map will be refreshed when the result is removed/added to the map). 3. Move the objects from the displayed table to another table. Does anybody has another idea ? What would be the best: Mapinfo adds a new attribute in a layer: a logical expression, based on columns values like for labels, which, when evaluating to false will cause the object NOT to be displayed. This would be very dynamic (as for thematic maps, which are updated as soon a record is updated) Thanks, Frédéric DENTRAYGUES REALIX TECHNOLOGIES 2, rue de la Découverte BP 146 31676 - LABEGE CEDEX Tel: 33 05 62 24 99 54 Fax: 33 05 61 39 96 59 -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: True Type Font under Win95 and NT
We have several MI machines, Win95 as well as NT; one of our custom True Type font works well on Win95 stations, but is all messed up when used on NT machines. Does that mean this font has to be modified for use on NT machines? If so, what with? How to make this font available for both types of machines? Thanks in advance, _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI i Sum: 5.0 and PDF Writer
Thanks to all who responded. My problem was that I had more than one layout window open. God bless Fridays (for the looming weekends). _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI 5.0 and PDF Writer
We are trying to output from MapInfo 5.0 through PDF Writer 3.0. I select PDF Writer in the Print menu, and send the output, but MapInfo answers back "Cannot print". Other applications (WordPad, Word, ...) write .PDF's without problem. Any ideas? _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Setting the side of a mapper window
Hi all! I am trying , through the following bit of code, to open a mapper centered on a certain location at a certain scale, and resize the window to a certain dimension. The values and the variables they are in are: Ecran_XCentre_Al: X coordinate of mapper center point, Ecran_YCentre_Al: Y coordinate of mapper center point, Ecran_Echelle_Al: Scale of mapper (in km per cm), Ecran_Width_Al: Width of mapper window (in cm, i.e. 29 cm), Ecran_Height_Al:Height of mapper window (in cm, i.e. 21 cm), Through the following bit of code, I can get the coordinates of the center point and scale just right. However, the width of the window is 27,1992 cm and the height 19,9231. How come? The first NOTE statement yields 29,21; the second NOTE statement yields 27.1992,19.9231; the third NOTE statement yields 27.1992,19.9231; Code is: === Set Paper Units "cm" Note Ecran_Width_Al + "," + Ecran_Height_Al 'Checking contents of variables containing width height values Set Map Window Fenetre Center (Ecran_Xcentre_Al,Ecran_Ycentre_Al) Scale 1 Units "cm" For Ecran_Echelle_Al Units "km" Note WindowInfo(Fenetre,4) + "," + WindowInfo(Fenetre,5)' WIN_INFO_WIDTH,WIN_INFO_HEIGHT Set Window Fenetre Position (0,0) Units "cm" Width Ecran_Width_Al Units "cm" Height Ecran_Height_Al Units "cm" ScrollBars Off Note WindowInfo(Fenetre,4) + "," + WindowInfo(Fenetre,5)' WIN_INFO_WIDTH,WIN_INFO_HEIGHT === Thanks for your help. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: WindowInfo defines in MapBasic.def
I am using MapInfo and MapBasic 5.5. In MapBasic.def (see below), two different defines have the same numeric code. Is something wrong? Here is the excerpt of my MapBasic.def: '=== = ' WindowInfo() defines '=== = .. Define WIN_INFO_STATE 9 Define WIN_INFO_TABLE 10 Define WIN_INFO_LEGENDS_MAP 10 etc. Thanks to you all in advance. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
RE: MI Fwd: AV: General--New guidance for using the ArcView list and an important survey question
As for the rest, I do agree with Steve. It would be nice to not have everybody post all their replies publicly and I completely agree with the idea of the person who asked the question posting a summary of all the answers they got (its the least they could do for all the help they got!). I keep all summaries because who knows when I may run across something that has been discussed, but to have to sift through a billion replies instead of one concise summary is a pain in the derriere. Reading all the replies takes a lot of time, but it is SO informative. I personally like them better than summaries, for I sometimes find the latter well ... too summarized. All the information circulating on this list is very precious. I want the gist of it all (at least of what my partial knowledge allows me to understand). Bye for now, _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: Enabling/Disabling hierarchical menus
In a MapBasic application (see excerpt below), I create a menu TRAVERSIER containing two hierarchichal menus, ADMINISTRER (menu item ID 2000) and ANNOTER (menu item ID 2001), both originally disabled. Later in the application, I want to enable the latter two through the Alter Menu Item statement, referring to their respective menu item ID's, but cannot; them remain disabled. My questions: * Is the Alter Menu Item statement the right tool to enable/disable hierarchical menus, or should I use an other statement; see last two lines of code below. * When assigning menu item ID's to custom menu items, should I be careful not to assign an integer already assigned to a standard MapInfo menu item (the MapBasic documentation is silent on this). For instance, in MENU.DEF, M_FILE_NEW is assigned 101; can I reuse the same ID for a custom menu item? Code is: Include "MAPBASIC.DEF" Include "ICONS.DEF" Include "MENU.DEF" Declare Sub Main ... Declare Sub Dem_Traversier ... Dim ... ' ' MAIN ' Sub Main ' Creating submenu Administrer Create Menu "Administrer" As "Saisie du mot de passe" Calling MotPasse, "(Créer fenêtres" Calling CreeFenetres ' Creating submenu Annoter Create Menu "Annoter" As "Rafraîchir thématique"Calling Cartes_Them, "Ajouter annotations" Calling Ajoute_Anno, "Déplacer annotations" Calling Deplace_Anno, "Effacer annotations" Calling Efface_Anno, "Initialiser annotations" Calling Initial_Anno, "Sauvegarder annotations" Calling Sauve_Anno ' Creating menu Traversier Create Menu "Traversier" As "Démarrer Traversier" Calling Dem_Traversier, "(Administrer" ID 2000 As "Administrer", "(Annoter" ID 2001 As "Annoter", "(Quitter Traversier" Calling Quit_Traversier, "(-", "À propos de Traversier ..." Calling About_Traversier ' Adding custom menu "Traversier" to menu bar Alter Menu Bar Remove ID 6, ID 7 Alter Menu Bar Add "Traversier", ID 6, ID 7 '*** ' Dem_Traversier '*** Sub Dem_Traversier Alter Menu Item Dem_Traversier Disable Alter Menu Item ID 2000 Enable 'Should enable hierarchical menu "Administrer" Alter Menu Item ID 2001 Enable 'Should enable hierarchical menu "Annoter" ... _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Translator from .bmp to .gif
Second posting: I am looking for a (preferably free; if not, cheap) translator converting .bmp images to .gif in batch mode. The conversion is to be launched from within a MB application with a command of the type: run program ".exe c:\bmp_img\*.bmp c:\gif_img\*.gif" Any advice appreciated, thanks in advance for your help. _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
No Subject
Hi! I am looking for a (preferably free) translator converting .bmp images to .gif in batch mode (conversion to be launched from within a MB application). Any suggestions. Thanks in advance _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI: ObjectGeography(object, OBJ_GEO_CENTROID)
MI and MB 5.5 under Win95: In MapBasic.def the following: Define OBJ_GEO_CENTROID 5 Although not documented under the ObjectGeography() function in MapBasic's Reference Guide, I infer the statement ObjectGeography(object, OBJ_GEO_CENTROID) returns a point object. Therefore, I use it on a text object I want to resize in a MapBasic application, but get the error message "Could not convert data". What am I missing? _ Claude Lavoie Service du soutien à la clientèle Direction des technologies de l'information Ministère des Transports du Québec 35, rue de Port-Royal Est, salle 5.00 a Montréal (Québec) H3L 3T1 Téléphone: (514) 873-6280 Télécopieur:(514) 873-8203 Courriel: mailto:[EMAIL PROTECTED] _ -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]