Re: MI SQL Select
Martin Sprenz asked: I'm looking for a Query that would select all the polygons that border a selected or given polygon. Is there a function that could achieve this result? The answer you need is select * from My_Table where obj intersects (select obj from selection) The operator for geographic selection [from MapBasic help] are defined as follows objectA Contains objectB first object contains the centroid of second object objectA Contains Part objectB first object contains part of second object objectA Contains Entire objectB first object contains all of second object objectA Within objectB first object's centroid is within the second object objectA Partly Within objectB part of the first object is within the second object objectA Entirely Within objectB the first object is entirely inside the second object objectA Intersects objectB the two objects intersect at some point [my defination is "touch" at some point" Trey Pattillo [EMAIL PROTECTED] http://www.wa3.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]
MI : new utilities
I have written for my own satisfaction primarily 3 small utilities that I could send to anyone who would like to play with them before I install them on some public site. This is the best time when they are still hot in my mind to tell me what I should do to "correct" them or to give me suggestions of how to improve them. I have no way to check their performance in different environments and I am counting on you for feedback. They have been compiled in 5.5, but if anyone would like it I can recompiled them in 4.1 ZoomSel : zoom on selected object(s). The selection fills up the window leaving some margins on all sides. ClearQueries : closes all open queries. WorInter : makes sure that all "open Table..." statements of a WOR end up with the INTERACTIVE key word to allow interactive reassignment of paths for all the tables that have been moved from their location they had when the WOR was created. MI does not add that key word when the WOR is created in the same directory as the table. This utility is a partial remedy to the ".. could not locate ..incomplete wor..". If interested, specify which one(s) you want and in which version (by default 5.5) Jacques Paris e-mail alternate [EMAIL PROTECTED] [EMAIL PROTECTED] paris PC Consult (mainly MapInfo app.) www.total.net/~rparis/gisproducts.htm -- 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 dialogs: can they remain on-screen and be inactive?
Hello, I'm developping an interface with MapBasic and I'd like to have a dialog wich would always be on the screen (kind of a layer control). The problem is that while this dialog is on the screen, I cannot do anything else but interact with it. Is there a way to keep a dialog visibleand still be able to do operations on map, browser or do any other commands? Does a dialog always need to have the focus or is there a code parameter to solve this problem? Any help would be gladly appreciated, Jeff Lepine
MI HTML inside Maps --- JUST SOLVED
Hello all,In response to Colin's question "will MapInfo do HTML".. I just put HtmlView on the website www.wap3.com/download/HtmlView.zip Use Launch.App www.wap3.com/download/Launch.zip or on of the other fine launchers available in the list download to let you user click on the map and then "take them to the web" or use it in your "help" menu to take them directly to your site. Will also work with any other application that can launch a program. HtmlView is just a simple browser instead of the usual *pig-ware*Since it is written in Delphi, just put thefiles in a folder and your ready to go. Give your user only the functionality you want Features:1) Work with local files or get page from the web2) You can hide/show the basic NavBar [back,forward,refresh,stop and url entry]3) Stop user from jumping to links [java scripts will still work - on the wish list]4) Keep user from closing window/app [then close it yourself with /QUIT parameter]5) Hide Min/Max window buttons and menu6) Set initial top/left/width/height default is 1/4 of screen centered [works with any resolution]7) Use your own title in the window caption8) Set window for *Stay On Top* [like Windoze Task Mgr or some find/search boxes]9) Reset default parameters10) Gets new pages into the same window - won't muck up the users screen11) Smallcompact and clean code 168kExample for MapBasicTo The Web:Run Application "c:\HtmlView\HtmlView.exe /F=www.wap3.com"Local:Run Application "c:\HtmlView\HtmlView.exe /F=c:\webpages\index.html /topon /linkoff /x=0 /y=0 /w=320 h=240 /closeoff" Trey Pattillo[EMAIL PROTECTED]http://www.wap3.com
MI MapBasic and Visual Basic
I'd like to include an existing VB application into my MapBasic application - mainly because I find it somewhat cumbersome to design forms etc in MB. What would be the best way to include the VB app and enable dataexchange from VB to MB? And what would be the syntax for that, eg if I used DDE can I initiate the data request through the DDEInitiate command with Visual Basic and MyVPapp.EXE as topic/ statement. Would the VB application have to be set up as a server/ client? Could all that be done through OLE. Thanks for your efforts and please copy reply to my e-mail. Harald Schölzel Economist Civil Engineer c/o SOPAC South Pacific Applied Geoscience Commission Private Mail Bag Suva, Fiji Tel: Business (679) 381 377 private (679) 386 236 Fax: (679) 370 040 Mailto:[EMAIL PROTECTED] URL: http://www.sopac.org.fj/wru Mirror URL: http://www.sidsnet.org/pacific/sopac/wru -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]