RE: MI coordsys transformation

1999-07-14 Thread Jacques Paris

Walter,

Have you considered using the AFFINE clause that could register any DXF in
any "orthogonallly projected" or non-earth coordsys? The only delicate point
is the calculation of the 6 parameters, difficulty residing essentially in
the understanding of the direction of the change.

I have detailled that question in chap 8 Registering a DXF map in "My Bag
o'Tricks". I must have some Excel spreadsheet that would help in the
computation of those parameters; if you think it could be of help, ask and
I'll see what I can do.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://www.total.net/~rparis/gisproducts.htm


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
 Sent: July 14, 1999 3:15 AM
 To: [EMAIL PROTECTED]
 Subject: MI coordsys transformation



 Hello mappers,
 Are there some experts on coordsys transformations out there? In
 the field Arheologists often work with a local coordsystem
 (nonearth meters). During the gis analysis we want to place all
 the information in an national non-earth(meters)coordsys.
 Until now I used Rotator from the ftp-site. This works very
 well, but I need to determine the angle of rotation and the
 X, Y translation parameters. I think, it would be better to
 digitize the excavation drawings directly in the
 national nonearth coordsys by using control points from which
 the national coordsys coordinates are used
 (there are always points in the field from which both coordsys
 coordinates are known).

 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


 --
 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 : text to label (attribute)

1999-07-15 Thread Jacques Paris

Sometime ago, someone asked for a way to transform texts (in text objects)
into attributes of the regions in which they are located. I noticed the
request but did not register the message.

That query made its way in my mind and I developped an application TXT2ATTR
that is somewhat more sophisticated than the GET_TXT available on the "oh so
beautifully updated" mapinfo-l ftp site.

If anyone is willing to test it in real situations and to tell me how to
improve its functionalities, I am ready to set him a prerelease copy. The
offer is good until Aug 3 when I turn off for an extended holiday.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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]



RE: MI Selecting using object type in an assorted table

1999-07-15 Thread Jacques Paris




Andrew,

The 
following respects the required syntax for MapBasic window and SQL requester. If 
you are programming in MB, you could replace (obj,1) by 
(obj,obj_info_type)

select 
* from table1 where val(objectinfo(obj,1))=1 into selection

object 
types are 

1 
(arc) 2 (ellipse/circle) 3 (line) 4 (polyline) 5 (point) 6 (layout fframe) 7 
region) 8 (rectangle) 9 (rounded rect) 10 (text)

Jacques 
Parise-mail 
[EMAIL PROTECTED] 
 alternate [EMAIL PROTECTED]

gis activity (MapInfo 
mainly) http://www.total.net/~rparis/gisproducts.htm

-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
Behalf Of AndySent: July 15, 1999 6:59 AMTo: 
mapinfo mailing listSubject: MI Selecting using object type in an 
assorted table
Imagine a table holding points, polylines and 
regions (polygons in the real world). Is there a one-stop method for sql 
selecting all the points, or all the lines etc..

I can do it in a two-stop method; as 
below;

Select id, obj from table1 into Selection
Browse * From Selection

and then;

Select id from table1 into Selection
Where table1.Object = Point
Browse * From Selection

A free rude joke (from Chad) to anyone who can come up with an 
answer

regards,
Andrew Bailey



MI : window size dependency(2)

1999-07-15 Thread Jacques Paris




Thanks 
to all that have answer me, but because I was not clear enough, most answers 
were off target.

The 
situation is very simple. When in MapInfo (I am not talking about programming) 
if one chooses to maximize a window and then uses the window menu item to go 
through all the open windows, they are all displayed MAXIMIZED. 


If he 
chooses minimize or intermediate size, all the windows take that state (icons or 
as defined previously to MAX for each one).

However, if a table of the pile is closed, nothing changes, even if it 
was the one that was used for the original MAX.

In a 
MapBasic application, I got a similar situation. The program generates a table 
MAX then closes it. I had a MBwindow open at the time; after the job, the BMW 
remained MAX.

There 
may be ways to correct that with some programming (I do not even know if it is 
worth the effort) in the case of an MB application, but I am concern by the 
behaviour in the MI context.

Is that 
a works as designed? Can it be prevented?

I am 
rather late at coming aware of it; I was never bugged by it until this week, and 
it had been there all that time (I checked back to 4.5 for 
fun!)

Thanks 
again 

Jacques 
Parise-mail 
[EMAIL PROTECTED] 
 alternate [EMAIL PROTECTED]

gis activity (MapInfo 
mainly) http://www.total.net/~rparis/gisproducts.htm


RE: MI : window size dependency(2)

1999-07-16 Thread Jacques Paris

Thanks to Trey Pattillo [[EMAIL PROTECTED]], I understand now that the global
maximization of windows open in MI is more a Windows feature than anything
else. I quote his explanation : "This is the behavior of the Multiple
Document Interface [child windows] that can be duplicated by any application
that allows opening multiple documents, such as M$ Word etc."

This would explain other behaviours like the "de"maximization of a mapper
when you open a browser.

When working directly in the MI window, the only way to regain original
window sizes is to click on the "intermediate" icon at the upper right
corner. One click is enough, no matter how many windows are open.

In MapBasic, the way I found is first to check if any window is open
if numwindows()0 then
restore the front window to its non-max size, all the other windows should
follow
set window frontwindow() restore

I hope that the subject is now closed, but who knows?

Thanks to contributors and commentators.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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]



RE: MI Decreasing Raster Image Resolution

1999-07-19 Thread Jacques Paris

Charles,

By pixel coordinates, one should understand the pixel positions (row, column
from the upper left corner). This technique assumes that registration points
keep the same (geographic) coordinates but refer to new positions in the
pixel space through a "scaling" factor (in your example 0.5).

One should be aware that the results (i.e. the adjustment of the image to
the map, measured by the average errorof the fit) may be less good that
before because of the roundings that may occur in the scaling operation of
the pixel coordinates. And that does take into account the added lack of
precision of the image itself, resulting from identical rounding/averaging
operations in the change of definition.

All together, it is not a recommandable operation if anyone is concerned
with precision. But if it is just for having a less bulky map background,
why not.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://www.total.net/~rparis/gisproducts.htm


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Charles Huyck
 Sent: July 19, 1999 3:06 PM
 To: [EMAIL PROTECTED]
 Subject: RE: MI Decreasing Raster Image Resolution




 If you decrease the size of an image in a separate program by, say, 50%,
 you might be able to open the .tab in a text editor and multiply all the
 pixel coordinates by 0.5. Of course, make back-ups and check your work in
 the registration dialog.


 --
 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: language identification

1999-07-20 Thread Jacques Paris

I am looking for a way for a MapBasic application to recognize the language
used by MI (How many are they incidentally?). This is most important for the
portability of tools on the various MI language versions.

It could be a command, such as systeminfo(), or some key wording of any
command that would reveal unmistakably the language, on the condition that
it could be run before installing the application.

I am sure that many would appreciate increased access to "multi-lingual"
applications, but some prior knowledge is required.

Thanks in advance to you all.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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 : SUM : language identification.

1999-07-22 Thread Jacques Paris

(this was one of the last night "white" messages as I do not know if they
will reposted automatically)

This query generated several answers and pinpointed several questions.

1 - First, WHY?
2 - Then, HOW?
3 - Next, that implies  that the application is compatible with any language
version of MI.

1 - The reason is to be able to display menus, requesters... of an
application in the same language as used in the MapInfo window without any
user's input.

2 - There is no built-in function, key-word,.. in MI that permits to find
the language of the open version. I stress that the query related to the
language MI and not in WINDOWS. One can run any kind of MI language version
on any regional/international setup of Windows. Some suggestions were
platform dependent to a certain extent (NT or win98 ...).
conclusion : ziltch

3 - Multilingual compatibility has 2 dimensions : providing menu,
requesters... in different languages is only part of the problem. Even if it
is a uniligual application, it should be compatible with "foreign" versions.

For that, one should never use in his code any litteral calls to menus ...
but only numeric  IDs. As I am not too sure of the extents of the different
translations, I would recommand to use numeric codes for everything that is
found in the MNU and DEF system files.


I did not like that totally null answer to 2- . For my own satisfaction, I
have written a short function that returns ENG, FRA, GER and UNK based on
the first 10 characters of the name of the menu created by the first "create
menu" present in the MAPINFOW.MNU file. (It is the e-mail send menu).
Restriction : it applies only to version 4 of the MNU file. I am pretty sure
that version changes could be accomodated by reading it in the file header.

I can provide it to anyone who is interested. I would also like to add to
those languages any other one at the condition that I am provided with
either the MNU file or the first 10 characters as described above. Let us
make shrink the domain of the UNK (incidentally, it stands not for UNited
Kingdom).

Thanks for everybody's help and the stimulation that I received from their
mail and interest.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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 : mnu files

1999-07-23 Thread Jacques Paris

I would appreciate if anyone who has a MI version in a language other than
English, French or German, would send me the following info that would help
me write the most complete function for detecting the language of the MI
version in use.

the full mapinfow.mnu file. It should be for a version of MI 4.0 or up

or

the first few lines of that mapinfow.mnu file that should include the first
"Create Menu" in its entirety.

With all my thanks.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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 : menu versions

1999-07-23 Thread Jacques Paris

WARNING : there are inconsistencies in the version numbering of MI ancillary
files. I have just become aware of it while writing a function that
identifies the language of MI menus. Here is a comparison of headers and
sizes for the last four more significant versions.

When should a new file reflect that it is a new version?

I find MI practice in this field rather "loose" and potentially misleading.

Version 4.12
Mapinfow.mnu'** MapInfo version 4.0 menu and buttonpad defintions (27315 b)
menu.def' MapInfo version 4.0 - Menu Item Definitions (13467 b)

Version 4.5
Mapinfow.mnu'** MapInfo version 4.0 menu and buttonpad defintions (27816
b)
menu.def' MapInfo version 4.0 - Menu Item Definitions (13557 b)

Version 5.0
Mapinfow.mnu'** MapInfo version 4.0 menu and buttonpad defintions (30012 b)
menu.def' MapInfo version 5.0 - Menu Item Definitions (14008 b)

Version 5.5
Mapinfow.mnu'** MapInfo version 4.0 menu and buttonpad defintions (32075
b)
menu.def' MapInfo version 5.0 - Menu Item Definitions (14008 b)

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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 : mnu files, follow up

1999-07-26 Thread Jacques Paris

Following my request for MAPINFOW.MNU in "foreign" languages, I have already
received the following:
French, German, Spanish, Danish, Dutch, Japanese and Korean

I wanted you to be aware of it so that you would not send me one I already
have, and that you may be inticed in mailing me one that is not on the list.

The function I have written to find the language used by MI seems to perform
ok on almost all these languages, but test results are not all in yet. I
will keep you posted when that phase is concluded.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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 : handling special characters

1999-07-29 Thread Jacques Paris

I really need some help to try understanding the following "behaviour":

I open in word (or wordpad) a .mnu file written in some foreign language
using some special characters. I copy a short string that I paste in a MB
program as a key string.

If I print that string to a file, it appears the same.

If I print it to the message window, some characters are changed.

When I make some string recognition (any same length string from the same
mnu file compared with the "key" string) it does not work until I change the
characters in the key string to what they look like in the window message.

I did that with polish : e.g. the "fused oe" must be replaced by "pound
sign". I have not ventured into other languages yet, I do not want to tackle
some "impossible" task.

My question is thus simple : Is it possible that MI has an "internal"
character map that would be different from windows? And what would it be?

All that experience was gained with MI5.5 under Windows 95 with a
North-American setting.

If anyone can enlight me, I would be so happy. TIA.

Jacques Paris

