RE: [MI-L] Points to Regions
Title: RE: [MI-L] Points to Regions Brendan, I see two ways of doing this in MapInfo without writting any MapBasic code. 1. Convex Hull will put a rubberband around your points and convert this rubberband into a region. The resulting region object(s) are based on the nodes from the input object. The Convex Hull operation can be thought of as an operator that places a rubber band around all of the points. It consists of a minimal set of points such that all other points lie on or inside the polygon. Since the polygon is convex, no interior angles are greater than 180 degrees. from the MapInfo User Guide 2. Voronoi will convert each point to an area that will cover the area closer to this point than any other point. The Voronoi polygon is a partition of space into cells. Voronoi takes points and produces regions (cells) as output where each cell contains exactly one point. Each cell is an area in which the contained points are closer to the enclosed site than to any others. Use Voronoi to generate these polygons from a designated set of points. It is useful for dividing areas of responsibilities for field offices or possibly postal zones. It ultimately gives you the areas that are closest to your point of interest. from the MapInfo User Guide If you use the second, you will afterwards have to combine the objects with the same common attribute into one region. Peter Horsbøll Møller GIS Developer, MTM Geographical Information IT COWI A/S Odensevej 95 DK-5260 Odense S. Denmark Tel +45 6311 4900 Direct +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail [EMAIL PROTECTED] http://www.cowi.dk/gis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brendan Tagg Sent: Thursday, July 06, 2006 7:38 AM To: mapinfo-l@lists.directionsmag.com Subject: [MI-L] Points to Regions Hi list, I have bunches of points that need to be grouped together by an common attribute and then each group converted into seperate region. Does anybody know of a way to convert the foot print or a set of points make into a polygon / region. I have tried to query for one type and then buffer the objects (with the create single object option) but this creates a too course an object with excessive overlap because a circle shape is used. EG for 1 particular group of points 'x' the output should be From x x x /x-- x- x\ x / x\_ xx xxx Should become |xx xxx| x xxx x xxx \x xxx x xxx-/ x x x x \-x---x-x-x/ I am happy to write something in Mapbasic if I could figure out the algorithm (but a ready made tool would be better) Hope this makes sense - any and all help is appreciated. Brendan Tagg Coles Myer Ltd. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
RE: [MI-L] Auditing edits made to mapinfo tables.
Rich, I agree with you on this point. MapInfo hasn't been very good at giving feedback to the person entering the problem. I think this is simply because they didn't track that information. They didn't know who send in the bug or feature request. But I also think this is changing. They have implemented a new system for - at least feature requests - where the request is connected to a name and a email address. This should give them the possibility to contact the person who send in the request and even ask for more detail. I must admit that I still need to see that part work ;-) But they seem to be heading in the right direction. When you get a bug reported, you should get a bug number. This can be used to track the bug, not interactively on a web site, but fore instance via email. But you are right. It is a serious problem for MapInfo, if their costumers don't feel that they are heard. Especially as MapInfo keep saying that they want to listen to the costumers. Peter Horsbøll Møller GIS Developer, MTM Geographical Information IT COWI A/S Odensevej 95 DK-5260 Odense S. Denmark Tel +45 6311 4900 Direct +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail [EMAIL PROTECTED] http://www.cowi.dk/gis -Original Message- From: Richard Greenwood [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 11:55 PM To: Peter Horsbøll Møller Cc: mapinfo-l@lists.directionsmag.com Subject: Re: [MI-L] Auditing edits made to mapinfo tables. On 7/5/06, Peter Horsbøll Møller [EMAIL PROTECTED] wrote: Rich, I have to disagree here. Many of the improvemnets that has been made during the last versions of MapInfo Pro have been made because users have asked for them. The best way to make MapInfo aware of you wish is to send the wish to your MapInfo contact person. This may be a MapInfo Partner or a person at MapInfo Corp. For MapInfo Pro wishes I would recommend either Moshe Binyamin for the US region and Tom Probert in the EMEA region. Peter, Thanks for your comments, your positive attitude, and your many help posts to the list. I have used MapInfo Pro since version 3.0 and consider it to be a very good product. Over the years I have run into various bugs and communicated them thru my MI Business Partner, and directly to Moshe B. on a couple occasions. Personally, I have been disapointed with the ressponse I received. I can remember only one occasion in which a bug was fixed mid-release (and this was a bug that I had reported in the previous release). Many projects use Bugzilla which allows users to track the progress of bug fixes, place feature requests, and receive notification upon resolution. It is a far more satisfying experience when a user fells that their input is tracked and respected, rather than having to plead with a reseller (Business Partner) who may or may not fully comprehend your problem, or get a direct dialog with a senior engineer. My point, which may have come off with an overly cynical tone, was that MapInfo has done little encourage my participation in the improvement of their product. Lest I start a flame war, I will leave it at that. Rich -- Richard Greenwood [EMAIL PROTECTED] www.greenwoodmap.com ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
[MI-L] Combine adjacent regions with same attributes
Hi All I have a geology coverage with about 26,000 regions which I would like to simplify. There are about 6,000 instances of small slithers adjacent to larger regions with the same geology code that I would like to be able to combine. In other words if there are two regions with the same geology code that share a common boundary (i.e. more that 1 node) I would like to be able to combine them. Any suggestions Thanks Tom Orr Orr and Associates 4 Wildsoet Street Wongaling Beach QLD 4852 Australia Phone: +61 (0)7 40688692 Fax: +61 (0)7 40689216 Mobile: +61 (0)409 479374 www.orrbodies.com ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
[MI-L] MapBasic Language Definition and program building
Hi ListDoes 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]@! come-ons? Let our SpamGuard protect you.___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
Re: [MI-L] MapBasic Language Definition and program building
On Thu, Jul 06, 2006 at 01:37:14PM +0100, Mike Tonge wrote: Also does anyone know if makefiles are possible with mapbasic code? Yes, and they work great. I use GNU Make with UE and the only time I use the MapBasic editor interactively any more is when I teach a MapBasic class. You do have to get disciplined about naming your source files, because even though Windows is not case-sensitive about file names, Make definitiely is. ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
Re: [MI-L] MapBasic Language Definition and program building
On 6 Jul 2006 at 13:37, Mike Tonge [EMAIL PROTECTED] wrote: Does anyone have a language definition for mapbasic that could be used with ultraedit to provide syntax highlighting? I downloaded a file called mapbasic.txt from somewhere, and the same site also included instructions on how to set it up so you can have all the subroutines functions listed on the right side, and hotkeys for compile, link run. If nobody has the link I can have a look around for it - I remember it took me quite a while to find it last time. Dave ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
RE : [MI-L] MapBasic Language Definition and program building
Title: Message Hi, I sent you an answer, but I forgot a link and the copy to the list... http://www.ultraedit.com/index.php?name=Contentpa=showpagepid=40#wordfiles All the syntax files you need... Robin. -Message d'origine-De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Mike TongeEnvoyé: jeudi 6 juillet 2006 14:37À: MapInfo-L@lists.directionsmag.comObjet: [MI-L] MapBasic Language Definition and program building 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]@! come-ons? Let our SpamGuard protect you. ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
Re: [MI-L] Setting Universal Translator Input and Output Directoris
Hi Doug, If you are regularly translating lots of files, you might want to look at running UT in a non-interactive mode using a Windows script or batch file - you could write a script that when double clicked, automatically translates all the TAB files in a directory to SHP format and places them in another directory - I have pasted a simple batch script that I have written below as an example. MI have published a paper about this which should be available from their website. Batch file - paste the text below into a text file and give it a .bat extension. I have put a blank line between each line and the next to show where new lines should start as email often chops long lines up - they may need rebuilding. Copy the file into a directory with TAB files and double click in it in Explorer (or even create a shortcut to it elsewhere). All the TAB files should be translated into SHP files, placed in a subdirectory called SHP. Hope this is useful, Andrew rem Batch TAB 2 SHP conversion. Copy this file into a directory and run rem Shape files will be created in a subdirectory called SHP rem AH 26/11/04 if not exist .\shp mkdir .\shp for %%i in (*.tab) do ( C:\Program Files\MapInfo\Professional\UT\IMUT.EXE CFGenerate MAPINFO SHAPE ./ UT_trans.fme LOG_STANDARDOUT YES +ID %%~ni C:\Program Files\MapInfo\Professional\UT\IMUT.EXE UT_trans.fme --DestDataset ..\shp\ ) del /q UT_trans.fme pause Doug Wassmer wrote: List: I copied the entire UT subfolder which is located in C-Program Files- MapInfo-Professional by default and placed a copy of it in the target subfolder in “My Documents”. I didn’t know which files necessary and which were not needed, so I copied everything. I then created a desktop shortcut to the IMUTGUI.EXE in this subfolder. The universal translator appears to function normally if MapInfo is also open, but will not function properly if it is not. This was done to reduce the number of file navigation keystrokes in lieu of setting UT to always go to a default subfolder in “My Documents”. Doug Wassmer -Original Message- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Doug Wassmer *Sent:* Monday, July 03, 2006 11:16 AM *To:* mapinfo-l@lists.directionsmag.com *Subject:* [MI-L] Setting Universal Translator Input and Output Directoris Dear List: I want to set up default values so that both the Universal Translator (UT) input file folder and the output file folder are a “My Documents” subfolder on a workstation. My network is set up so that all “My Documents” directories actually reside on a server instead of the workstations so they may be automatically backed up daily using a tape drive. I don’t think that this will be an issue as this setup is seamless and some workstation operators are not even aware of it. We have a work process where frequent aerial pesticide spray applications are planned using MapInfo 7.0. The AgNav avionics units in our airplanes require an ESRI shape file (SHP polygon) input of a planned mission, and they provide a file “snail trail” (SHP polylines) of an airplane’s flight and spray activities. When a mission is set up, the mission planning SHP file is provided to the pilot via a thumb drive and the subsequent mission record SHP file is returned via a thumb drive. I have tried the MapInfo Options/Preferences settings, but I have not found a way for the UT to work in the “My Documents” folder by default. I someone could enlighten me, I would appreciate it. Doug Wassmer Pasco County Mosquito Control Odessa, Florida [EMAIL PROTECTED] __ NOD32 1.1639 (20060703) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l -- Andy Harfoot GeoData Institute University of Southampton Southampton SO17 1BJ Tel: +44 (0)23 8059 2719 Fax: +44 (0)23 8059 2849 www.geodata.soton.ac.uk --- For further information about GeoData's Training Courses, please visit: www.geodata.soton.ac.uk/training --- ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l
[MI-L] disappearing raster images
HI We seem to be having an issue in v8 with disappearing raster images. The rasters have been registered in the same projection; the display within a zoom range feature has been turned off. Images will display some times but not all. At one point I could view the two images overlapping each other but when I go to zoom in they disappear. Even when zooming to entire layer you cannot see the image once it has disappeared. The only way to view again is to reopen in a new map window. It only seems to happen when you want to view two raster images at the same time both images I have been looking at were jpg 3Mb each so size should not be an issue. Has this happened to anyone else? Can you give suggestions as to how to fix? Danielle Kyan Consultant (GIS, Geology) SRK Consulting Lvl 9 300 Adelaide St Brisbane QLD 4000 Tel: +61 7 3832 Fax: +61 7 3832 9330 Mob:+61 4 1896 4409 ___ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l