RE: MI-L Labelling contours

2003-12-15 Thread Simmonds, Ashley (PTB)
or you could put the expression in the label itself... Left$(VALUE, Len(VALUE)*Int(VALUE mod 5=0)) simply put, the expression on the right side of the Left$ function will multiply the Length of the VALUE string by 1 if the expression is TRUE, otherwise by 0 if it

RE: MI-L Labelling contours

2003-12-15 Thread Upinder Mutti
Thanks robert That's exactly what I needed. Upinder -Original Message- From: Robert Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 December 2003 12:31 PM To: Upinder Mutti Cc: MapInfo List Subject: Re: MI-L Labelling contours You could select the contours where value mod 5 = 0

RE: MI-L uncluttering labels

2003-12-15 Thread Simmonds, Ashley (PTB)
found this... http://www.evermap.com/evername.htm might be useful. shareware i think -Original Message- From: Simmonds, Ashley (PTB) [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 December 2003 12:11 PM To: [EMAIL PROTECTED] Subject: RE: MI-L uncluttering labels (renamed thread so as to

RE: MI-L uncluttering labels

2003-12-15 Thread Simmonds, Ashley (PTB)
(renamed thread so as to not confuserate them) i've been thinking of making something like this, got all the ideas in place, and should be relatively straight-forward, but just haven't had the time yet. of course, i'd be doing it in visual basic, so it would require someone else with MB to compil

Re: MI-L Labelling contours

2003-12-15 Thread Robert Crossley
You could select the contours where value mod 5 = 0 Into IndexContours Then add that query to your map. You can then use a different colour for that layer as well as label them. There was a cool trick that imitated the IIF function of VB using a true/false and integer division on the list a w

Re: MI-L Application Window Position with 2 Monitors? (Resend)

2003-12-15 Thread Trey Pattillo
Below is the MB Source that will get the number of monitors, screen width, system font size [small=96px large=120px] For some cards, especially nVidia MX series there is a flaw in 'doze where it will report only one monitor of a dual head card and then 'doze will only use a *big desktop* This appe

RE: MI-L Labelling contours and streets

2003-12-15 Thread Ross Charles Johnson
Seasons greetings to all fellow GIS people... Further to Upinder query, i am seeking a decent *.mbx to label street segments in MapInfo. I am unsure if this has been covered before. The standard labelling in MapInfo Pro version 6.0 is OK but misses labels if you disable the overlapping option.

MI-L Labelling contours

2003-12-15 Thread Upinder Mutti
Hi all Mometarily experiencing a brain freeze. Is there a good way (expression) for labelling contours in MI? I have 1m contour table with a "value" field representing the height of the contours. I want to put a label on every fifth contour so the contours are labelled every 5 meters.its so

Re: MI-L Application Window Position with 2 Monitors? (Resend)

2003-12-15 Thread Matt Bolton
Scott, I know how to do it in VB, but that won't help you. I'm pretty confident there's an API call you can use for it, but I can't tell you what it is and have no experience using APIs in Mapbasic. Have a look at http://www.mentalis.org/apilist/GetSystemMetrics.shtml. I think this only returns va

MI-L Simulating Info tool...

2003-12-15 Thread rugo
Hi List, I want to simulate Info Tool because when I click on object I want to make that object visualise (selected) to see which object is the info related to. So first I get x,y where I clicked then with Searchinfo I get tabname and recnum With these info I do the following: ' * reparent Info

Re: MI-L Wrong RowIDs

2003-12-15 Thread Uffe Kousgaard
Try to add "fetch last from mytable" before calling Eval. This is from mapbasic help file for the fetch command: Various MapInfo and MapBasic operations (e.g. Select, Update, and screen redraws) automatically reset the current row. Accordingly, Fetch statements should be issued just before any sta

MI-L Wrong RowIDs

2003-12-15 Thread Fabio Cabella
Hi All, I'm adding some graphical objects into a table. For each I store the RowID so I can remove those objects. I do something like this: Do "Insert Into myTable(Obj) values(CreatePoint(_lat_, _long_))" I use Eval "myTable.RowID" to retrive the new insetred rowID. If I insert only points I

Re: MI-L Converting raster to grid

2003-12-15 Thread Stefan Majtan
Hello, Grid Analyser is able to import Windows BMP to MapInfo grid file. It is able to extract an individual paramaters of RGB, HSV and CMYK color values from Bitmap image. So you can use Grid Analyser (www.terris.sk), if you transfer your JPEG to BMP. And now some words to your problem. Not s

RE: MI-L MapInfo features.

2003-12-15 Thread Peter Horsbøll Møller
Hi Willie, Here are some answers: >> vector data in the same layer have different colors based on a field. You can use the Create Thematic Map to show vektor data with different colors. You'll find this in the Map menu. >> I found the snap tool but I still have to redigitize the common line bet