e-mail[EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
  http://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]



RE: MI use of Alias variables

1999-10-31 Thread Jacques Paris



My 
best understanding/explanation is that "TableName.obj" refers to a column and 
not to a single specific object. The alias will get the value of that column for 
a specific object (=row). As some functions return information about one 
specific object, the alias is the only way to have the function perform its 
task.

But do 
not push me any further on the theory of "alias" and its applications, that is 
all I could come up with.


Jacques 
Parise-mail 
alternate [EMAIL PROTECTED] 
[EMAIL PROTECTED]paris PC Consult (mainly MapInfo 
app.) www.total.net/~rparis/gisproducts.htm 


  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Jack WierzchowskiSent: October 31, 1999 3:22 
  PMTo: [EMAIL PROTECTED]Subject: MI use of Alias 
  variables
  
  
  Hi All,
  Can someone explain why one has to use alias 
  variables in the simple snippet below to make it work? When I tried to use 
  :
  start_x = CentroidX (sTableName.obj)
  start_y = CentroidY(sTableName.obj)
  the program generates error messages.
  Thanks
  Jack
  Here is the snippet:
  Dim start_x, start_y As Float
  Dim a as Alias
  Dim b as Alias
  Dim nrows, crows as smallint
  Dim szFullTableName, sTableName as String
  szFullTableName = FileOpenDlg("","","TAB","Open 
  Table with Point Objects") 
  Open Table szFullTableName
  sTableName = PathToTableName$(szFullTableName)
  crows=1
  nrows = TableInfo(sTableName, TAB_INFO_NROWS)
  
  Do While (crows = nrows)
  Fetch Rec crows From sTableName
  a = sTableName + ".obj"
  start_x = CentroidX (a)
  start_y = CentroidY(a)
  ' this code 
works


RE: MI Run Menu Command/icon in a dialog

1999-01-02 Thread Jacques Paris

From: [EMAIL PROTECTED]
Sent: November 4, 1999 2:23 AM
Subject: MI Run Menu Command/icon in a dialog
...
1) I would like to launch automatically the ¨Map/Create Thematic Map¨ from
MapBasic. I have tried
Run Menu Command 307
but it doesn´t work.
Any idea?
...

You have to use the sequence
Run Menu Command 476'to define "shade" parameters
Run Menu Command 477'to set the legend

you can then modify it by
Run Menu Command 466'to "set" the shade
Run Menu Command 477'to set the legend

Jacques Paris

e-mailalternate
 [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]



RE: MI Adding projections

1999-01-16 Thread Jacques Paris



-Original Message-
[mailto:[EMAIL PROTECTED]]On Behalf Of Bacon, Gilles(IBK-NY)
Sent: November 17, 1999 8:26 PM
Subject: MI Adding projections

I'm trying to add projections which were not included with MapInfo:

Lambert's Equal Area (for Continental U.S., not polar Azimuthal)
Azimuthal Equidistant (for Europe, not polar)

Does anyone have any experience with this?  Any help would be appreciated.

Gilles Bacon
Merrill Lynch Graphics



I have had the same challenge with Lambert's Equal Area for the Baltic
region when trying to exploit the data of the GRIDA center. Mats Elfström
who had alkready converted some sets for MapInfo had to use a projection
that approximated the original one but that does not give a particularly
good fit with the reality in the outlying areas.

It is something that is coded in MapInfo, and as long as they do not inlude
a new "equation" in the program, we will be unable to use it. May be some
external programs could make the conversion on the fly? I gave up before
finding anything interesting.

Would like to know if there is a solution.

Jacques Paris

e-mailalternate
 [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]



RE: MI Problem discovered w/Bounds Clause

1999-01-17 Thread Jacques Paris

I can only repeat what I have written here already but maybe too long ago.
The cosmetic layer is in the MapInfo default "projection" : lon/lat in
degrees not bounded. (see the discussion on internal precision way back) And
there is nothing to do about it.

Steve's advice not to use the cosmetic layer as a way to transfer/manipulate
graphic objects in situations other than unbounded lon-lat is perfectly
sound. But it may arrive too late (even when I found that 2/3 years back it
was too late) because some mbx utilities dealing with editing/ manipulating
graphic objects commercially or freely available have been built around the
use of the cosmetic layer to hold temporary objects.

I am not even sure that an object copied from a "projected" layer onto the
cosmetic layer and back to the original layer will be purely identical to
itself in all circumstances; one must consider the roundings that occur when
converting between coordinate systems.

To those using such utilities, I would advise them to have them checked at
least on the specific point of using the cosmetic layer if they work on maps
that require higher than default precision.

I take that opportunity to extend a warning not to place in the same mapper
layers with different bounding clauses (they may have the same "precision"
as expressed by the "widths" of the bounds but different bound values, or
origins if you prefer); if you do it, when working with graphic objects, you
may have lots of small problems, like slivers.., because of the lack of
coincidence of the internal coordinate grids.

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steve Wallace
Sent: November 18, 1999 7:46 PM
To: MapInfo-L
Subject: MI Problem discovered w/Bounds Clause


Something that might interest those of you who use the MapInfo "Bounds"
clause to increase the precision of your maps -- don't use the Cosmetic
Layer to transfer data around. I had been wondering why some of my
points/lines would move around from time to time. The distances were very
small, to the point where some might argue, "Why does it matter?" But the
problem is, the Object Processing notices these small differences, leaving
you will all kinds of unwanted spikes and slivers when you split or erase
objects.

The problem is that I, like many of you, use the Cosmetic Layer when
editing maps. In fact, when I first noticed the problem was going through
the prescribed method taught by MapInfo for fixing self-intersecting
polygon errors flagged by MapCheck. When I copied a string of nodes from my
bounded map to the cosmetic layer, then transformed to a region and went
back to process this against my original, the region in the cosmetic layer
was slightly offset from the original.

This is because the Cosmetic Layer is unbounded -- you lose any increased
precision from your bounded objects when you paste them info the cosmetic
layer.

WORK-AROUND: If you work with bounded data, create a blank layer with the
same bounds clause and use it like you would your cosmetic layer when you
need to put/process objects in a temporary layer.

This certainly explains why I have so many unwanted artifacts in my maps...



Steve Wallace
GIS  Market Information Manager
Florida Farm Bureau Insurance Companies

--
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 Problem with data types

1999-11-26 Thread Jacques Paris



You 
made me discover an "interesting" feature with your query. It seems that the 
truncation of decimals occurs with the VAL() function. It is what I 
did


dim a a string
a=123.45678
print val(a) 
result 123.457
print 
format$(val(a),"#.#") 
result123.457
dim i as float
i=123.45678
print 
format$(i,"#.#") result 
 123.45678
Any 
confirmation from the higher ones?
Jacques 
Parise-mail 
alternate [EMAIL PROTECTED] 
[EMAIL PROTECTED]paris PC Consult (mainly MapInfo 
app.) www.total.net/~rparis/gisproducts.htm 


  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Giorgio PortaSent: November 26, 1999 3:51 
  AMTo: [EMAIL PROTECTED]Subject: MI Problem with data 
  types
  
  Hi to 
  All,
  I would like to 
  know, if anyone has ever used the decimal data type (for example Dim num As 
  Decimal...)
  When trying to 
  recover the number corresponding to the string in an 
  edittext,using the Val() function i have this 
  problem:
  
  Ex: num = 
  12345.6789 Val (num) = 
  12345.68
  
  How can i recover 
  the effective num without loosing the decimals ?
  
  Thank you in 
  advanced to all
  
  
  Giorgio Porta
  
  DOMINO Research S.r.l.
  Via Alserio 10 20159 Milano
  Tel +39 02 69006705
  e-mail [EMAIL PROTECTED]
  


RE: MI Mi: Large Access tables

1999-12-01 Thread Jacques Paris

A confirmation of that. We have been working with DBF tables with 41+
records without any problems and with appreciable speed. But I have not used
Access in this context.


Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of ANDREW MCMILLAN
Sent: December 1, 1999 8:42 AM
To: Sprenz, Martin; 'Markus Lindner'; '[EMAIL PROTECTED]'
Subject: RE: MI Mi: Large Access tables


I agree I've come accross this problem many times with
large tables (150,000+ records). A way around the
problem wounld be to export the table from MS Access
as a dBASE (*.DBF)format and then import into MapInfo.
 For some reason MapInfo handles DBF formats much
better.  Hope this helps.
ANDREW MCMILLAN

--- "Sprenz, Martin" [EMAIL PROTECTED]
wrote:
 I'm having the same problem with a fraction less
 records but a lot of
 fields.  I hope someone has a solution to this
 problem.

   -Original Message-
   From:   Markus Lindner
   Sent:   November 30, 1999 10:08
   To: '[EMAIL PROTECTED]'
   Subject:MI Mi: Large Access tables

   Hello List,

   I have a problem in registering large access
 databases. I
 want to
   register access tables as a mapinfo table which
 have more
 than 40
   rows, and always end up in the message (translated
 from
 german):

   Microsoft Acess error. Not enough memory. Unable
 to register
 table
   xyz.tab

   The task manager does not show any usage of memory
 during
 this command,
   i am working with a pII, 266 128MB Memory plus 128
 paging,
 disk is not
   full (ca. 1gb free)

   Smaller tables up to 10 rows work.

   I tried Mapinfo 4.5 4.5.2 5.0 and 5.5


   Is this a known problem?

   Any hints are welcome,
   best regards,

   Markus

   --
   Markus Lindner  CISS TDI
 GmbH
   Tel. +49 2642 97 80 0
 Barbarossastrasse 36
   Fax. +49 2642 97 80 10  53489
 Sinzig,
 Germany
   mailto:[EMAIL PROTECTED]
 http://www.ciss.de/


--
   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]



