RE: MI-L Raster analysis

2005-10-18 Thread Jakob Lanstorp
Not to mt knowledge. ERmapper (http://www.ermapper.com/) and Idrisi (http://www.clarklabs.org/) has this functionality among several others. I did make a small tool converting a MI raster image to a vector called r2v, but it is a very simple (and ancient) app, get it under download at

Re: MI-L Stop a running mbx

2005-10-18 Thread Lars V. Nielsen (GisPro)
Hi Doug, Luckily there is a MapBasic commando for this : Terminate Application Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ - Original Message - From: Doug Pease [EMAIL PROTECTED] To: MapInfo-L@lists.directionsmag.com Sent: Tuesday, October 18,

MI-L Réf. : RE: MI-L Importing Census Demographic Info into MapInfo

2005-10-18 Thread christiane . roh
I went there and found : http://www.esribis.com/data/census2000.html, but nothing free. Do you have a link to the free data ? TIA Téléchargez gratuitement Lausanne déchiffrée, 4 pages d'actualité statistique Commandez Lausanne à la carte, le nouvel atlas thématique lausannois Christiane

MI-L TAB Specification

2005-10-18 Thread Morten Nielsen
Hi I was wondering if there is a specification of the binary .TAB/.OBJ/.MAP/etc... files, much like ESRI has an official Shapefile Specification ? I guess I could settle and use the MID/MIF format, but reading and parsing strings is way slower than reading binary. Best regards /Morten

RE: MI-L TAB Specification

2005-10-18 Thread Jakob Lanstorp
Hej Morten, Not of the binary TAB format. Take a look at Uffes description of the DAT file: http://www.routeware.dk/download.php under various. You also have a cracked access to the format with MITAB, I've made several read and write tab applications with the MITAB library. Med venlig hilsen

Re:: MI-L Importing Census Demographic Info into MapInfo

2005-10-18 Thread Nigel James
Hi Akua Our students use US Census data and mapping with MapInfo. I have created a user guide for them (and anyone) which can be found on the Map Room web pages: http://www.bodley.ox.ac.uk/guides/maps/uscensus.htm regards Nigel On Mon, 17 Oct 2005 15:04:30 -0400 [EMAIL PROTECTED] wrote:

Re: MI-L TAB Specification

2005-10-18 Thread Uffe Kousgaard
This document may also be helpful, if you want to read / update certain smaller parts of the TAB file: http://www.routeware.dk/notes.html But if you are into creating from scratch or reading all the objects, go for MITAB library as suggested by Jakob. It is also more up-to-date. Regards Uffe

Re:: MI-L Réf. : RE: MI-L Importing Census Demographic Info into MapInfo

2005-10-18 Thread Nigel James
The boundary files in .shp and .e00 formats are at: http://www.census.gov/geo/www/cob/bdy_files.html Nigel On Tue, 18 Oct 2005 09:10:50 +0200 [EMAIL PROTECTED] wrote: I went there and found : http://www.esribis.com/data/census2000.html, but nothing free. Do you have a link to the free

MI-L Tabbed shape file

2005-10-18 Thread Photogrammetry GIU
Hi I recently had access to a tabbed shape file with the components listed below, which failed to open. A message of Unknown error appeared and then a browser came up. I tracked this down to the fact that the folder the table was in was readonly (it could have been on a CD or URL). 1.

RE: MI-L TAB Specification

2005-10-18 Thread [EMAIL PROTECTED]
Hi Uffe Thanks that is great stuff! I'll look into it. All I need is to read the shape geometries. I already have a nice object model to stuff it into, as well as my own spatial indexes. I'd rather not use the MITAB library. I'm going for having my map-render library in 100% managed .NET

MI-L Sub Procedures within loops?

2005-10-18 Thread Taylor, Zara
Dear List, I have a dialog with a radio button and an OK button - the dialog asks the user if they want to tidy up the labels on a map before saving the image as a jpeg, Yes? Or No? (NB This dialog is within a loop because the code loops through a table of data creating a map for each row.) If

Re: MI-L Tabbed shape file

2005-10-18 Thread bob young
Hi Tony In MapInfo 8.0, if you open up a native SHP file, MapInfo prompts you for a folder for the TAB, MAP and ID file. Therefore these can then be in a seperate folder to the SHP file. They are built on the fly each time you open the TABBED SHP. Your example of a TAB file seems to be missing a

Re: MI-L Tabbed shape file

2005-10-18 Thread Photogrammetry GIU
Photogrammetry GIU 2005-10-18 10:53:51 Thanks Bob I agree that I can open a .shp file and be prompted to locate the folder to dump the MI components into. However it loses all the symbology data and appears in black and white. The TAB file that came with the data contains in the metadata

MI-L Recover data from TDA TMA TIN

2005-10-18 Thread Ahmet Dabanli
Is there any solution to recover data from mapinof temporary files. there is no option from mapinfo, if your machine craches and the temporary files left behind. Actually Mapinfo should have this option. becouse he knows the structure , so can update the data back regards.. Ahmet dabanli

Re: MI-L Tabbed shape file

2005-10-18 Thread bob young
Hi Tony Sorry if I have the wrong end of the stick but I think MapInfo does do what you need now. The knack is to separate the TAB away from the SHP. Say you want your SHP files to be accessed from drive f ( ie READONLY ). Then copy just the TAB files to say c:\SHPFiles\ ( which would be

Re: MI-L Tabbed shape file

2005-10-18 Thread Photogrammetry GIU
Thanks Bob It still does not get round the problem of data from remote sites where if all you can see is .tab showing in the open table dialog, you have no idea if there are shape files behind it unless you always open .tab files with notepad in advance to check! The message of Unknown error or

Re: MI-L Tabbed shape file

2005-10-18 Thread Lars V. Nielsen (GisPro)
Hi Tony, I still believe this is a bug in MI ... It may be a WAD and an irritating implementation, but unless MapInfo has promised otherwise it cannot be a bug. Shape file support is after all not a primary concern - yet. However, I do support your claim for a different implementation

RE: MI-L Raster analysis

2005-10-18 Thread Fernando Mazariegos
There is MapImagery ( www.mapimagery.com ), a free plugin for MapInfo users that provides tools making it easier to use imagery within MapInfo. MapImagery has strong support for working with ECW compressed images and Image Web Server URL images. In addition, MapImagery enables ER Mapper

FW: MI-L Layer Control (bottom/top)

2005-10-18 Thread Lesnik, Phillip S
Let me explain my question a little more. I have about 1,000 tables in a few workspaces. I have to move the lets say 23rd layer to the very bottom (table 980) a number of times per day. I know I can click and drag the layer to the bottom but, with that many layers it takes about 1 min or so

Re: FW: MI-L Layer Control (bottom/top)

2005-10-18 Thread [EMAIL PROTECTED]
Let me explain my question a little more. I have about 1,000 tables in a few workspaces. I have to move the lets say 23rd layer to the very bottom (table 980) a number of times per day. I know I can click and drag the layer to the bottom but, with that many layers it takes about 1 min or so

MI-L Ang. Re: FW: MI-L Layer Control (bottom/top)

2005-10-18 Thread Mats Elfström
Hi All! No, Morten, I would advise against that. A workspace with 1000 layers is not lightly tampered with. Especially if thematic mapping is involved. Remember that a workspace file keeps numbers, not names for each layer, and uses the layer number for the shade (thematic mapping) command.

MI-L Save me from pulling the rest of my hair out

2005-10-18 Thread Terry McDonnell
Hi List It's one of those wish I had another programmer looking over my shoulder problems. I have a table of census domain field names, and associated field captions, for use in a browse or combo, such that the user can understand what the domains are, e.g. HHWITH1CAR goes with Householder

MI-L A problem of too much information?

2005-10-18 Thread Neil Havermale
Indian President A.P.J. Abdul Kalam expressed concern Saturday about a free mapping program from Google (Nasdaq: GOOG) , warning it could help terrorists by providing satellite photos of potential targets. http://www.technewsworld.com/story/46767.html?u=neilh_1p=ENNSS_7adf87c1

RE: MI-L Save me from pulling the rest of my hair out

2005-10-18 Thread Warner, Dan
What is the line right before the FETCH NEXT doing? This is the only part that looked strange to me. I've used arrays of types in a similar manner before without problems. -Original Message- From: Terry McDonnell [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 11:13 AM To:

FW: MI-L Save me from pulling the rest of my hair out

2005-10-18 Thread Terry McDonnell
Greg DOH!!! That's what I get for cutting and pasting code from a similar loop that gets the names of all the AP files that exist into an array. Thanks a lot, as usual. This is the sort of thing one notices when one walks a colleague through the code but can have one going gozzy trying to

MI-L MAPBASIC : How to delete a single row in a multi rows table ?

2005-10-18 Thread E. BONTE
I wan't to delete - under mapbasic - a query (one or more rows) resulting from a SQL select in a table. How to do it ? Thanks, -- Éric BONTE - List hosting

MI-L Importing MIF files

2005-10-18 Thread Ali Zolfaghari
Hi list, I am trying to import a mif file into mapinfo, but first I am learning on how to create my mif file. Following is an example of some of beginning lines of a mif file. Can anyone describe me what exactly line 4 means, line stariting with CoordSys...? The projection is British National

MI-L Passing arrays into C++ DLL function (and back)

2005-10-18 Thread Jorge Gil
Hi List, I'm having trouble with passing arrays as reference from MapBasic into a C++ DLL. Simple variables like integer, float and string work fine and can be passed, altered and returned. I can also pass arrays of integers and floats as reference to change them. However I'm having trouble with

RE: MI-L A problem of too much information?

2005-10-18 Thread Colin Henderson
Or expose things countries would rather keep to themselves ;-) -Original Message- From: Neil Havermale [mailto:[EMAIL PROTECTED] Sent: 18 October 2005 16:20 To: [EMAIL PROTECTED] Subject: MI-L A problem of too much information? Indian President A.P.J. Abdul Kalam expressed concern

Re: MI-L MAPBASIC : How to delete a single row in a multi rows table ?

2005-10-18 Thread Uffe Kousgaard
From: E. BONTE [EMAIL PROTECTED] I wan't to delete - under mapbasic - a query (one or more rows) resulting from a SQL select in a table. Like this: Select * from mytable where .. into query1 delete from query1 Kind regards Uffe Kousgaard www.routeware.dk

MI-L SUM: Stop a running mbx

2005-10-18 Thread Doug Pease
Listers, Thanks to all and as I suspected the answer to my question was a very simple two word command: the mapbasic command Terminate Application. Makes me look pretty stupid when I thought Id seached the help pretty thoroughly. Thanks again. Doug Pease GIS Officer Livingstone Shire

RE: MI-L MAPBASIC : How to delete a single row in a multi rows table ?

2005-10-18 Thread Jakob Lanstorp
Delete From MyQuery will delete both the query and the query relation to the base table, or delete by row id: Delete From MyQuery Where Rowid = ARowID HTH, Jakob Lanstorp Software Consultant Geographical Information IT COWI A/S Odensevej 95 DK-5260 Odense S Tel +45 6311 4900 Fax +45

Re: MI-L smallest enclosing rectangular box

2005-10-18 Thread Phil Waight
An approximate but fast method might be (havent tried it): 1.. Determine principal axes of region. (fast to calculate in c) 2.. Rotate region to align PA with X-Y axes. 3.. Determine MBR of rotated region. 4.. Rotate MBR back to original location. This will work well on shapes with clear

Re: MI-L smallest enclosing rectangular box

2005-10-18 Thread nicholas . g . lawrence
A twist on this question. Is there a way of calculating the maximum internal rectangle? That is, the largest rectangle (of any angle) that fits inside a polygon. Such a thing would be useful as a text box for labelling. nick

Re: MI-L smallest enclosing rectangular box

2005-10-18 Thread Phil Waight
Nick, The max. radius contained circle can be found. Its centre is the visual centroid. A method that I'm interested in following up sometime is mentioned here in note 4: http://www.spatialprojects.com.au/spatialsql_centroids.htm The principal axes are located at the geometric centroid which