=
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`
Andrew McMillan   ,,,  (905)433-1456(W)
GeoSolutions-Bell Canada /'^'\ (905)985-3518(H)
Oshawa, ON, Canada  ( o o )(905)259-3515(C)
oOOO--(_)--OOOo---
___
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca
--
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 Looking for Nearest Object Distance Functions

2000-01-02 Thread Jacques Paris

In the mbx SLOPESTI (slope estimator), I try to find out the value and the
direction of the slope at any specified point of a contour map. I use a "32
spoke wheel" that allows me to find out the nearest intersections with the
contour lines. Then I look for the shortest distance along the 16 directions
between intersection points.

There are several possible situations : a - both points are on successive
contour line (that is good, and computations can be carried out), b - they
are on the same contour line (something like in a trough, no answer; one
could imagine seeing if there is another pair on intersection points and
what would be its condition, I did not go that far.), c - there is only one
intersection point, the "wheel" not intersecting any other contour (due to
the the length of the spokes, and that could be changed, or the proximity to
the edge of the map; the single point can then be used as an approximation
in the computations).

Slopesti is available on our site.

Jacques Paris

e-mail  alternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

- Original Message -
From: Stephen R. Riese [EMAIL PROTECTED]
To: MapInfo [EMAIL PROTECTED]
Sent: Friday, December 31, 1999 9:01 PM
Subject: MI Looking for Nearest Object Distance Functions

 Greetings,

 I'm new to MapInfo/MapBasic and this list server.  I'm looking for a
 function that will return the distance from a given point to the nearest
 object of a certain type.  For example, from point (x, y) to the nearest
 house (point object), road or river (linear object) or nearest forrest
 (area object).  All of the functions I've come across give the distance
 between two known points.  I need to find the closest object  first (e.g.,
 which house or river is closest -- hard to do) and then determine the
 distance (easy to do).

 Is there some way to avoid an exhaustive search?  I need to make tens of
 thousands of these calculations, each one selecting the nearest of up to
 hundreds of similar objects.  In addition, each linear and area object are
 defined by two or more points.  I assume I'll need to determine which
point
 within each of these objects is closest to the known (x, y) point.

 Thanks for any help you can provide and Happy New Year!

 [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]



RE (partial): MI Scales and north arrows

2000-01-07 Thread Jacques Paris



-Original Message-
Subject: MI Scales and north arrows

I was wondering if anyone knows of any scale bars that are available that
has
a "meter" option available?

---

Look into LAYSCALE on our site (see below)

Jacques Paris

e-mailalternate
 [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 DDE time out

2000-01-13 Thread Jacques Paris

We encountered on one application (MBX + VB) a DDE time out error in the
following setup : Windows95, MI4.5/5.5

This would occur after some "activity" with other programs, like office. The
only way we found out for getting rid of it would be to restart Windows.

It does not seem to be MapInfo fault, but Windows. Ex.: starting with a
"cold" machine, running the application, no problem. Opening and working
with Word, running the application, DDE time out.

Could anyone confirm that trouble/remedy? Would it also happen with
Windows98, NT ...?

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]



RE: MIF files

2000-01-14 Thread Jacques Paris

There are some know "backward incompatibilities" between some MIF versions.
They are not detectable by the "version" itself that is not displayed in the
MIF file. But if they are generated by some of the latest MI versions, that
can contain some statements that are not truly compatible with older MI.

Two examples : the presence of bounds in the coord sys clause; the use on
some new key words or parameters in style clauses.

That may be "known" but it is not recorded/documented in a systematic way.

But Spencer is totally right, "we of the list" cannot do anything without
specifics, but there I disagree with him, something can be done if the
necessary info is available.

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 RE:

2000-01-19 Thread Jacques Paris

SKIMALL is available for download from the shareware section of our site

 www.total.net/~rparis/gisproducts.htm

It does just that with lots of choices in the definition of what should be
considered "identical" records/objects

Jacques Paris

e-mail  alternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of 52
Sent: January 19, 2000 5:45 AM
To: [EMAIL PROTECTED]
Subject:


Hello, list
  I'm using MapInfo v.5.0.1, and have huge vegetation map of about
  20.000 polygons. Somehow it appeared that there are a lot of
  duplicated ones. How could i get rid of them? May there could be
  written some script cause, as i understand, amount of duplicates is
  terrible.
  Thanx in advance

  Sim
  GIS Department, Biodiversity conservation center, Russia


--
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 ? regarding font editors to edit mapinfo's map symbols a truetypefont

2000-01-25 Thread Jacques Paris

I have used SOFTY with satisfactory results (for me at least)

http:/home.iclweb/com/icl1/d.w.emmett.

There is a shareware version if you want to try it.

Jacques Paris

e-mail  alternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: January 25, 2000 11:45 AM
To: [EMAIL PROTECTED]
Subject: MI ? regarding font editors to edit mapinfo's map symbols a
truetypefont


I am posting a question pertaining to a font editor out there that will
enable me to edit/add symbols to mapinfo's map symbols true type fonts. I
have been emailing a tech support rep. who has mentioned fontographer as
being a font editor. I have not been able to locate the package. Is anyone
familar with it and if so where can I find a copy of it on the web or in
stores? Also, are there any other font editing programs out there that will
enable me to edit true type fonts.

Thanks,

Darrell Adler
PetroVision Inc.
[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 Tweaking the registry

2000-01-28 Thread Jacques Paris

By simply printing out the MI registry with the MS Registry Editor
immediately after installation, I have extracted some more dwords. Here
there are in context, some are self explanatory but the others need some
mind tweaking.

[HKEY_LOCAL_MACHINE\Software\MapInfo\MapInfo\Professional]
"Version"=dword:0226
"Level"=dword:00c8

[HKEY_LOCAL_MACHINE\Software\MapInfo\MapInfo\Professional\tools\10067]
"Title"="Table Manager"
"Autoload"=dword:   [off]

[HKEY_LOCAL_MACHINE\Software\MapInfo\MapInfo\Professional\tools\11191]
"Title"="Universal Translator"
"Autoload"=dword:0001   [on]

[HKEY_LOCAL_MACHINE\Software\MapInfo\MapInfo\Common]
"MaxLevel"=dword:00c8

[HKEY_LOCAL_MACHINE\Software\MapInfo\MapBasic]
"Version"=dword:0226[550]

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]



RE: MI A Question for Surveyors

2000-01-20 Thread Jacques Paris

I will pick one small detail that may have sad consequences in the
application of zoning by-laws. If Matts says

 "... But the house you build will not get bigger unless you make the
floors sloping as well.

I may add that it may even "grow smaller" if setbacks (imposed minimum
distances from lot lines) are applied with the same principles.

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: Splash Screen and command line

2000-02-04 Thread Jacques Paris

I do remember that it is possible to avoid showing the opening splash screen
by adding "-nosplash" (without the quotes) in the command line launching MI.

I know that one can launch applications or workspaces by adding them to the
command line (no -, no ", but full paths).

But is there some documentation that will list and explain other possible
components of the command line? (other -keywords)

TIA

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kenneth Laas
Sent: February 3, 2000 2:50 PM
To: MapInfo List
Subject: MI Slash Screen


Hello readers,
I remember seeing something about being able to change MapInfo's
start-up splash screen to a customized BMP, something like a company
logo.  I feel kind of stupid asking this simple question, but I cannot
figure it out for the life of me.  Any help would be greatly
appreciated.

TIA

Ken.

--
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 5.5+?: bug in layout

2000-02-07 Thread Jacques Paris

To the fellowship of MI5.5+,

I would like to warn you about the behaviour that is detailled below. It has
been filed as a BUG late last week and it seems to be happening only with
the latest patch I know of (55026).

Here is the bug:

I want to prepare a layout in a landscape format.

First part: layout does not recognize page setup parameters.
1 - page setup, set to landscape
2 - open layout. It shows a portrait page.
3 - back to page setup. Set to landscape again
4 - layout becomes landscape. Good

Second part: new setup (in same session)
5 - close first layout, open another one. Opens portrait.
6 - back to page setup. Set to landscape again
7 - Message window : "page margins must not equal or exceed the page
dimensions"
8 - nothing doing. Bad

Third part: changing printer
All my misery started with a very plain HP500. I had a driver (only the
driver, alas!) for a HP2500DesignJet etc..  Restarting MI, I repeated the
first part with the addition of a different printer choice and a new sheet
size.
9 - page setup, set to landscape, select HP2500, format A0
10 - open layout. It shows HP500, portrait, format 8.5x11
11 - back to page setup. Set to landscape, HP2500, A0 again
12 - layout opens ok.
13 - close first layout, open another one. Opens HP500, 8.5x11, portrait,
with the added feature that the margins are those of the A0 format (which
does not leave much room for printing on a commercial format).
14 - any change in the page setup will result in the above message about
"the margins...".

In a word, Layout does not recognize the choices made in page setup, does
not remember them from one layout to the other but for the margins!!!

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]



RE: MI MB Determining the Base Table of a Query

2000-02-28 Thread Jacques Paris
Title: MB Determining the Base Table of a Query



Totally undocumented. A very pleasant discovery I made 
recently. If you use tableinfo(your_query_name, TAB_INFO_MAPPABLE_TABLE) (code 
12 in the MBW) you get the name of the base table ot your 
query.

MB 
reference states that this code should return the name of the table containing 
graphical objects for a table resulting for a relational join. That is not the 
case, i.e. it does much more. It even works with queries based on tables that 
are NOT MAPPABLE.


Jacques 
Parise-mail 
alternate [EMAIL PROTECTED] 
[EMAIL PROTECTED]paris PC Consult (mainly MapInfo 
app.) www.total.net/~rparis/gisproducts.htm 


  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Landis, Bill @ PhoenixSent: February 23, 2000 8:57 
  AMTo: MapInfo Mail List 1 (E-mail)Subject: MI MB 
  Determining the Base Table of a Query
  Anyone know how to determine the base table of a 
  query using MapBasic? For example if Query3 is a selection of block 
  groups from table BG1999, how do I determine that Query3 is based on table 
  BG1999?
  Thank you, 
  Bill Landis... 



RE: MI Half Buffers

2000-02-14 Thread Jacques Paris



You 
have a very good recall(all) function Russ. You are right and the baby is 
sitting on our site (shareware section), it is called HALFBUFF (why 
not?)

I have mentioned 
it to Jeff already. Thanks for your 
attention.

Jacques 
Parise-mail 
alternate 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]paris PC Consult (mainly MapInfo 
app.) www.total.net/~rparis/gisproducts.htm 
[Jacques Paris]-Original 
Message-From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Russell 
MincherSent: February 14, 2000 3:19 PMTo: Jeff James; 
[EMAIL PROTECTED]Subject: Re: MI Half Buffers

  Jacques Paris [EMAIL PROTECTED] was in the 
  process of writing a half buffer app in June and invited interested parties to 
  contact him for an early copy.
  I dont know where he got to with it
  
  Give him a try
  
  
  
  Regards
  
  
  
  Russ Mincher
  
  
  
  
- Original Message - 
From: 
Jeff 
James 
To: '[EMAIL PROTECTED]' 
Sent: Tuesday, February 15, 2000 1:43 
AM
Subject: MI Half Buffers

Listers,

Does anyone 
know if there is a utility out there which will create a buffer on only one 
side of a given street (i.e., polyline)?

Any help is 
greatly appreciated.

Thanks in 
advance,

Jeff James
Vice President
Sage Software, Inc.
3423 Piedmont Road NE
Suite 550
Atlanta, Georgia 30305
Phone: 404.262.7478 Ext. 12
Fax: 404.832.3366
eFax: 520.222.2020
www.sagesoft.com



RE: MI Batch - Polygons to centroids

2000-02-16 Thread Jacques Paris

Simply make a copy of your file then run from the MapBasicWindow :

update your_copy set obj=createpoint(centroidx(obj),centroidy(obj))

Make sure that you are working in the proper coordsys by running before

set coordsys table your_copy

I hope I am not too late!

Good luck

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rodolphe Devillers
Sent: February 16, 2000 10:56 AM
To: [EMAIL PROTECTED]
Subject: MI Batch - Polygons to centroids


Hi everyone,

I want to transform a MapInfo file which contain 12 000 of polygones
(buildings)
in a file which would include only the centroids of theses polygons
(points).
Do you know if there is a macro which could do that kind of action?

thanks a lot,

Rodolphe








Rodolphe Devillers


 Centre de recherche en Géomatique (CRG)
Université Laval
0722 Pavillon Louis-Jacques-Casault
Québec (Québec),  G1K 7P4 Canada
Canada
Tel: (418) 656-2131 #3203
Fax: (418) 656-3607
[EMAIL PROTECTED]
Site Web CRG: http://www.crg.ulaval.ca/
Page Web: http://www.marinegis.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]



MI : new utilities

2000-02-19 Thread Jacques Paris

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 : inverting selection

2000-03-08 Thread Jacques Paris

I have tried to device some principles helpull in the inversion of
selection. We have seen recently several messages related to that subject
but with a scope limited to regions. I wanted something more general.

There is one basic requirement, that the table (MY_TAB) contains a column
(COLX) with unique object identifiers. If it does not have one, add a column
(COLX) and populate it with rowid.

Once the selection is done

select * from MY_TAB where NOT MY_TAB.COLX = ANY(select COLX from SELECTION)


With what I have seen and experimented with on the subject, it seems that
this a much more reliable and universal solution than any using geographic
operators (intersects, within...) which have some tendencies to
include/exclude adjacent objects and work only with closed objects.

I am open to any suggestion to improve on that.

Jacques Paris

e-mailalternate
 [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]



RE: MI Saving dot density layout as other format

2000-03-14 Thread Jacques Paris

Steven,

I check that feature (that I have to use soon quite a lot) and the WMF dot
density small dots MAPPER reinserted in Word looks fine even when blown up
or reduced. I used 5.5 and the 6.0beta and got the same good results with
both.

But that is true only for a mapper export. Because you are right, the dot
thematic map does not appear if you export the LAYOUT window.

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: March 14, 2000 7:03 AM
To: [EMAIL PROTECTED]
Subject: MI Saving dot density layout as other format




I am trying to save a layout of a dot density thematic map using the 'save
window as ...' command for use in other office applications.  Usually I use
.wmf format to do this, however with this particular map, when I import it
into other applications, the dots appear to have disappeared.  This map
will print out from Mapinfo fine.  I have saved it as all other formats and
the dots are fine, but quality and file size suffer.  Has anyone else
experienced this problem/got any suggestions?

Cheers
Steven Ward


--
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: Text from Word to MI 5.5

2000-03-24 Thread Jacques Paris

I became curious about that "CREATE TEXT" behaviour and I tried to find the
conditions of use of that way to handle bigger text boxes. I found some
interesting things.

1 - in the MB command description, MI states that the text string should be
255 character long maxi. But if you enter a longer string in the text box
requester, it will be chopped down to 258 characters.

2 - text is stored in 254 character blocks; a string can be broken in blocks
joined by +  ("block 1"+"block2").

3 - the maximum number of "positions" acceptable by that statement in 500

4 - the number of usable characters is equal to 500 - the number of blocks
and - the number of format characters.

5 - format characters are essentially '\n' used within the text for a new
line ("bablabla\nboobooboo", or 'chr$(10)' used between blocks and +
("block1"+chr$(10)+"block2"). The first solution requires less 'usable
positions' than the second one.

These considerations apply to the use of that statement in MB programs, in
the MBWindow or in WOR.

Warning : if you create a text longer that the 'basic' 258 and if you decide
to activate the text box by a double click, the text will be chopped to down
to 258.

Conclusion : as the only formatting capability is a "new line" command, as
it requires lots of shaping up of the text like introducing "new lines",
breaking into blocks, managing the number of usable characters, as it is
relatively unstable, I do not find that using the create text is a
particularly effective solution in adding "general" text of a substantial
length from an outside source.

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Martin Roundill
Sent: March 23, 2000 11:44 PM
To: 'Vincent Decker'; James Marlow; 'Jeff Reid'; Mapinfo-L (E-mail)
Subject: RE: Text from Word to MI 5.5


Additional Text:

For those that don't know you can actually get the layout to contain a block
of text that is longer than you can manually enter in the text box.  This is
achieved by editing the workspace file directly.  I haven't sat down to
count but I think the test box lets you enter around 300 characters by
editing the workspace file you can extend it to around 410 characters.
Useful if you just about fit everything in and don't want to mess around
aligning another text box.

Another strange but true fact.

regards

Martin

-Original Message-
From: Vincent Decker [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 March 2000 10:49
To: James Marlow; 'Jeff Reid'; Mapinfo-L (E-mail)
Subject: Re: Text from Word to MI 5.5


Just like James, the powerpoint option is the one i have been using for a
while now, and i am very satisfied with the  results. All my layouts are
done with it!


- Original Message -
From: James Marlow [EMAIL PROTECTED]
To: 'Jeff Reid' [EMAIL PROTECTED]; Mapinfo-L (E-mail)
[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2000 3:30 PM
Subject: RE: Text from Word to MI 5.5


 Hi Jeff

 There are a couple of options (hacks for you programmers):

 1) Use Word as your layout program - import the map into Word and do your
 layout around it. I usually dump it to an image using File | Save Window
As
 but it is also possible to copy the map window and paste it as an OLE
 object. To get a higher resolution of the image you export, specify an
image
 width of about 3 times the final size when using the File | Save Window As
 command.

 2) Do the same thing - but in PowerPoint. PowerPoint actually makes a
pretty
 good layout program and it handles images better than Word. It also has a
 number of easier-to-use graphics tools that make the layout process work
 better. I have had great luck using PowerPoint as the poor man's desktop
 publisher - it's easy to use, the output can be scaled and it is actually
 pretty powerful. You not only get a document that prints well, but also
the
 basis for a powerful slide presentation.

 3) The third option (and this can work very well) is to get your text out
to
 an image file. This is not always easy to do, but it is possible. The
image
 file can then be placed in a Mapinfo layout window.

 Whatever choice you make, you will probably find that you need to edit the
 image a bit. I would suggest a wonderful shareware image editor -
PaintShop
 Pro. Go to http://www.jasc.com to download a 30 day trial - which is
usually
 enough for a quick project. I would strongly suggest registering the
product
 if you like it - it is a very powerful image editor with a reasonable
price
 (under $250 US I think).

 Good luck!

 James

 James L Marlow
 Director, Geographic Information Systems
 Channel Marketing Corporation
 15032 Beltway Drive
 Dallas, Texas 75001

 Telephone 1 (972) 858-9600 extension 331
 Facsimi

MI QueryN suggestions

2000-04-06 Thread Jacques Paris

It is always very dangerous to work with the cosmetic layer because it is
only defined as an unbounded long-lat and copying objects to it may cause
changes in the nodes coordinates.

There is a much simpler way to do it, just "save as" of selection with a
given name. If you look the trace of that operation in the mapbasic window,
it will look like

Commit Table Query5 As "D:\OD98\Carto\selo.TAB" TYPE NATIVE Charset
"WindowsLatin1"

The selection done by hand has been translated in QueryN (N will depend on
the number of previous queries).

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eberl,Christine [NCR]
Sent: April 6, 2000 1:06 PM
To: 'Leduc, Yannick'; 'Mick'
Cc: MapInfo-L (E-mail)
Subject: RE: MI Thanks for the QueryN suggestions


Hi Guys...Sure you can save a manually selected set of items.  Clear the
cosmetics layer, make your manual selection, copy the selection,  paste into
cosmetics layer, then save it.  A bit round about but it works; let me know
if your particular job won't allow that

Cheers CHristine

phone: (819) 997 - 6082
fax:  (819) 953 - 6612
email:   [EMAIL PROTECTED]

Address: Christine Eberl
  Migratory Birds Technician
  Canadian Wildlife Service
  100 Gamelin Blvd
   Hull, PQ
   K1A 0H3


-Original Message-
From: Leduc, Yannick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 06, 2000 11:29 AM
To: 'Mick'
Cc: MapInfo-L (E-mail)
Subject: RE: MI Thanks for the QueryN suggestions


Hi Mick,

If the query is based on a SQL statement, the query can be saved in
the workspace. On the other hand, if the query is based on the user's
selection of elements, there is no way for the workspace to keep track of
the selection. So it can't be saved even if you give it a name.

If you want to actually save your manual selection, you have to find out
what condition will pinpoint the ones that interest you. Usually, you will
use the unique ID of the object and list them in the SQL statement:

Select * from your_table where ID in("001","323", "5435", "65313") into
My_selection

This way, the selection will be saved in the workspace. I'm aware that it
can be tedious to list more than ten items... in this case, you can use a
geographic component in your query, like a round buffer.

The secret is to be able to put words to your selection.

Good luck

-Message d'origine-
De : Mick [mailto:[EMAIL PROTECTED]]
Envoyé : 6 avril, 2000 10:56
À : [EMAIL PROTECTED]
Cc : [EMAIL PROTECTED]
Objet : Re: MI Thanks for the QueryN suggestions


Kirk

I'm a little confused, why can't you save a named query selection in a
workspace?

Cheers

Mick Saunders


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 06, 2000 9:12 AM
Subject: MI Thanks for the QueryN suggestions


 Hello List,

 Thanks for all your input.  I was hoping to find a way to save a selection
 with a specific name within a MapInfo Workspace.  It seems the only way to
 rename a selection is through the Query menu and select all into a new
table
 name.  Because QueryN does not get saved in the Workspace, the new table
 name does not either.

 Thanks,

 Kirk
 --
 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]



RE: MI BIG north arrows

2000-04-08 Thread Jacques Paris

There is no limit to the size of a true type symbol. Just do not use it as a
symbol but as text. If you look at the contents of MI Arrows in the symbol
requester you will see that there are all at the beginning of the character
table (! " # $ % ). Locate the one you want and use the corresponding
character to create a text object, double click on it, use the style button,
set the font to MapInfo Arrows and the point size as large as you want.

You can also create it directly into the layout by using use the "create
text" statement (in the MapBasic window for ex.). This way you can set the
size of the arrow by specifying the actual size in inches (or cms depending
how you have defined the Set coordsys layout units "  ") of the text box.

Mi arrows may be puny but they can grow!!!

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim Warman
Sent: April 7, 2000 2:06 PM
To: Mapinfo-L
Subject: MI BIG north arrows


Listers,

Does anyone have a nice-looking north arrow that can be made larger than the
ones in the MI Arrows font (max of 48 pt)? The aforementioned looks too
small on a 36" x 60" plot.

TIA

_
Tim Warman
Geologist  GIS Specialist
Richard C. Slade  Associates
North Hollywood, CA
(818) 506-0418

--
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 Combined wrong polygon - need a help

2000-04-21 Thread Jacques Paris

Alex, and all of you

My direct answer to Alex would be that drawing direction has nothing to do
with his problem. But as there has already been some discussion about that
subject in the context particularly of "donut" regions, I would like to put
that subject to rest.

I conducted some tests, not as extensive as I would like perhaps, but they
seem to indicate that MI is indifferent to "line direction" in its treatment
of multiple polygon regions, donut included.

The test : drawing two closed polylines one inside the other, duplicating
them on the spot and converting them to regions, setting target to the
larger region and erasing with the smaller. I did that twice, drawing the
plines in the same direction and in opposite directions. I read from the
exported MIF file and saw that the internal polygon is a faithful copy of
the original pline, i.e. respecting the original drawing directions.

If the idea that MI "recognizes" holes by the drawing direction of the
polygons, that idea must be surrendered for good. But as I have a limited
knowledge in this area, I would like very much to have my conclusion
supported or challenged.

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Teleshev
Sent: April 21, 2000 4:35 AM
To: [EMAIL PROTECTED]
Subject: MI Combined wrong polygon - need a help


Hello  Listers,
Hard question : My operators create a lot of polygons, then combine
them to one polygon object. But when  I try to make it transparent I
can't do it. My idea - some objects was drawn clockwise, the others
counterclockwise. But my problem is-now I have 1 object with wrong
features. How can I correct it ?



Best regards,
Alex Teleshev
Director  geologist
RIFT Ltd.
18 suite 6 Rudnaya str.
Semipalatinsk  VKO
490044 Kazakstan
mailto:[EMAIL PROTECTED]
   [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 True type fonts in Mapinfo

2000-05-08 Thread Jacques Paris

If a true type font is installed in Windows, it should be available as a
text font, but not necessarily as a Symbol. I do not know what to do for MI
to accept it as a symbol.

But you can still use it by creating a text object of one character, typing
the character code you need and selecting the text style of the "symbol"
font.

Such solution has many advanyages over the "accepted" symbols. It is not
contrained in size at 48 pts. It can be angled. It remains proportionnate to
the scale of the mapper. The drawbacks I know of are that the objects are
not centered on a given position (position of text objects is by their
anchor point = top left corner of MBR) and rotation is around that
"excentric" point. Besides their size not being constrained, one must always
check when creating objects that their point size is under control.

I have used those features in an application (GRADARRO.mbx on our site) that
positions, sizes and orientates arrows on point locations according to 2
variables similar to slope direction and intensity. I would not have been
able to do so with "symbols". A ttf name FLECHE01 containing different
straight arrow types is also available for download.

But I would still wish to learn how to make MI recognize a TTF as a symbol
font.

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nyon
Sent: May 1, 2000 9:36 AM
To: [EMAIL PROTECTED]
Subject: MI True type fonts in Mapinfo


Hi,

When I try to set my symbols, the list of fonts in the dialog box are
limited compared what I have installed in my Window/Font directory. Is there
a certain type of true-type fonts that Mapinfo only supports ?


YC Nyon


--
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 True type fonts in Mapinfo

2000-05-09 Thread Jacques Paris

I mailed that answer Tue 02/05/00 1:16 PM but it did not seem to have
arrived back to me via Mapinfo-l. I was wandering if there has been a change
in the mailing procedures (sender excluded) or if it simply fell through the
web! All my apologies if you have already received it.

Jacques

If a true type font is installed in Windows, it should be available as a
text font, but not necessarily as a Symbol. I do not know what to do for MI
to accept it as a symbol.

But you can still use it by creating a text object of one character, typing
the character code you need and selecting the text style of the "symbol"
font.

Such solution has many advanyages over the "accepted" symbols. It is not
contrained in size at 48 pts. It can be angled. It remains proportionnate to
the scale of the mapper. The drawbacks I know of are that the objects are
not centered on a given position (position of text objects is by their
anchor point = top left corner of MBR) and rotation is around that
"excentric" point. Besides their size not being constrained, one must always
check when creating objects that their point size is under control.

I have used those features in an application (GRADARRO.mbx on our site) that
positions, sizes and orientates arrows on point locations according to 2
variables similar to slope direction and intensity. I would not have been
able to do so with "symbols". A ttf name FLECHE01 containing different
straight arrow types is also available for download.

But I would still wish to learn how to make MI recognize a TTF as a symbol
font.

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nyon
Sent: May 1, 2000 9:36 AM
To: [EMAIL PROTECTED]
Subject: MI True type fonts in Mapinfo


Hi,

When I try to set my symbols, the list of fonts in the dialog box are
limited compared what I have installed in my Window/Font directory. Is there
a certain type of true-type fonts that Mapinfo only supports ?


YC Nyon


--
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. Measuring distancce

2000-05-11 Thread Jacques Paris

-Original Message-
[mailto:[EMAIL PROTECTED]]On Behalf Of Curt Newsome
Sent: May 11, 2000 12:15 PM
Subject: Re: MI. Measuring distancce

This should work - the distance function is very poorly documented in the
MapInfo help files/books.



Here is some information printed in the MI Professional 5.5 supplement (and
present in the 5.5 help files) that makes it almost clear how distance is
calculated.

DISTANCE()
If the current coordinate system is an earth coordinate system, Distance( )
returns the great-circle distance between the two points. A great-circle
distance is the shortest distance between two points on a sphere. (A great
circle is a circle that goes around the earth, with the circle's center at
the center of the earth; a great-circle distance between two points is the
distance along the great circle which connects the two points.)

For the most part, MapInfo performs a Cartesian or Spherical operation.
Generally a Spherical operation is performed unless the coordinate system is
NonEarth, in which case a Cartesian operation is performed.

SPHERICALDISTANCE()
The SphericalDistance( ) function always returns a value as calculated in a
Latitude/Longitude non-projected coordinate system using great circle based
algorithms..  A value of -1 will be returned for data that is in a NonEarth
coordinate system since this data can't be converted into a
Latitude/longitude coordinate system.

CARTESIANDISTANCE()
If the current coordinate system is an earth coordinate system,
CartesianDistance( ) returns the great-circle distance between the two
points. A great-circle distance is the shortest distance between two points
on a sphere. (A great circle is a circle that goes around the earth, with
the circle's center at the center of the earth; a great-circle distance
between two points is the distance along the great circle which connects the
two points.)

If the current coordinate system is a non-earth coordinate system,
CartesianDistance( ) returns the Cartesian distance.


Now, you may want to know the algorithm used to calculate it along a
great-circle... but that is above my head and not within my interests.

Jacques Paris

e-mailalternate
 [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 controlling browser column width.

2000-06-01 Thread Jacques Paris

I could not resist reproducing below a short extract of "My Bag o'Tricks"
(it will be soon available again on our site but as a pdf file) where I
dabble with column width control. May be someone could find new "tricks" to
add to that.

For ex., the width is defined by the length of the title itself if the
contents of the column is "smaller" than the title. Adding 's to the
title (via modify structure) will increase the column width.

[   place holder for your contribution   ]



Have fun

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

===beginning of excerpt

4 - There is no way to specify column width in an explicit way.

Column width is determined internally by MI according to certain rules that
are not that obvious. For example, the computation in number of screen units
is the product of the number of characters by a certain average width (it
depends then on the character set that is used); it can be changed by Menu
Options  Text Style while the Browser is active, or by adding immediately
after the block "Browse" the following line

Set Window FrontWindow() Font ("Courier New",512,8,0)

N.B.   Be careful in writing the name of the font : this argument is case
sensitive and the spelling must conform to what is shown in the Windows font
requester.

As the column headings are displayed in bold, titles may be truncated even
if the columns are defined for the proper numbers of characters. Bold
characters are wider than plain ones, except with fixed width fonts such as
Courier.

Some display options may influence the number of characters used to define a
column width, but there are inconsistencies that prevent reliable
predictions in that area. The option of separating thousands by commas or
spaces or not at all that can be defined outside MI (The Windows 3.+ Control
panel / International / List Separator) has no effect on the way numbers are
displayed in the browser, whereas choices made for the date format defined
in the same manner as the thousands separator are respected.

The only column type that can be somewhat controlled is "character". The
column width is defined as the larger of the width in number of characters
defined in the table structure and the number of characters in the original
column name (with a maxi of 31). Giving a shorter name by an alias has no
impact; one must act directly on the table structure definitions.

A temporary column is completely out of control. Changing the nature of its
contents (e.g. STR$ of a numerical variable) or playing with string
functions (e.g. LEFT$..) results in a character column with a width in the
order of 50 spaces. Temporary columns should be transformed into permanent
features to allow any kind of positive control.

A way of building numerical columns with a specific look is to create a new
column and update it with the required expression. If colx is an integer
column and that a right-aligned 8 digit column is desired, the following
expression can do the trick :

SPACE$(8-LEN(STR$(colx))) + STR$(colx)

If numbers exceed 8 digits, there is no trap to prevent strange results.
Remember that this column will not be updated automatically if changes are
made to the contents of colx. Besides, numbers will be proper aligned on the
right only if a fixed width font is used.



6 - 5  An application


ZT_999.tab contains 3 columns, ZT, AREA, PERIMETER. It is open.

The browser should display ZT and the contents of AREA right adjusted with 4
decimal digits

1 - Modify table structure to add a new field SURF as character with a width
of 9
The width is obtained the following way : 4 decimal digits, + 1 for decimal
point + 3 (observed maximum of AREA is 324.4...) + 1 (do not ask me why)

2 - In the MapBasic window, write and run

Browse ZT, SURF " AREA" from ZT_999
Update ZT_999 set SURF =
   Space$(4 - len(str$(int(AREA + left$(str$(AREA)+"", len
(str$(AREA)+4))
Set Window FrontWindow() Font ("Courrier New",512,8,0)

explanations :

- an alias is used to specify column heading; here AREA is preceded by 5
blanks to form a string of 9 characters (= column width)

- Space$ pads the beginning of the SURF string with a number of spaces
dependent upon the number of digits before the decimal point

- the rest of the string is made of the significant and decimal digits,
including trailing zeroes that are added to pack the rest of the space if
there are less than 4 decimal digits.

--
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 MB: Zoom to Cosmetic layer

2000-06-02 Thread Jacques Paris

Tim,

Assuming that your front window is defined, try these 3 short lines

Set Map Layer 0 Editable On
run menu command 303'select all (it will automatically point to the
'cosmetic layer if it has been set editable)
'NOTE rmc 303 does not work from the MapBasic Window
'This 3 line program must be compiled and it works.
run menu command 306'find selection

and if you do not like to see all the objects selected

run menu command 304'unselect all

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim.Nuteson
(Exchange)
Sent: June 2, 2000 1:14 PM
To: '[EMAIL PROTECTED]'
Subject: MI MB: Zoom to Cosmetic layer


Does anyone know how I might zoom to show all cosmetic objects with
MapBasic?

These methods do not work:
1.  Set Map Zoom Entire Layer 0   (zooms out to show everything, cosmetic or
not)

2.  Set Map Zoom Entire Layer Cosmetic1   (invalid view layer)

3.  Select the cosmetic objects, Add Map Layer Selection, Set Map Zoom
Entire Layer 1 (zooms OK, but wipes out the cosmetic objects)


Any workarounds / tips?

Thanks.

Tim Nuteson
Target Corporation
[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]



ADD: new versions of MI/MB books

2000-06-04 Thread Jacques Paris

I have rewritten the "MiniGuide to the MapBasic Window", updating it to
version 5.5 and expanding its contents noticeably.

The "MiniGuide... " and "My Bag o'Tricks" are now available as PDF files
taking full advantages of indexing and bookmarks to facilitate research.
There are in a format that makes screen reading easy : one landscape page
fills the screen and generous point sizes allow reading a full page without
having to scroll or to zoom in.

You can order those "books" from our site that has been revamped.

If you are an old acquaintance, you should pay it a visit to check for new
versions of several "program" files.

     www.total.net/~rparis/gisproducts.htm

Jacques Paris

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]



RE: MI Thematic mapping by name and numerical value

2000-06-05 Thread Jacques Paris

I did not find a straight answer such as the double thematic on regions
combining patterns and colors. I found two work-arounds each one with its
own draw back.

1 - a/ make a "color" thematic with "name" using a circle as a symbol.
b/ make a "size" thematic with "canopy" using a tramsparent circle as
symbol.
note: make sure that the size corresponding to the smallest canopy is not
smaller than the colored symbol.

2 - a/ convert points to circles of sizes proportionate to canopy radius. In
the MapBasic Window write and run
set coordsys table your_table
set distance units "unit_used_in_canopy"
update your_table set obj=createcircle(centroidx(obj),centroidy(obj),size)
b/ make a color thematic of these objects.
note: you may find safer to work on a copy of your original table.

I would love to hear there is a "better" way for doing it.

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gabor Vasarhelyi
Sent: June 4, 2000 10:42 PM
To: '[EMAIL PROTECTED]'
Subject: MI Thematic mapping by name and numerical value


Dear listers,
I wish to thematically map trees by their scientific name and by their
canopy radius.
Currently the data is in the form of circles representing trees.  All of
these are uniform in radius.
These have a name and canopy radius fields.  When I attempt to colour by
species (individual thematic) and size by radius(using graduated thematic)
I only get the size changing but the colours don't. They do but I can't
merge the two variables.

Any ideas?
Can I resize the existing circles by the canopy field permanently?
And then colour them in a later process.

Cheers and thanks
Gabor Vasarhelyi
Environmental Resources Management Australia (ERM) Pty Ltd

Ph.  9906 1666
Fax  9906 5375



While ERM has systems in place to encourage a virus free software
environment, unfortunately the same cannot be said of the large number of
organisations from which we receive electronically issued products.  We
therefore recommend that files be checked prior to use.  While you can
expect us to be careful, in view of the above factors, we cannot be liable
for any loss or damage, corruption or distortion of electronically
transmitted information, or for any changes made to this information during
transferral or after receipt.


--
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 MB: Turning of zoom/resize/pan etc of map window

2000-06-06 Thread Jacques Paris



This 
is a multiple facets undertaking, as complex as you want to be sure the user 
will not modify the view. You will have to act on 4 different "environments : 
map menu, map shortcut menu, toolpad and MapBasic window.


1 - 
You must eliminate the menu items that deal with the map view and restore them 
later (It seems that you cannot enable/disable them because they are in a 
context sensitive menu that tends to override this function)

 alter menu 
id 9 remove 805, 806, 807 '(for change view, previous view, 
view entire layer)

 alter 
menu id 9 add "Change view" id 805, "Previous 
View" id 806...
This 
technique has one drawback, the "new" items are added at the end of menu, not in 
their original places. Before adding them, you will have to remove all the 
following not-deleted items and recreate the original list.

A more 
drastic measure would be to eliminate completely the map menu (alter menu bar 
remove id 9) but it does not work because it is a context sensitive 
menu)
2 - If you have no need for the tools contained in the 
toolpad Main ID 1, just turnit off/on

 alter buttonpad id 1 hide/show 

If you 
need some of these tool buttons, then define a toolpad wirh only those you need 
and display it instead of ID 1


3 
-Do not forget to turn off also the menu items in the short cut menu 
ID 17 with the "alter menu id 17 remove 805, 806, 807" as in 1- above, restoring 
them later with the same order constraint as already noted.

4 - 
All that would be to no avail if you leave the MapBasic window accessible. You 
must remove the item menu Show MapBasic Window (608) from the "Options" menu (ID 
5) and from the "Tools" buttonpad (ID 3)


Well, 
that is all I have found with my limited experience. All the codes are contained 
in the MapInfow.MNU file but if you want clearer listings and some explanations, 
have a look at "MiniGuide to the MapBasic Window" on our site. Those commands 
are operational from the MBWindow and may be of use for changing menus/pads on 
the fly with short scripts.


Jacques 
Parise-mail 
alternate [EMAIL PROTECTED] 
[EMAIL PROTECTED]paris PC Consult (mainly MapInfo 
app.) www.total.net/~rparis/gisproducts.htm 


  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Frontier Mapping Pty LtdSent: June 6, 2000 1:03 
  PMTo: MapInfo Discussion GroupSubject: MI MB: Turning of 
  zoom/resize/pan etc of map window
  Hi,
  
  Is there any way you can disable 
  the pan/zoom functions for a particular map window? I'd also like to 
  prevent the user from resizing the map window. (I'm setting up title 
  boxes etc and want them to be standard) I've found you can turn 
  AutoScrolling etc off using the Set Map function, but I was thinking more 
  along the lines of disabling the zoom/hand toolbar buttons when a designated 
  map window was active.
  
  Ta,
  
  Michelle 



RE: MI Nodes in Polylines

2000-06-08 Thread Jacques Paris
Title: RE: MI Nodes in Polylines



You 
cannot use 
nNumNodes = ObjectInfo(bObject, 
OBJ_INFO_NPNTS) 
as the 
upper boundary for the loop where you extarct the nodes x and y. The 
statement
Xcoord = ObjectNodeX(bObject,1, nCntr)
will 
create an error if a polyline contains more than one segment and nCntr becomes 
 than the number of nodes in segment one. You have to create a double loop 
to "read" the nodes segment by segment. See corrections in original 
message.

Jacques 
Parise-mail 
alternate [EMAIL PROTECTED] 
[EMAIL PROTECTED]paris PC Consult (mainly MapInfo 
app.) www.total.net/~rparis/gisproducts.htm 

 


  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Scott HallSent: June 8, 2000 11:08 AMTo: 
  'Possberg, Hendrik (Fa. Microm)'Cc: 
  '[EMAIL PROTECTED]'Subject: RE: MI Nodes in 
  Polylines
   1. Is it possible to get the number of nodes in a 
  Polyline? 
  Getting the number of nodes for a pline is found through 
  ObjectInfo. 
  Dim bObject As Object Dim nNumNodes As 
  Integer [Jacques Paris]Dim nCntr as 
  integerbObject = PolylineTable.Obj 
  [Jacques Paris] the following line will give you the total 
  number of points in all segments
  nNumNodes = 
  ObjectInfo(bObject, OBJ_INFO_NPNTS) 
   2. in the next step I would like to get the coordinates 
  for all the nodes which are  building a polyline. 
  Use the ObjectNodeX and ObjectNodeY commands to grab the x and 
  y coordinates of the nodes. You can use a counter to loop thru the 
  polyline node by node. It would also be helpful to check for plineness - 
  ObjectInfo(bObject, OBJ_INFO_TYPE) - before the loop as I have found MapBasic 
  to be a little tipsy with ObjectNode and a regular old line.
  Dim Xcoord As Float Dim Ycoord As 
  Float
  [Jacques Paris]Dim nseg, j as 
  smallint
  nseg=objectinfo(bOject,21) 
  '21or obj_info_npolygons
  for j=1 to nesg
  nNumNodes= 
  objectinfo(bObject,21+j)
  For nCntr = 1 To nNumNodes 
   Xcoord = 
  ObjectNodeX(bObject,j, 21+nCntr) 
   Ycoord = 
  ObjectNodeY(bObject,j , 21+nCntr ) Next 
  [Jacques 
  Paris]Next


MI : new utilities

2000-06-13 Thread Jacques Paris

The following free utilities are available for download on our site. The
links are already listed on http://www.directionsmag.com/tools/ but as all
refer to our main page, you can as well start directly from
www.total.net/~rparis/gisproducts.htm

I take this opportunity to thank all those who have helped me in testing and
improving these applications. Make sure that you have the latest versions.

ClrQries.mbx :  Closes all open queries

WORInter.mbx :  Adds Interactive to Open Table statements . It eliminates
risks of WOR not loading if tables have been moved from wor original
directory.

ZoomSel.mbx : Zooms on selection, even if selection is already partially
displayed; zooms out (*4) and in (button acts as toggle) as long as
selection is not changed.

CutPline.mbx : Cuts pline at selected node. Confirmation screens can be
bypassed if "FastDrive" option is chosen (at your own risk!!)

Explolin.mbx : Explodes multi-segment polylines contained in a table into
single-segment objects. Various output options.

Yours to enjoy.

Jacques Paris [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 new utilities follow up

2000-06-13 Thread Jacques Paris

I want to apologize to those who hit a wall, and to thank those who warned
me : there are problems in some of our download links, some miserable upper
case letters mixed with high class lower case ones.

It should be fixed during this coming short Canadian night.

With all our excuses

Jacques Paris [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]



RE: MI Create Styles

2000-06-14 Thread Jacques Paris



Carlos,

Use 
the run command solution; it allows for passing variables. In your 
case

dim 
comm as string

comm="Create Styles From " 
+MIBrushLOW+ "To "+MIBrushHIGH 
+"Vary Color By ''"RGB''" Number10Into 
Variable Brush_Styles"
run 
command comm

Make 
sure of the required number of " when passing a ", I always forget it it "" or 
""". Sorry about that
You 
may also to check if Brush_styles is properly handled, It may have also to be 
passed as a variable.

Jacques Paris [EMAIL PROTECTED]Paris PC 
Consult (mainly MapInfo app.) www.total.net/~rparis/gisproducts.htm 


  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Carlos MontalvilloSent: June 14, 2000 6:14 
  AMTo: [EMAIL PROTECTED]Subject: MI Create Styles 
  
  
   
  Hello,I was wondering if anyone had any ideas on 
  this one. 
   I would like to create styles 
  defining the color ranges froma variable. For 
  example : Dim MIBrushLOW, 
  MIBrushHIGHas 
  Brush(...) 
  Create Styles From 
  MIBrushLOWTo 
  MIBrushHIGH Vary Color By 
  "RGB"  
  Number10 Into 
  Variable Brush_StylesBut MapBasic stands a 
  constant value forFROM and TO. How can I solve it ?
   Thanks, any ideas would be greatly 
  appreciated. 
  Carlos Montalvillo GómezSGSMap - Ingenieros 
  ConsultoresCamino de Portuetxe, 8320018 - San Sebastian - 
  EspañaTel (+34) 943 31 74 90http://www.sgsmap.com/mailto:[EMAIL PROTECTED]


RE: MI HELP!

2000-06-15 Thread Jacques Paris

I did help someone cure her "mouse (=tennis) elbow" some time ago by simply
showing her how to use the right mouse button; she was using a large size
monitor and doing a lot of map editing via regular menus, hence constant
long pointer moves.

But as the "short cut" menus are somewhat limited, we decided on which items
should be available (including some icons commands, such as
"pointer/selector" that is so much in demand after using any tool) and I
wrote a small mbx to modify the menus. I took this opportunity to even
change the display language of these menus.

The combination of both actions was a very good remedy.

MapBasic does not have to be on your machine, you can write a simple script
as a WOR and in the MapBasic window RUN APPLICATION ...WOR; you can have
several, each one adapted to specific work requirements, including a
standard one to return to the original menus.

Jacques Paris [EMAIL PROTECTED]

Paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Vicky Higgins
Sent: June 14, 2000 7:06 PM
To: [EMAIL PROTECTED]
Subject: MI HELP!


I have been mapping with MapInfo for 3+ years.

While I use a light grip on my Intellimouse, the
hours-days-weeks-months-years
have taken their toll.
I have cause some irreparable nerve damage to my right arm.

Has anyone used, or know of any, alternatives to a mouse?

I have looked at the "Smart Cat" by Cirque, but it appears to still require
some
hand-draping over the device.

If there is any help out there, I would greatly appreciate it.


Vicky Higgins
Atlanta


--
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 run command limitation?

2000-06-15 Thread Jacques Paris

I would like a confirmation of my interpretation that the string used in a
RUN COMMAND cannot contained an array variable.

I encountered that apparent limitation when trying to find a solution to a
query about  the CREATE STYLE statement. The string
"Create Styles From " +LOW + " To "+HIGH +" Vary Color By ""RGB"" Into
Variable "+ BS
where LOW and HIGH are two brush variables and BS a brush dim'ed at 4
(defaut value) leads to the following message
"Cannot use an array or user-defined type in an expression"

I knew that you cannot use an array variable in the MapBasic window so I
conducted the tests by writing a small MBX.

Is my interpretation correct or what did I miss?

TIA

Jacques Paris [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]



RE: MI SUM Toggle Move Duplicate Nodes

2000-06-15 Thread Jacques Paris

With my 5.5 and W98, the {Alt P}PM sets me correctly in the Map Window
Preferences dialog, but the active element by default seems to be the snap
tolerance. The Y would go there of course. The solution is to {Alt Y} or N,
in contradiction with the recommendation to use the Alt with only the first
P.

I played with all the other options in that dialog, always with the Alt
pressed and I found a pretty nice little bug : Preserve Current Scale and
Spherical are both controled by the letter P, one in caps, the other not.
Results : neither can be set by {Alt Shift P} or {Alt p} and once on one of
them, using one or the other combinations will simply toggle the highlight
but will not make the selection.

Incidentally, that bug has been "raided out" in the 6 beta I have; the p
from spherical has become an e. (I am sure I am not disclosing anything
forbidden there)

The "letters" indicated for "highlight control" are also useless. They
simply highlight the first style button but one must act directly on the
required button to open a style requester.

Jacques Paris [EMAIL PROTECTED]

Paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of ZONING ADMINISTRATOR
Sent: June 15, 2000 12:02 PM
To: Mapinfo List
Subject: MI SUM Toggle Move Duplicate Nodes


Thanks to Jonathan Stokes and Jason Adam who wrote MBXs to take you directly
to the Map Settings under Options Preferences.  I have zipped up Jason's
application (per BT's advice concerning virus detection problems) and
attached it.

Thanks to Brian Forester who suggested a keyboard shortcut which works well
too:
Alt PPMY will set your toggle on (you only need to press Alt with the first
P)
Alt PPMN will set your toggle off

I know that there is also an old posting to toggle this setting from the
MapBasic Window, But I cant find it now.

William Woodruff
Zoning Administrator
Charter Township of Union, T14 N R4W, Isabella County, Michigan
(517) 772 4600 ext 41,  FAX (517) 773 1988


--
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 Toggle Move Duplicate Nodes REVISED

2000-06-15 Thread Jacques Paris

With my 5.5 and W98, the {Alt P}PM sets me correctly in the Map Window
Preferences dialog, but the active element by default seems to be the snap
tolerance. The Y would go there of course. The solution is to {Alt Y} or N,
in contradiction with the recommendation to use the Alt with only the first
P.

HERE IS THE REVISION : you do not have indeed to use the Alt with the "last
letter" if you are NOT in an edittext box, or a scrolling list box. But to
get out of one of these you need the {Alt letter} combination.

I played with all the other options in that dialog, always with the Alt
pressed and I found a pretty nice little bug : Preserve Current Scale and
Spherical are both controled by the letter P, one in caps, the other not.
Results : neither can be set by {Alt Shift P} or {Alt p} and once on one of
them, using one or the other combinations will simply toggle the highlight
but will not make the selection.

Incidentally, that bug has been "raided out" in the 6 beta I have; the p
from spherical has become an e. (I am sure I am not disclosing anything
forbidden there)

The "letters" indicated for "highlight control" are also useless. They
simply highlight the first style button but one must act directly on the
required button to open a style requester.

Jacques Paris [EMAIL PROTECTED]

Paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of ZONING ADMINISTRATOR
Sent: June 15, 2000 12:02 PM
To: Mapinfo List
Subject: MI SUM Toggle Move Duplicate Nodes


Thanks to Jonathan Stokes and Jason Adam who wrote MBXs to take you directly
to the Map Settings under Options Preferences.  I have zipped up Jason's
application (per BT's advice concerning virus detection problems) and
attached it.

Thanks to Brian Forester who suggested a keyboard shortcut which works well
too:
Alt PPMY will set your toggle on (you only need to press Alt with the first
P)
Alt PPMN will set your toggle off

I know that there is also an old posting to toggle this setting from the
MapBasic Window, But I cant find it now.

William Woodruff
Zoning Administrator
Charter Township of Union, T14 N R4W, Isabella County, Michigan
(517) 772 4600 ext 41,  FAX (517) 773 1988


--
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 screen def and dialogs

2000-06-22 Thread Jacques Paris

I am very careful when designing my dialogs to have the cleanest display as
possible. I have a 1024x768 15 in. monitor. When my application is used on a
different monitor, the dialogs have a tendency of being almost all garbled
up. It is more than a question of screen definition; the last test I amde
was on a 21 in. 1024x768.

Is there any way to prevent these distorsions besides leaving lots of blank
spaces?

Thanks for your experiences and suggestions.

Jacques Paris [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 new utility

2000-06-26 Thread Jacques Paris

EXPLOREG.mbx transforms multi-polygonal regions into single-polygon objects.
The tabular data of the "original" object is assigned to each of its parts
in full (there is no proportionate distribution). Several OPTIONS control
the results (place of resulting exploded objects, deletion of original
exploded regions and packing of table if necessary in this case, report on
problem cases) and mostly the possibility of KEEPING TRUE DONUT regions as
multi-polygonal objects.

EXPLOREG14.zip is available free on our site in the Map editing and
transformation section.


I built that application to facilitate the addition of other languages to
English and French. I have prepared a small MB listing with all the texts
that have to be translated. If anyone is interested in adding to it by
providing me with a "translation" based on that file that I will send on
request, I will insert the new language in the application. I am afraid that
my expertise in the area is limited to a specific platform; if a language
required another code page than the one supporting English, French,
Spanish.. (Iso-latin?), I think that the program would have to be recompiled
on that specific set-up. But I remain open to any suggestion in that area.


Jacques Paris [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 RE: rotated ellipses and moving nodes of polygons

2000-06-30 Thread Jacques Paris

To your first question, there is a three shot answer:
1 - create your ellipse of the size you need and centered where it should be
2 - convert it to region (you can set the number of nodes in the converted
ellipse; by default it is 100; use the mapbasic window and run SET
RESOLUTION )
3 - use one of the rotation tools available

It is not like drawing it directly, you do not have an object identifiable
as an ellipse, but you have something pretty c;ose to it.

Jacques Paris [EMAIL PROTECTED]

Paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Markovic, Zoran
Sent: June 29, 2000 10:28 PM
To: '[EMAIL PROTECTED]'
Subject: MI: rotated ellipses and moving nodes of polygons


I am trying to find solutions for two MI problems:

1) drawing ellipses under an angle (that is, how to create
rotated elliptical buffers).  Apparently, MI can only create
horizontal or vertical ellipses.

2) an algorithm/code for moving nodes of adjacent polygons
(that is, I want to change the shape of adjacent polygons by
offsetting their common nodes).

I will summarise responses that arrive to me directly
Thanks a lot to everybody who tries to help
Regards
Zoran



**
Commonwealth Bank of Australia (ACN 123 123 124)
**
--
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 dos shell

2000-07-25 Thread Jacques Paris

Help!!

I would like to run a dos program from within MI by using the RUN PROGRAM
statement. With my 5.5, it works well, like a meteor! I just get a glance to
the dos window and bye bye. Is there a way to keep the dos window open in
order to have a look at the output? Or to redirect the output to a text file
like in the manual example?

Thanks in advance

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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 SUM : dos shell

2000-07-25 Thread Jacques Paris

Thanks to all who gave me some hints. Here is my original query and the
summary I reconstituted:

I would like to run a dos program from within MI by using the RUN PROGRAM
statement.
With my 5.5, it works well, like a meteor! I just get a glance to the dos
window and
bye bye. Is there a way to keep the dos window open in order to have a
look at the
output? Or to redirect the output to a text file like in the manual
example?

To keep the dos shell window open, there is only one way:
1Create a DOS batch file with the appropriate dos program call
2Then use the Run command to execute the batch file.

If you want to redirect the output to your favourite file, you must also do
it be way of the bat file.

Incidentally, it was a long time since I have not used a bat file. For those
who were born UW, it is a simple text file with a .bat that you can prepare
with notepad (no need to use a dos editor). It would look like
...\prog_dos.exe  {any parameter, filename, etc. as required by the program}
If you want to redirect the output to a text file then the first line should
read

...\prog_dos.exe  {  } ...\any_file.txt

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]



RE: MI MBR or not

2000-08-02 Thread Jacques Paris

The discrepancy is introduced by the projection that is used. If you set the
coordsys to a non-projected longitude/latitude the results show no such
differences. This will happen if you open your map and run the select; the
MI will then use the default non-projected system. If your table is in a
projected system, set coordsys table to your table, run the select and you
will find discrepancies. Works as expected!

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Leduc, Yannick
Sent: August 2, 2000 9:51 AM
To: 'MapInfo-L'
Subject: MI MBR or not

Hello to you,

I was answering the request of Sebastian Hudson about polygons
attribute when I found out something I can't explain to myself. What is the
difference between querying the MinX of an object and querying the MinX of
the MBR's object. To me, it was the same thing, but I obtain different
value. I tought MBR was based on Min and Max value of the object. Now I
found it's different. Someone care to explain?

Here's the query:

Select ObjectGeography(obj, 1) "MinX", ObjectGeography(MBR(obj), 1)
"MinXmbr", ObjectGeography(obj, 3) "MaxX",ObjectGeography(MBR(obj), 3)
"MaxXmbr", ObjectGeography(obj, 2) "MinY", ObjectGeography(MBR(obj), 2)
"MinYmbr", ObjectGeography(obj, 4) "MaxY", ObjectGeography(MBR(obj), 4)
"MaxYmbr" from Municipalités_DTMCQ Where Left$(code_munic, 2) ="32" into
InfoBox


Here's an extract of my query's result:

"MinX"  "MinXmbr"   "MaxX"  "MaxXmbr"   "MinY"
"MinYmbr"   "MaxY"  "MaxYmbr"
667471.92   667231.92   677843.03   678063.86   226552.59
226331.4237344.29   237565.95
677400.54   677337.92   679832.76   679894.06   234335.18
234285.66   237378.1237427.62
670638.53   670359.25   683360.19   683611.49   231531.9
231269.52   244381.18   244644.03
659609.21   659251  674021.56   674342.26   233601.98
233280.08   248778.71   249101.45
653932.29   653823.25   655784.05   655891.66   240164.59
240119.47   244610.58   244655.7
646826.6646244.35   661147.04   661672.98   234878.14
234527.44   257458.31   257810.33
661718.22   661638.7664618.76   664696.5247036.25
246969.58   250453.56   250520.35
655857.02   655402.98   672300.28   672701.34   240529.82
240154.59   259233.75   259610.18
670280.91   670010.32   682541.75   682786.27   240905.89
240651.49   253302.44   253557.43
674759.64   674331.43   694261.29   694621.64   241743.61
241365.28   262030.25   262409.77
666066.95   665719.93   688366.52   688655.09   258601.27
258140.08   273947.4274409.78
662393.92   662029.76   677591.37   677914.46   250076.79
249744.53   265770.77   266103.86
654782.52   654414.67   665299.1665639.45   251802.59
251554.97   266825.28   267073.49
648200.38   647832.89   662414.4662746.77   259959.69
259613.27   274300.49   274647.75

Weird, isn't it?

Yannick Leduc, géog.
DTMCQ - SIP
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]

--
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 node coordinates in pixel

2000-08-04 Thread Jacques Paris

Pure invention but it works

Open your jpg table for "registration"

It will be displayed in a special requester for you to add reference points.
Click on the point you want. The x and y positions on the jpg (from 0,0 at
top left) will appear in the list of points window.

If you want to have a physical record of the positions, enter as many points
as you need. If you save the definitions then, MI will not accept it because
all the geographic coordinates will be 0. Enter anything for them (with the
edit button); I use simply the point id number for both x and y. Then save.

You could also rename each point to have a more useful report.

Use a text editor to read the .tab file and all your data is there.

No programming need, but I do not envy you....

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Holger Sternad
Sent: August 4, 2000 9:46 AM
To: [EMAIL PROTECTED]
Subject: MI node coordinates in pixel

Hi list!

Since my problem still remains unsolved I repost my question. Any help would
be greatly appreciated.

Here is my question:

I`m looking for a way to get the coordinates of nodes - but not as values in
the coordinate system
currently in use; what I want to know is the position of a node on the JPEG
(which I have created
using the Map Basic function SAVE WINDOW) in terms of pixel.
Any suggestions??

--
---
alta4 - the spatialists
Goergen - Keuck - Seidel GbR
Holger Sternad
Röntgenstr. 4
54292 Trier
Germany
fon:   +49.651.9913182
mobil: +49.177.2800865
fax:   +49.651.9917734
e-mail:[EMAIL PROTECTED]
internet:  http://www.alta4.de


--
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 Selecting a specific area

2000-08-10 Thread Jacques Paris

There is a MI tool that does not appear in the tool bars and that may be the
answer to your question. It is defined in the menu.def file as

Define M_TOOLS_SEARCH_POLYGON   1733

It allows you to draw a polygon and use it as the basis to your search
(different from the polygon search tool that requires a predefined object).

To use it run from the MapBasic window

alter buttonpad id 3 add toolbutton calling 1733

and it will be added to the tools pad.

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Brian Grant
Sent: August 9, 2000 9:21 PM
To: [EMAIL PROTECTED]
Subject: MI Selecting a specific area

I would like to be able to select a specific area by geographical
coordinates
from a data set.  The problem that I have is that there does not seem to be
any coordinate information in the mapinfo tables for me to select by.  What
I
have been doing is making a copy of the entire table, then deleting all the
areas that I don't want.  As you can imagine this is somewhat of a time
consuming way of doing things, and I am thinking there must be a better way
to
do this.
Can anyone help me?

--

Brian Grant
Department of Geology
University of Otago
--
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 MB help file

2000-08-12 Thread Jacques Paris

In order to complete my library of historical documents, I am looking for
the version 3.0 and 4.0 MapBasic help files,

If anyone is willing to "help" me with that, contact me please before
e-mailing the file; I don't want to crowd the net and my server with many
attachments.

Thanks In advance.

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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 MB help file. Closure

2000-08-13 Thread Jacques Paris

Thanks to those who answered me already. I am now "equipped" with these two
files.

I forgot to mention that as I am a MI/MB licensee since version 2 for Dos, I
did see any copyright infringement in my request.

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jacques Paris
Sent: August 12, 2000 8:32 AM
To: [EMAIL PROTECTED]
Subject: MI MB help file

In order to complete my library of historical documents, I am looking for
the version 3.0 and 4.0 MapBasic help files,

If anyone is willing to "help" me with that, contact me please before
e-mailing the file; I don't want to crowd the net and my server with many
attachments.

Thanks In advance.

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]

--
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 Setting label angles

2000-08-14 Thread Jacques Paris

set map layer ReplayTable Label Position Below (orAbove/Left/Right)

is correct; it can apply to the all map. But

set map layer ReplayTable Label Object LabelID Angle 45

requires an Identificator after the ID. The angle keywork is part of the
subclause ID as the position in part of the clause Label. It means that each
object requires its own angle.

To make things more frustrating, the Position key word can also be used in
ID subclauses.

Why shouldn't it be the case with Angle? I guess because of the idea  that
labels are mainly used for street naming and that the option of parallel
labels results into possible different angles for each label. I am not
defended MI, just trying to understand, and most certainly your query should
be put on the wish list (I have not checked v6.0 yet for that)

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Bob Rosen
Sent: August 14, 2000 12:45 PM
To: '[EMAIL PROTECTED]'
Subject: MI Setting label angles

I'm trying to use MapInfo 4.1 (for a legacy application) to rotate
labels.

A previous set of statements in my application is to set the label
orientation with:

set map layer ReplayTable Label Position Below (or
Above/Left/Right)

These are successful.
I then try to rotate the labels with:

set map layer ReplayTable Label Object LabelID Angle 45
print "Setting angle of label "  LabelID

the major difference from the previous statement being that if I try to
set the Angle argument for all labels as with the Position argument, I
get a pile of compiler errors (starting with "Incomplete or invalid
label sub-clause").
The "Setting angle" message appears when I run the application, so I
know that the Set Map statement is being executed.  However, the labels
never rotate.  Any idea why, or what I have to do to get them to
actually rotate?

Bob Rosen
Meteor Communications


P.S. Thank God that the next version of this application will be using
the ActiveX interface!
--
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 new utility Symb2Txt

2000-08-17 Thread Jacques Paris

I just completed a small utility to transform True Type symbols into text
objects. It is not the most accurate but it is fast and reliable.

I know that someone was looking for something like that not long ago. Anyone
interested, e-mail me direct, it may take some time before I upload it to
our site. In any case, it needs a good test before graduating to full
distribution.

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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 MB : reshaped object

2000-08-18 Thread Jacques Paris

From a MB application, I grab a selected object (o1=selection.obj) that is
reshaped and to it is added one node (using run menu commands 1601 and
1723). I would like to put the modified object into o2. If I do
o2=selection.obj (the modified object appearing to be selected) I get
anything but o1 with a new node.

Any idea?

TIA

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]



RE: MI Educational use of MapInfo Products

2000-08-19 Thread Jacques Paris

from Neil Havermale:

Then you'll need a letter from the individual or department on letterhead
asking for the Educational Discount with a brief disclosure of how its going
to be used.  Along side this cover letter must be a Department PO for the
requested order. Data is not discounted.  Updates? The policy has been no
educational discount on "updates" of any sort.  For the educational MapInfo
user and their 20 percent of list schedule, it has always been cheaper for
the school or researcher to just buy a new copy. And they have!
...

On our side of the border, the academic distribution was handled until
recently (I have not been active this past year on the university front) by
SPSS. It was exclusively a yearly site licence based on 15 seat blocks. It
included maintenance as long as you kept your subscription alive. I am
wandering how it is now and how effective is the link MI-SPSS. May be MI
relies too much on SPSS for promotion in academia?


Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]



RE: MI 6.0 A plea to lock down the tool bars

2000-08-19 Thread Jacques Paris

Short of solving the "lock" problem, here is a way to "redocked" toolpads.

fix_pads.mbx is a "ButtonPad Master". It registers their positions whenever
you want (it does it automatically when it starts with a clean slate) in an
INI file. It will restore them if they are displaced with a simple click on
an icon.

In the present state of MI, there is nothing better to expect.

Compiled for version 4.0. And it is free. And has a multi lingual
capability.

If interested, just e-mail me direct, it may take some time before I can put
it on our site.

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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/MB paper units definition scope

2000-08-20 Thread Jacques Paris

I was wandering if my understanding of the scope of the definition of "paper
units" is correct.

It seems to be limited to the "immediate environment of use", i.e. a mbx or
the Mbwindow. There does not seem to be any "communication" between
environments. If you change the units in the Mbwindow, any read in a program
will be in inches, or in the unit specified in that program if specified
previously to the read.

If I am right, the "current unit paper" is always "in" if it has not been
changed previously in the specific environment, and for a MBX, the
programmer should know what is happening.

As far as the Mbwindow is concerned, as a function cannot be used, an
empirical way to do it is to issue a "print windowinfo(1002,4)" (the width
of the window) then "set paper units "in" " followed by a rerun of the
print, and repeat with each unit type until one gets back the same value as
the first one.

I would appreciate confirmation of my understandingof that question.

Thanks

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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 new utility : Window Master

2000-08-23 Thread Jacques Paris

I just finished a new version of Window Manager I renamed Window Master.
Those interested in seeing what it can do should e-mail me their address. As
I am sure that there are some bugs or holes, I will keep its distribution on
that basis for a while before graduating it to our site.

Main features :

Window Master can record the settings of the system windows (MB, message,
ruler, info, legend, stat and MI main) i.e. position, size and state (open,
close, mini, maxi). The user places and sizes each of these windows and
decides of their state, then use the "Register..." menu item. He can then at
any moment "Restore..." those windows in their recorded state (menu item or
icon added to the TOOLS buttonpad).

Other functions are available from the menu and the WM buttonpad. They all
act directly on the FRONTWINDOW (not all functions are applicable to every
kind of window) and include setting title, size, position and default view,
adding/removing auto-scroll, scroll bar and smartpan, choosing coordinate,
area and distance units and calculation type, toggling betweeen Decimal and
DMS, between moving duplicate nodes on and off, setting the snap threshold.

Options include specifying a docked position for the tool pad and displaying
or not confirmation dialogs for some operations (e.g. scrollbars,
movenodes...).

It can be run with any language, as long as the translation is added to the
winmastr.ini file while respecting its specifications. winmastr is MLC_INI
compliant. For help or info on the subject, contact the author.

This application can be run on MI=4.0 but not all the functions are
available with every MI version; some items/icons may be greyed out
depending on the installation version.

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]



RE: MI License plates addresses

2000-08-23 Thread Jacques Paris

Parking lot surveys have been alive since ... well before the beginning of
my professional life, and I retire in a week! It is a very simple way to
find out the origin of the "clientele" in a shopping centre. It is non
obtrusive and can be done repeatedly at different times of the day and of
the week without disturbing people and with the same (in)consistency each
time.

The moral issue of using private addresses should not be overstated if they
are used to code the observed plates to geographical areas of some size
(zip, tracts..). May be the reseller should adopt some policy similar to the
bureau of census (addresses coded to a geo base not allowing for individual
recognition)

And Bill, if you want privacy, rent a car! I have a good address in Boulder!

Jacques

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Bill Thoen
Sent: August 23, 2000 4:06 PM
To: 'MAPINFO-L'
Subject: Re: MI License plates  addresses

Ken Fioretti wrote:

 I have a retail client who approched me with this problem: They want to
convert the license plate numbers of their customers into addresses for
tracking purposes. My first question is, how can I get this done?

 Any help would be most appreciated. I would also like to hear from anyone
wishing to address the legal, ethical, moral, or privacy issues.

States have been known to sell drivers license info with SSI #,
address and picture if the price is right (I think it cost $5000 for
all of Colorado at one time), but I suppose for car tags the agency
you'd contact would be the state DMV.

On the ethics side of things, I think that all citizens who cannot
opt-out of license plates or drivers licenses by law if they want to
drive, ought to be able to require any other party to ask permission
of them FIRST before they use these public records for purposes
beyond what they were originally intended for.

My first question is WHY do you want to get this done? I know, the
short answer is because the client is willing to pay for it... but
that's not my point. Perhaps as GIS experts, and keepers of the keys
so to speak, we should start considering our role in developing the
information terrain of tomorrow's landscape. We do have some control
over now.

Where's the limit for personal privacy? Consider all the interesting
things we could do with GIS if we could only get everyone from
new-born babies to most experienced in living fitted with lifetime
subcutaneous transponders that would broadcast their unique Id when
scanned. You'd never lose track of yuor kids again. In a disaster,
emergency response teams could find you anywhere. Crime and mayhem
would drop to zero, because criminals couldn't hide. Market analysis
would be so much more efficient and less costly, and the governement
(or anyone) could run an accurate census every day. Tie all that
realtime micro-spatial accuracy to powerful data harvests from
electronic transactions and you'd have a dream world!

Dream world? I'd call it a nightmare. Even Machaevelli would
probably have misgivings. But if you think that's too much, then
where DO we draw the line? A question all engineers should ask
themselves every once in a while is, "Do I accept any job because it
has interesting challenges or pays well, or are there some things I
won't do on principle?"

Before you can answer that, you have to decide what your principles
are.

- Bill Thoen

GISnet, 1401 Walnut St., Suite C, Boulder, CO  80302
tel: 303-786-9961, fax: 303-443-4856
mailto:[EMAIL PROTECTED], http://www.ctmap.com/gisnet

--
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 RE: Open Table Interactive confusion

2000-08-24 Thread Jacques Paris

MI puts interactive only after the tables that are not in the same directory
as the wor when it is created. That creates an inequality in the treatment
of the tables open by a wor. If it does not find the table where it should
be located, without interactive it will be an error; with it, an "open file
requester" is displayed to specify its directory.

I have written WorInter.mbx that will add "interactive" to every open table
statement to avoid that trouble later on. Available on our site free.


Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Wright, Kevin
Sent: August 24, 2000 2:02 PM
To: [EMAIL PROTECTED]
Subject: MI: Open Table Interactive confusion

Hello All,

Could anyone explain to me the logic behind the usage of the
"Interactive" keyword in the "Open Table" statement?  It seems that MI
decides randomly whether to place the "Interactive" keyword at the end of
that statement.  It would seem to me that it should put it on ALL open table
statements, but this is just not the case.

Any ideas?

Kevin Wright
ICF Consulting
Senior GIS Associate
9300 Lee Highway
Fairfax, Virginia  22031-1207
Voice:(703)218-2647
Fax:(703)934-3974
[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 mapbasic: clear cosmetic layer

2000-09-01 Thread Jacques Paris

delete from layerinfo(frontwindow(),0,1)

That works from the MapBasic window. Could replace frontwindow() by any
mapper name

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daniel Budmiger
Sent: September 1, 2000 2:40 AM
To: Mapinfo User Group
Subject: MI mapbasic: clear cosmetic layer

dear all,

how can i clear a rectangle or another object from the cosmetic layer in
mapbasic?

thx

Daniel Budmiger


--
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 scale-bar in layout

2000-09-01 Thread Jacques Paris

how can i create a scalebar in a layout window?

If you want to do it, try LAYSCALE available free on our site. If you want
to know how to program it, try to get the code

or how can i get the extension of a frame in a layout?

If by extension you mean its size, double click on the rectangle=frame and
you will get its dimension. If you mean the min/max coordinates of the map
it containts, just query the corresponding mapper (mapperinfo attributes
mapper_info_maxx ..maxy minx and miny)

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daniel Budmiger
Sent: September 1, 2000 2:43 AM
To: Mapinfo User Group
Subject: MI scale-bar in layout

dear user-group

how can i create a scalebar in a layout window?
or how can i get the extension of a frame in a layout?

thanks

Daniel Budmiger

--
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 MB language history

2000-09-07 Thread Jacques Paris

I have just finished compiling a history of the changes in the MapBasic
language since the initial Windows 3.0 up to and including 6.0. I have put
it in the form of a pdf document of slightly over 150K. It is certainly not
a document that could become a substitute to an official publication but it
offers hints about when changes were introduced in the language and what
they involved.

As there is no official publication about that subject, there is plenty of
room for lacking precise information, for relying on various kinds of
documents, for calling on personal experience. My hope is that we could
through a collective effort constitute a solid basis on the subject and I am
offering that document as a starting block.

E-mail me if you are interested and feed me with more, better info to
improve the document. Thanks in advance.

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]



RE: MI units of measure in workspaces

2000-09-14 Thread Jacques Paris

No way but inches. I have banged my hand into that one several "versions"
back. I guess that this is a non-paying issue for MI and they have avoided
dealing with it.

I had to design a metric layout and fine tuning would have been easy
directly on the wor, but when you have to convert +.35mm in a measure given
in inches, all the fun is gone.

Let's have another volley of 4 in. gun at them (that's all I can afford!)

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Woods, Phil
Sent: September 14, 2000 1:14 PM
To: '[EMAIL PROTECTED]'
Subject: MI units of measure in workspaces

I have a simple question about workspaces and units used by MI.

Does Mi always write workspaces in inches?
I am trying to create workspaces that use metric paper units.  So far I have
been unable to create a workspace that contains frame positions, text
placement, etc. in metric units.  I have set system preferences, distance
units, etc to metric values.  I have even tried setting my computer to use
metric units, all to no avail.  When I save a workspace and then examine it
in a text editor the layout units are in inches, not "mm".

I am based in the US and so don't normally deal with metric units, any
comments would be welcome.
Thanks

Philip
--
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 MB s(t)imulation of info

2000-09-14 Thread Jacques Paris

Does anyone know how to s(t)imulate the info tool from within MapBasic?

That should be done with only the x and y of a point rather than using the
tool and clicking on that point.

Thanks,

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]



RE: MI Creating points

2000-09-15 Thread Jacques Paris

To make the procedure even simpler, you do not have to create and populate
the 2 columns. With your copy of the region table open, write and run from
the MapBasic window

update your_table_name set obj= createpoint(centroidx(obj),centroidy(obj))

If you are not positively sure that there are only regions in your table,
start by selecting those

select * from your_table_name where str$(objectinfo(obj,1)="7" into sel

then

update sel set obj= createpoint(centroidx(obj),centroidy(obj))

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Michel Larue
Sent: September 15, 2000 12:42 AM
To: [EMAIL PROTECTED]
Subject: Re: MI Creating points

Dear Gilbert,

It is because MapInfo can have only one object attached to one record, and
the object is already there, it is your polyon. In fact mixing polygons and
points is not either a good idea, and is even forbidden in Arcview. So I
suggest that you save a copy of your polygon table with another name, open
this table, update your columns with centroidX and centroidY, remove the
polygons and create points.

Have Fun

Michel Larue

At 11:51 14/09/00 -0400, you wrote:
Could someone help me with the Create points command from the Table menu?

I have a polygon table which is editable, I created 2 new columns in the
associated browser that I filled with the X and Y coordinates of the
polygon's centroid. Then I'm using the Create points command to get that
central point feature for each polygon. I get no error message, but no
points either. Why this?

_

Yves Gilbert
Agent de recherche/Research Officer


--
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 Creating points

2000-09-15 Thread Jacques Paris

Of course Mi loves mixed bags. The segregation of different object types in
different layers cannot be justified by MI capability of handling and
displaying them, by far. But I have found 3 reasons to promote segregation.

It may have something to do with the non-graphic part of the table: most
often, different object types correspond to different realities that are
best described by different variables. Forcing every object type to carry
exactly the same set of variables may be counter-productive and segregation
would be justified.

Do not forget that mixed bags will have some constraints on possible
treatment based on object information. e.g. updating a column with the area
of the objects can be done on sets of closed objects only, if not kaboom.
But this can be avoided by updating selections containing only the right
objects.

Finally, segregation is the only way to control effectively the visibility
of overlapping objects (given the fact that MI display order cannot be
controlled), but it might not be based on type only; smaller closed objects
might be on a higher layer than larger closed objects that would occult
them.

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of CDR Group
Sent: September 15, 2000 8:25 AM
To: [EMAIL PROTECTED]; Michel Larue
Subject: Re: MI Creating points

Michel

I was interested in your comment that mixing polygons and points
in the same table is not either a good idea, and is even forbidden in
Arcview.

A major factor in choosing Mapinfo for us, was that it DOES have the
flexibility
to store points, lines, polygons and text objects in the same database
AND to have a variety of symbols, linestyles and fills to depict 'types' of
record.

Hopefully, Gilbert has a solution to his 'create points' problem by now.
Perhaps you could comment or discuss with other listers on this issue??.

Regards

John Ievers
Fuel starved in the UK

(Petrol blockades just lifting now - for those not aware!!)

-Original Message-
From: Michel Larue [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: 15 September 2000 13:03
Subject: Re: MI Creating points


Dear Gilbert,

It is because MapInfo can have only one object attached to one record, and
the object is already there, it is your polyon. In fact mixing polygons and
points is not either a good idea, and is even forbidden in Arcview. So I
suggest that you save a copy of your polygon table with another name, open
this table, update your columns with centroidX and centroidY, remove the
polygons and create points.

Have Fun

Michel Larue

At 11:51 14/09/00 -0400, you wrote:
Could someone help me with the Create points command from the Table menu?

I have a polygon table which is editable, I created 2 new columns in the
associated browser that I filled with the X and Y coordinates of the
polygon's centroid. Then I'm using the Create points command to get that
central point feature for each polygon. I get no error message, but no
points either. Why this?

_

Yves Gilbert
Agent de recherche/Research Officer


--
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]



RE: MI Create Menu Bar statemant in Runtime

2000-09-16 Thread Jacques Paris

Thomas,

The create menu bar statement gives the following message "Does not evaluate
to a string" in the MBWindow environment. The reason is simple: you can use
the name or the ID of "a standard MI menu" but only "the name of a custom
menu created through a Create menu...". Replace 1001 by "MyMenu" and it
should work.

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Thomas Brix Lyng
Sent: September 16, 2000 4:53 AM
To: '[EMAIL PROTECTED]'
Subject: MI Create Menu Bar statemant in Runtime

Hi listers

I have a problem with the create menu bar statemant in a runtime version of
MI 5.5.

My code is:

create menu "MyMenu" as
  "Open file" id 1001 calling openfileSub

Create menu bar as
   1001



but nothing happens when I run the program?

Regards

Thomas Brix Lyng
Frederikshavn Munincipal Administration
Denmark
--
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 MB: Run Command Limitation

2000-09-21 Thread Jacques Paris

I have written the most sophisticated program of all :

dim a,b as string
onerror goto crash
a=""
boucle:
a=a+"A"
b="print "+""""+a+""""
print len(b)
run command b
goto boucle
goto fin
crash:
print "error "+err()
fin:
end program

and it gets stuck on a command at 508 characters (error 965, expression too
complex). The run command accepts thus a string of 507characters. That would
be 512 - 5 (let us assume that it is some code id).

Aren't they other places in MI where the 512 character limit is imposed?
Don't I remember something of the sort with the "where" clause of the SQL
requester?


Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mike Taylor
Sent: September 21, 2000 1:04 AM
To: 'Mapinfo List'
Subject: RE: MI MB: Run Command Limitation

Hi again

Seems I spat the dummy at the wrong statement.
I changed the string (from select to print) that I was sending to run
command. eg,
From:
qs = "select ... lots of stuff ... from table into anothertable"
run command qs
To:
qs = "print ""select ... lots of stuff ... from table into
anothertable"""
run command qs

This worked fine, so I will change my question to why is this happening with
select??
The amount of characters seems to be variable as well depending on the
expression?
I've attached a program which will generate the problem on my machine.


-Original Message-
From: Mike Taylor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 21 September 2000 15:20
To: 'Mapinfo List'
Subject: MI MB: Run Command Limitation


Hi

I seem to have run into a size limitation on the string you can pass to run
command.  It works when I trim the string down to 421 characters and fails
(badly, invalid page fault) when it is 422 characters.
The command also fails when I put it into the mapbasic window of
professional.
Is there any workaround for this?
Why is 422 the magic number?
--
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 ad or else?

2000-09-23 Thread Jacques Paris

To advertising, of which I have no idea how obtrusive it could become, I
would prefer sponsorship.

It could take a very simple form. Add 4 lines in the message that is always
at the end of our mail (To unsubscribe...) that will say :

This month, the mapinfo-l site is supported by: ... and a max of 3 lines
identifying the sponsor and its coordinates.

Sponsorship will be obtained by paying a given amount per month (let us say
$25). Sponsors could buy more than a month at the time (simplification on
the administrative side) but they will be given "recognition" in alternation
with other sponsors if any are "waiting" (to avoid monopolization because
mapinfo-l is a collective enterprise).

I am sure that among us there are certainly 12 persons or companies ready to
spend a legal expense of $25 (even in US $) once a year to keep this famous
ball rolling. Keep it within ourselves and we will continue enjoying it
fully.

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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 contents of system windows frames in layout

2000-09-24 Thread Jacques Paris

I found out (never too late!) that the frames defined for the statistics(?),
messages and info tool system windows loose any specific contents when the
layout is saved in a workspace.

Is it unavoidable? Is there a way around?

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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 statistics frame in a layout

2000-09-24 Thread Jacques Paris

I am trying to figure out a way to fill a frame of a layout with the
contents of a statistics window. I suppose that it is possible because when
defining the contents of a newly created frame, the scroll list of available
windows include the "statistics" one. However, the contents definition is
only possible if the statistics window is closed.

Something I missed?

Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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 wor and language differences

2000-09-24 Thread Jacques Paris

I was brought on this question by a co-lister who could not load a wor saved
on a "foreign" MI on an English ProViewer.

I have identified the possible origin to the labelling of the frame titles
of a layout saved in the wor. More precisely, it is the presence in those
titles of some key words that creates the problem; these key words are those
appearing in the automatic naming of the windows when created by MI (ex.:
"impact analysis Map" or in French "analyse de l'impact Carte"). I have
detected the following : Map, Graph, Browser, Legend, Theme Legend, Info
Tool, Statistics, Messages, Redistricter (Any more?)

A way around implies renaming the windows to make sure that the "foreign"
key words are not used.

I would not be surprised to learn that this problem occurs between MI of
different languages, that the exchange of wor between machines set for
different languages is hampered by that problem.

I would like to have confirmation of my observation and details on
circumstances in which it was observed and ways around it.

I have written a small mbx that may be of help (It scans a wor for specific
"foreign" key words that if found are replaced by English ones). I could
very easily expand its functions to translate between any two languages, but
I would like to have a more documented view of the problem before I make the
changes.


Jacques PARIS

e-mail[EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://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]



RE: MI-L Internal limits

2000-11-13 Thread Jacques Paris

The definitions contained in the MB v6.0 help file of Create Pline and
Create Region both give the same limits:

A single-section polyline can contain up to 32,763 nodes. For a
multiple-section polyline, the limit is smaller: for each additional
section, reduce the number of nodes by three.
A single-polygon region can contain up to 32,763 nodes. For a
multiple-polygon region, the limit is smaller: for each additional polygon,
reduce the number of nodes by three.

However, the "version 4.5 supplement" states clearly that "the maximum
number of nodes for regions and polylines has been increased to 1048572
nodes for a single polygon region or polyline. The limit drops by seven
nodes for every two additional polygons."

It seems that MI has missed another place where updating would be welcome.

In any case, the limits for number of nodes and number of elements are not
independent; their sum is limited.

Jacques PARIS

e-mail[EMAIL PROTECTED]

For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

For MapBasic questions see the J.Paris site at
http://www.total.net/~jakesp/index.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: November 13, 2000 9:29 AM
To: [EMAIL PROTECTED]
Subject: MI-L Internal limits

Are there internal limits in MapInfo 6:
Maximum number of polygons per region?
Maximum number of points per polygon?
Maximum number of points per region?

Thanks in advance
Josef Wintner




___
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.



___
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.