Re: MI-L Need Code to find nearest Point

2001-01-06 Thread Bill Thoen

Dietrich Kastens wrote:
 Does anyone know of any code out there that would allow me to find a
 neareast nieghbor point to another point.  In Mapbasic, the geographic

Here's the algorithm:

Extract X and Y coordinates of your point
Select all OTHER points
Extract X and Y coordinates and RowId of first other point
Set NearestDistance = Distance between the two points 
 (Use MapInfo's Distance() function for this)
Set NearestId = RowId
For each other point
  Extract X and Y coordinates and RowId
  Calculate Distance between the two points
  If Distance  NearestDistance
 Set NearestId = RowId
 Set NearestDistance = Distance
   

After this loop finishes, the Row Id of the nearest point is NearestId,
and you can use Fetch on the selection of other points to retrieve it.

- 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



___
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.



Re: MI-L MIF/MID Specification

2000-11-27 Thread Bill Thoen

"Günther, Stefan" wrote:
 
 Hi Listers,
 
 is there anybody out there who knows something about a official
 specification of MI's MIF/MID-format (and where to get it) ?
 

"Official" MIF info is at:
http://www.directionsmag.com/mapinfo-l/mif/Table_of_Contents.htm

This was given to me by MapInfo to post in a public place.


- 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



___
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.



Re: MI-L MB Text file editing

2000-11-12 Thread Bill Thoen

Jens Åge Nielsen wrote:
 I want MapBasic to read an ASCII text file and search for a particular text
 string. If the string is found, it should be replaced by another string. The
 new string may be shorter or longer than the original one.  The text file is
 sequential, not fixed-length.

There's more than one way to do this, but here's a possible
solution, assuming the following conditions are true. 1. Your ASCII
file contains individual lines of text, each line terminated by a
newline or carriage return character. 2. No line of text in your
file is longer than 255 characters.

If these conditions are met, then open the text file for input and
use "line input" to read in each line. Open another for output. Then
read each character in the string, looking for the first one that
matches the first character in your target string. If you find a
match, keep track of the position in the string where it, and copy
the searched string up to that point to the output file. Check the
next characters to see if you really have found your string. If any
character is found that indicates that you haven't got the full
search substring, then copy everything from where you first started
checking up to the current point, and continue on. If you do find
your search string then simply copy the replacement string to the
output file instead, and proceed as before from where your search
string ends.

Do this line by line until the file is done, then close both files,
use "kill" to delete the original and "rename" to change the new
output file name to the original file name and you're done.

An obvious wrinkle in this algorithm is what happens if the search
string spans more than one line? If you are finding matches for your
search string, and you run out of line, then read another line and
tack it on to the first, and continue searching as you had been. You
might want to stick a newline (chr$(10)) in your output to sort of
maintain line wrapping but that's up to you. Actually, line wrapping
is really a separate function with its own bucket of worms to sort
out.

This is probably not the most efficient technique, but it's easy,
and it will work. A character by character file search in MB is
slow. You might speed it up by breaking out words instead of
characters with InStr() by searching for spaces as delimiters, and
then doing word string comparisons instead of character comparisons.

Actually, search and replace is a fairly knotty problem when you
really get into it, but it's an interesting problem. If you want
some real fun, try to build an editor in mapbasic. One that
supported RTF and HTML might be quite a handy tool, but I think if
you try this with MapBasic, you would find the job to be something
like building the Three Gorges Dam with a teaspoon.

- 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





___
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.



Re: MI-L Newbie Question

2000-10-20 Thread Bill Thoen

Eddie wrote:
 
 I'm new to MapInfo and have a very basic question that I can't seem to find
 the answer to. The salesperson who sold it to me 'promised' to set up the
 first several maps that I needed. That was just before the sale however. Now
 she's non-existent.  The question is: How do I layer the thematic maps so
 that they are transparent. I have 5 layers on one map and need to be able to
 see all of the layers. I have all of the layers setup and in use but can
 only see the top layer. I've used patterns to distinguish each layer if I
 can only view them. I know that I can send each layer up or down but still
 have the same problem viewing ALL of the layers.

You need to use the "transparent" styles for the themes on top,
and the odd thing is that you need a separate master layer
between each (which you must make invisible to see through it)

I did make it work with the States table. Basically open the
table in a mapper, and create your first theme. Then add a second
copy of the layer to the map, and them that. Be sure to choose
only one of the "transparent" pattern themes, and make sure each
theme is above a separate copy of the map layers (use Layer
Control to see). Finally, turn off the visibility on all master
layers between the themes (answering "No" to question it asks
you. This will work, but what won't work is trying to add a
second theme to a layer that already has one; even if you choose
a transparent pattern. Each theme must be based on a separate
layer, but you can use multiple copies of that layer.

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



___
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.



Re: MI Objet texte

2000-09-27 Thread Bill Thoen

Olivier Latouille wrote:
 
 Quelle requête faut-il exécuter, soit dans MapInfo soit dans un
 programme MapBasic, pour récupérer le TEXTE d'un OBJET TEXTE ?

C'est: 
   sText = ObjectInfo(obj, OBJ_INFO_TEXTSTRING)
ou:
   sText = ObjectInfo(obj, 3)

Bon chance!
-- 
- 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]




Re: MI duplicating records

2000-09-26 Thread Bill Thoen

"Kamel, Jennifer" wrote:
 
 I am doing a employee distribution.  The broker wants one dot = one
 employee, yet the database gives me one dot per zip code.
 

I suspect all your employees are stacking up on their common ZIP
code centroids. You might try the Disperse points tool that comes
with MapInfo to jiggle them around so you can see them.

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




MI MapInfo-L moving news

2000-09-25 Thread Bill Thoen

Thanks for all the feedback folks! I’m really a bit overwhelmed at all your positive 
response  and all the personal offers to help
support MapInfo-L with actual cash and resources. We’re actually in no danger of 
ending up begging on the street it seems. 

I think to start with we will keep any advertising pretty light. It doesn’t take much 
to keep us going but it’s not nothing, either.
So you may or may not see an ad in the future occasionally. If these do appear, they 
will be as short and pithy as possible (40
words max), focused on MapInfo-related interests, and I’ll try to make sure you don’t 
get too much spam in your email diet. You can
sing the Monty Python Viking Song at me if it ever gets too much up your nose. 
(1200-part harmony should be pretty interesting!) 

Okay, enough philosophy; here’s the deal. On Wednesday, Sept 27, Jeff Koncz (Direction 
Magazine’s web wizard) and I will transfer
all the current subscribers from the old list to the new. This will take a little time 
to do so messages will probably still be
flowing over both lists for a while. We may mess up a thing or two so give us a day or 
so to sort it out before you scream bloody
murder. You can also unsubscribe yourself from the old list, and sign yourself up to 
the new anytime now if you like.

Here’s how: To sign up to the new list, send email to 
[EMAIL PROTECTED] and in the body of the message, just put:

subscribe MapInfo-L

and that will do it. To send public mail to the new list, the address is 
[EMAIL PROTECTED] You can start sending mail there as soon as you are 
signed up. 

The old list will be closed after Oct 6th. Maybe mail will get forwarded, but things 
may be melting down pretty quickly over at
Supernet then, so I wouldn’t get stuck there if I were you. If you don’t remember how 
to get off the old list, just send mail to
[EMAIL PROTECTED] and in the body of the message put:

unsubscribe MapInfo-L

BTW, spelling counts (but type-case doesn’t). "uscriv", "unsusbribe" and other random 
associations of letters will get you null
results. Remember you’re giving commands to a robot, and it’s a pinhead. Like any 
computer, it will do exactly what you tell it to
do... which is why computers can be so frustrating at times.

Whether you wait to be transferred automatically, or do it yourself, you will receive 
a "Welcome" message that will tell you all
about MapInfo-L and how to use the Directions Magazine majordomo mailing list 
software. If you don’t get a welcome message by
Friday, the transporter beam failed, and all your atoms are scattered hither an yon 
throughout cyberspace. Bummer. Now you know what
it’s like to the "geologist" on any Star Trek I episode. But should that unlikely 
event happen, just follow the above instructions,
or contact me, and all will be cool once again.

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



MI Re: About DiaBuilder

2000-09-25 Thread Bill Thoen

"MAGS (Mapping Global Solutions)" wrote:
 
 Hi,
 I want to test DiaBuilder but the address indicated in B.Thoen email is not
 correct or is no running right now:
  http://www.wap3.com/diabuilder2000.htm
 Is this correct or exist another one ?
 
 Thanks

Try http://wap3.com/DiaBuilder2000/diabuilder2000.htm

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



MI How to unsubscribe

2000-09-25 Thread Bill Thoen

Butterfield Grantley wrote:
 
 Unsubscribe MapInfo-L
 --
 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 the OLD MapInfo-L list, send email to [EMAIL PROTECTED] and in the 
body of the message put:

unsubscribe MapInfo-L

See additional info at the MapInfo-L Clearinghouse site: 
http://www.directionsmag.com/mapinfo-l

You will get a note confirming your request and subscription status. Once you do sign 
off you may still receive a few messages, but
it should stop in less than a day.

If you get a note saying that you are "...not a member of this list..." then it 
probably means that the address you signed up with
is not the address you are currently using. In that case, just add the address that 
you want unsubscribed one the unsuubscribe line.

Example: 
Suppose your address is now '[EMAIL PROTECTED]', but you were signed up as 
[EMAIL PROTECTED] To get this address off the
list, send e-mail to majordomo and in the body of the message put:

unsubscribe MapInfo-L [EMAIL PROTECTED]

This has to be approved manually, so give me a day to get to it. As long as the real 
address resembles the address you want taken
off, I'll approve it automatically. If they aren't even close, then I will send a note 
to the address being unsubscribed, and if
there's an affirmative or a no response, that address gets removed.

Other problems, please contact me directly at [EMAIL PROTECTED] or [EMAIL PROTECTED]

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




Advertising to fund MapInfo-L (was MI ANNOUNCEMENT: MapInfo-L is moving! -No Advertising!!)

2000-09-22 Thread Bill Thoen

[EMAIL PROTECTED] wrote:
 
 One Comment about the advertising with the e-mail.
 
 Don't do it!
 
 That's the sort of thing that could run me off from this list faster then any thing 
else.

Would you be willing to pay a subscription fee to get the list
mail then? How do you suggest we afford the service? Would you
prefer twice-yearly fund drives like they do for public
broadcasting?

It's been free because I managed to get a good deal at Colorado
Supernet for the last 6 years. That made it cost so little (and
was helped by some donations and the proceeds of an auction) that
my business carried it these last few years. It cost $14.95/mo
plus my time, which was gladly given because it has also been
good for my business. But SuperNet got bought out by Qwest/US
West, and because SuperNet isn't profitable enough for the big
wheels, the wheels are closing down that service. The hard, cold
Morlocks meet the Eloi of the Internet.

In a perfect world advertising serves to connect people who have
needs to products and services that answer those needs, and
that's the goal we would try to attain. I am all too aware that
in our real world, advertising also tries to *create* needs and
wants and stick a straw into your wallet and suck hard. We all
know that activity sucks, but is there any creative solution that
we can come up with where we can generate enough cash to pay for
the infrastructure we need to make this list a success? Lists do
not live by email alone.

Perhaps we can do a mix of paid subscriptions with no advertising
with some freebie subscriptions that come with a helping thinly
sliced spam. How about the USGS buying up a block and giving them
out to employees? Maybe people with deeper pockets could fund
subscriptions for students who are full of bright ideas, but no
money. Maybe we could charge enough for advertising so that there
wouldn't be many (but if there were none, that wouldn't help) Or
maybe the ads wouldn't be so bad or common anyway. Maybe we could
do a mix of donations, light advertising, auctions, and fund
drives. But all that work takes volunteers or paid staff.

Advertising is the easiest solution. If you don't want it at all,
get creative, and not to put too fine a point on it, put your
money where your mouth is. The form that these will take has not
been decided yet anyway. All that's been talked about is that the
service can be offered and that advertising would be a covenant
way to afford it. 

As Henry D. Thoreau once said, "All great enterprises should be
self-supporting."

How about some ideas instead of complaints?
-- 
- 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]



MI ANNOUNCEMENT: MapInfo-L is moving!

2000-09-21 Thread Bill Thoen

As a result of all the recent telecom mergers here in Denver
recently, the service provider we have been using to host MapInfo-L
is getting its plug pulled Oct 6 and we have to move the list. The
domains csn.net and sni.net will be cold and dark after the 6th.

The new home is going to be at Directions Magazine very shortly. We
will be running a more up-to-date majordomo server so we will
finally have digest capability, faster turnaround and some other
goodies. The rules and guidelines aren't going to change and Scott
Elliot (owner and publisher of Directions Magazine) has assured me
that your email addressed will not be used for any other purpose
than the MapInfo-L subscriber list. I'll still be doing the
caretaker services, and my address here isn't going to change.

You will still be able to receive individual emails, but now digest
mail will be available. You will also be able to read mail in the
Discussions area on Directions Magazine's web site. Things will work
basically like they do now, only faster and there will be more
features. Another change is that there will some MapInfo-oriented
advertising in the new email, but the form this will take is not yet
decided. We need to figure out a way to make it all worth everyone's
while. Ideas or suggestions anyone? 

Your email addresses will be moved automatically in a few days, so
all you'll have to do is change where you send messages. You'll also
all be sent a new "Welcome" message that has all the details and
commands for working with majordomo in it. 

If you don't want to have your address moved automatically, then you
should unsubscribe before addresses are moved. I will let you know a
few days when addresses will be moved. 

I'll announce the new server and list addresses real soon now after
we finish testing. This note is just a "heads up" to open up the
discussion and give people time to make any changes they want to
make. Does anyone have any special requests or checklist items I
need to add to my to-do's to herd all you cats over to the new list? 

Questions? Comments? Discussion? Objections? 

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



MI FYI MapBasic Developers: A Tool for Building MB Dialog Code

2000-09-20 Thread Bill Thoen

Remember a few weeks ago when DiaBuilder was first announced in this
forum? This is a software tool used for building MapBasic dialog
code visually. For me, writing MapBasic dialog code is pretty much
an ordeal and it takes far too much time. I needed something that
would speed up this process, and figured that risking $40 was no big
deal, so I bought it. Besides, it's built by an active MapInfo-L
member (Trey Pattillo), and I've learned that you can sometimes find
some pretty amazing software inventions in this group!

Well by golly, it works, and it works very well! It *is* a real
find. I liked it enough that I thought it was worth reviewing to let
other developers know about this, so if you're interested, click on
over to Directions Magazine and you can read about its pros and
cons: http://www.directionsmag.com/article.asp?ArticleID=76

There is a free demo of DiaBuilder available from
http://www.wap3.com/diabuilder2000.htm, but if you have to write
more than 2 or 3 real MB dialogs a year, I think you will find that
the commercial version pays for itself very quickly.

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



MI Looking DEM file - 1:250K Ssn Bernadino

2000-09-15 Thread Bill Thoen

I am unable to download the 1:250K DEM from the USGS site at
ftp://edcftp.cr.usgs.gov/pub/data/DEM/250/S. There's seems to be
rust in the pipe or something. Can anyone tell me where else I can
get it from today?


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



MI Got it! Re: Looking DEM file - 1:250K Ssn Bernadino

2000-09-15 Thread Bill Thoen

Thanks everyone; I have this now... apparently some people have
better access from other locations.

Bill Thoen wrote:
 
 I am unable to download the 1:250K DEM from the USGS site at
 ftp://edcftp.cr.usgs.gov/pub/data/DEM/250/S. There's seems to be
 rust in the pipe or something. Can anyone tell me where else I can
 get it from today?
--
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: who mapinfo-l (was MI Date: Thu, 14 Sep 2000 09:44:00 +1000)

2000-09-13 Thread Bill Thoen

"Van Uitregt, John" wrote:
 
 who mapinfo-l
 end

Sorry, but the list of MapInfo-L subscribers is no longer open to
the public as long as I have anything to say about it. Even if
you direct this request (as you should have) to the server,
[EMAIL PROTECTED], it too has been instructed to clam up about
this information. 

The chill shadow of the Spammer now darkens our land, and our
tribe has no defense other than to keep a low profile.  

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



SUMMARY: MI What happened to Groupe Korem?

2000-09-08 Thread Bill Thoen

Thanks everyone. Apparently there was a short time where some of
us in North America and Australia couldn't reach Le Groupe
Korem's web site, but everything works fine now.

Their home page at http://www.korem.com/ works fine from here
now. For info on MapLogix here's an english-language page:
http://www.map-logix.com/. Also their site for internet mapping
(Push'n See) is at http://www.pushnsee.com/index.html.

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



MI What happened to Groupe Korem?

2000-09-07 Thread Bill Thoen

Does anyone know what's happened to Le Groupe Korem (makers of
MapLogix)? Their web site at http://www.korem.com seems to be out
cold. 

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



Re: MI Opening multiple files

2000-09-06 Thread Bill Thoen

Matthew Greatorex wrote:
 
 Is anyone aware of a simple way to open all tables within a particular file, given 
the path to that file?
 
 I'm hoping there's something in MapBasic along the lines of
 
 Open Table "F:\outerfolder\innerfolder\*.* "
 
 Where all of the files within "F:\outerfolder\innerfolder\" are mappable tables.
 

You'll probabaly need to use some Windows API functions like
FindFirst and FindNext to do that. I posted an example of that (with
MapBasic source) at the Directions Magazine Tools site. See
DirectoryDemo.zip at
http://www.directionsmag.com/tools/default.asp?a=fileid=4

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



Re: MI MapInfo Pro 6.0 Demo

2000-09-06 Thread Bill Thoen

[EMAIL PROTECTED] wrote:
 I think my mind is playing tricks on me. I thought that early this year I
 had downloaded a trial version of MI 6.0, now I can't seem to locate the
 file on my network. I just thought that I would download it again, but I
 can't seem to locate the demo version on the MI site.
 
 Did I dream that there was a demo version?

You're dreaming. There is only a "slide show" of MI 6.0, no free
download; never has been. At least not here in North America. Maybe
you're thinking of MapX? That you can download and try out.

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



MI How to unsubscribe from MapInfo-L

2000-09-01 Thread Bill Thoen

Jeff Spirek wrote:
 
 unsubscribe mapinfo-l

Why are so many people trying to unsubscribe and doing it the
wrong way?  The info is written on the bottom of every MapInfo-L
message. 

Here's the canned reponse, which I'm posting publically here, so
please take note everyone. (not that anyone'll ever remember it
when they want off some time in the future, but how else can I
make the point?)

---
To unsubscribe from the MapInfo-L list, send email to
[EMAIL PROTECTED] and in the body of the message put:

unsubscribe MapInfo-L

See additional info at the MapInfo-L Clearinghouse site:
http://www.directionsmag.com/mapinfo-l

You will get a note confirming your request and subscription
status. Once you do sign off you may still receive a few
messages, but it should stop in less than a day.

If you get a note saying that you are "...not a member of this
list..." then it probably means that the address you signed up
with is not the address you are currently using. In that case,
just add the address that you want unsubscribed one the
unsuubscribe line.

Example: 
Suppose your address is now '[EMAIL PROTECTED]', but you were
signed up as [EMAIL PROTECTED] To get this address off
the list, send e-mail to majordomo and in the body of the message
put:

unsubscribe MapInfo-L [EMAIL PROTECTED]

This has to be approved manually, so give me a day to get to it.
As long as the real address resembles the address you want taken
off, I'll approve it automatically. If they aren't even close,
then I will send a note to the address being unsubscribed, and if
there's an affirmative or a no response, that address gets
removed.

Other problems, please contact me directly at [EMAIL PROTECTED] or
[EMAIL PROTECTED]


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



Phriday Philosophy (was: MI and Manifold)

2000-08-25 Thread Bill Thoen

In reference to the short discussion on whether Manifold is as good
as they say:

"Eric Frost / HR and Associates, Inc." wrote:
 Note: this sort of disturbs me (and still I like it) that we discuss other GIS's and 
any topic actually on this MI-list... I just know arcview-l is moderated--they've 
turned down a few of my innocuous queries about intl data--but to add to the 
discussion regarding MI's marketing (I noticed several posts regarding their 
education sector efforts) couldn't MI pony up to allow BT or anyone to sift through 
stuff? at least we would not be a prime deliver of KAK...(pun intended)

As everybody here knows, MapInfo-L is a very open forum--some would
say it's too open, but I kind of like that aspect too. To my mind,
the horizon of my the GIS sphere doesn't end with MapInfo, and
learning of a few seemingly unrelated things seems to broaden my
view.

However, MapInfo-L isn't GIS-L or GISlist, and perhaps we need to
remind ourselves occasionally that it's main focus is MapInfo.
General GIS comments or questions probably ought to go to those
other lists first. I'd prefer to leave that as a guideline rather
than a rule, because I wouldn't want to be a censor, or suffer
anyone else's permission to post whatever I'd like to post.
Sometimes a serendipitous posting generates a very welcome but
unexpected line of thought.

Of course, a nicer and more positive term for censor would be
"editor." An editor would ensure that what makes it into the email
stream would be clean (no virus or spam) mail, summarized responses,
HTML format-free and attachment-stripped messages. The topics would
be limited to what that edited forum lists as relevant. Anyone could
post to the forum too, but whether their message just passes through
to the origin forum(s), or gets rejected, or gets included in the
edited feed depends on how closely they follow the forum's
guidelines.

Think of it as a managed portfolio of email. One focus might be
MapInfo-not-Programming, or another might be
MapInfo-with-significant-GIS-events. Still another might be
MapInfo-and-competition-wireless, or something like that. The
success of a edited forum would depend on a good set of email
management tools and of course, a good editor, who might be any one
of you with the ability and interest. 

This wouldn't be a free thing; either advertising pays for it or
subscribers do. I know from experience that it's a lot of work when
you try to deliver that sort of service. But would something like
this be worth anything to readers? 

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



Re: MI New Company

2000-08-25 Thread Bill Thoen

Toby Walker wrote:
 
 Hey list, I've been looking at a new company that deems themselves SIM guys.
   Im not sure what this paradigm is, but the Company is called
 TerraGraphics.  I checked out their web site by fluke this morning, and I
 wanted to see what other GIScientests thought about this..

Well, the term "GIS" never did cut in the business world, and the
Canadians (who invented the discipline) dropped it in favor of
"Geomatics" as soon they realized that the Usonians (US
Americans) decided that it was cool and appropriated it. And now,
"Spatial Information Management," or SIM, appears in a web page
with phrases like "Convergent Technology," "Amplified Mapping at
Terminal Velocity," "market share," "competitive advantage,"
"businesss intelligence" and a great deal of additional
hyperbolic buzzword twaddle. I see no "science" here (other than
transparent propaganda.) But give them credit, sometimes a new
name is all that's required to sell a well-known technology.

Perhaps there's some science there in the background, but the web
page tells us only that they have a geek in residence (GIR), and
that he's just amazed the marketing staff with his brilliance.
(well of course... GIS, like any other suffciently advanced
technology, is indistinguishable from magic to hoi polloi.) But I
saw no examples of anything concrete; just colorful words. Good
job there though. Inspiring rhetoric with no visibles means of
support. That sort of thing is yet another kind of magic. This
web page makes my thaumometer pratically go off the scale. But
where's the science?

Finally, this line bothered me, especially on top of so much
vacuousness. From their web page:
 "At a time when Geographic Information Systems and Information Technology are 
converging into a new business discipline called Spatial Information Management, one 
company plans the complete infiltration and exploitation of geography in the 
business marketplace—TerraGraphics..."

"...complete infiltration and exploitation of geography..." 
"...complete infiltration and exploitation of geography..." 
"...complete infiltration and exploitation of geography..." 

Sort of like "total war" eh?

I guess the Wooden Ships really were just a hippie dream.

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



MI Crime Mapping GIS featured in New CBS Show this fall

2000-08-23 Thread Bill Thoen

I ran across this on MAPS-L. Which GIS do you suppose they're using?

Jennifer Stone [EMAIL PROTECTED] writes:
---
From: "UCGIS" [EMAIL PROTECTED]
To: "UCGIS Community" [EMAIL PROTECTED]
Sent: Tuesday, August 22, 2000 2:27 PM
Subject: GIS has made it to TV

 "The District," is a new CBS television series airing this Fall, features GIS as 
part of each episode. The District is a crime drama based in Washington, D.C. Much of 
the plot is based on the implementation of COMSTAT and the use of GIS to analyze 
crime patterns.  Beginning in October, "The District" airs on Saturdays at 10:00 p.m.

 This information came from Mike Phoenix.

--
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 Bill Thoen

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]



MI MapInfo's Stock Splits -- 3 for 2

2000-08-23 Thread Bill Thoen

MAPINFO ANNOUNCES THREE-FOR-TWO STOCK SPLIT AND COMMON STOCK
REPURCHASE PROGRAM 
http://dynamo.mapinfo.com/presscenter/web/view.cfm?releaseid=510

Does this surprise anyone?

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



Re: MI Japanese Text Display Support

2000-08-22 Thread Bill Thoen

andre boessenkool wrote:

 Every now and again I receive a message on this list which is generated in a country 
not using Roman script for their language (Greece, Japan, Arabian Countries, Israel 
etc.). 
...
Is anyone else experiencing the same? And if so, how do you handle this? Is there 
perhaps a way to turn off this option of downloading these exotic support files?? Or 
is it another gift to mankind that nobody really wants - such as piped-in non-music - 
but that we have to learn to live with?

Dump your Internet Explorer and switch to Netscape. That'll solve
that problem. You'll avoid a lot of viruses that way too. Or
maybe you could just switch to non-HTML formatted mail.

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



Re: MI Global Variable

2000-08-21 Thread Bill Thoen

I think the problem is that you have to include "header.def" in
all your modules. At least you have to declare 'global iWinIdMap
as Integer' in every module where you will use it. That said, you
also cannot declare that same variable anywhere else because a
more local declaration will take precedence oover yuor global
definition. In other words, if you define a global variable in a
module, and then declare a local variable in a sub in that same
module, then when your program flow enters that sub, it will use
the local variable instead of the global.

Daniel Budmiger wrote:
 
 i want to use the same variable in different project files. as i know this
 should be possible with the global variables.
 in my program this does not work.
 the declaration of my subs and the declaration of my variables are stored in
 a special header.def - there is also the code: global iWinIdMap As Integer.
 In the main sub this variable gets the integer value of a special
 map-window. if i show this id from another sub in another project this
 variable does not have the same content.
 has anybody a good idea for a solution or what i am doing wrong?

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



Re: Fw: MI Is MapInfo going to die?

2000-08-19 Thread Bill Thoen

Sorry, I should have said "C#". C sharp is (and I'm still a
little fuzzy on the details) the language that will be used under
their Microsoft .NET initiative just announced late last June.
See http://www.microsoft.com/net/ for more details. It's really
the Microsoft .NET that is the big deal.

- 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


Alim Kucukpehlivan wrote:
 
 Hi All,
 
 Bill Thoen wrote;
 
  ESRI's going to be busy rethinking again now that Microsoft is
  retiring all the old COM and DCOM stuff in favor of this new (and
  incompatible) thing called "C-sharp."
 
 I checked www.microsoft.com and couldn't find anything related with
 "C-sharp". is this a rumour, or are there any links that we can find more
 information.
 
 for the rest of the preceeding comments;
 MapInfo is on her course.. on the right directions I believe... especially
 with Java and Oracle integration is very promising. Therefore;
 MapInfo is not going to die, may be evolve, or may be bought??
 
 Best Regards,
 Alim.
 
 --
 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]



More URLs on Microsoft .NET (was MI Is MapInfo going to die?)

2000-08-19 Thread Bill Thoen

Alim Kucukpehlivan wrote:
 I checked www.microsoft.com and couldn't find anything related with
 "C-sharp". is this a rumour, or are there any links that we can find more
 information.

Here's more about how .NET will affect COM and DCOM from PC
World:
http://pcworld.idg.com.au/pcw.nsf/news/8A190B09D61C06D6CA25691100261C50!OpenDocument

For more perspective besides Microsoft, see http://www.google.com
and search for "Microsoft .NET" (note the space before the dot.)

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



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

2000-08-18 Thread Bill Thoen

Arrange the buttonpads in the normal way and then using a 1/4"
Kluge, bore out two holes on either end of the buttonpads. Apply
some Gate's GlueAll to the back of the buttonpad, wait until it's
tacky (in Windows, things become tacky almost immediately), and
press buttonpad firmly in place. Then secure with a pair hardened
hacker bolts, and torque until the heads snap off (this insures that
nobody else will ever mess with your settings). 

Or you could just anchor them in any position, docked, floating ir
hidden, with Options/Toolbars and check the "Save as default"
checkbox.

Also feel free to contact your vendor and raise hell any time.
That's what vendors are for! ;-)

- 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


David Reid wrote:
 
 I had hoped that one of the many bugs an upgrade would fix, would be the
 ability for the user to nail down those blasted, floatable toolbars!
 
 PLEASE!!!   Has anyone found a fix for this???
 
 David Reid
 GIS/Database Mngr
 Colbert County E-9-1-1
 Colbert County, Alabama
 [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: Fw: MI Is MapInfo going to die?

2000-08-17 Thread Bill Thoen

"Eric Frost / HR and Associates, Inc." wrote:
 I love MapInfo Pro, so flexible and handy for GIS work,
 my favorite work tool... but have to admit I am curious
 about ESRI's vapor announcements regarding the new
 ArcView and wonder in darker moments if MapInfo is
 actually more focused on landing more enterprise clients
 like Sprint.

ESRI's going to be busy rethinking again now that Microsoft is
retiring all the old COM and DCOM stuff in favor of this new (and
incompatible) thing called "C-sharp." 

MapInfo isn't going to die anytime soon. Read J.D. Wilson's
column in the back of the Aug 2000 GEO World, in which he points
out that MapInfo and Trimble are the ONLY two "geotech" stocks
that have outperformed NASDAQ this year. 

I suspect that MapInfo is not overly worried about the little one
and two license shops. MI Pro sales are not the big cash cow
these days. Still, the product is top-quality, and if you work
with large databases in large enterprises and can leverage what
it can do, it's well worth its salt. But I don't think you will
see lots of special features and GIS-science innovations from
MapInfo included in the box very often anymore. I think they are
following sound business practice and simply going where the
money is--big corporations. Innovation is back in the hands of
third-party types who use MapBasic and MapX. 

Anyway, that's just my current uninformed opinion. Ask me next
week when I'm even less informed and I'll tell you something
else.

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



MI The Diabolical MapInfo Exam

2000-08-16 Thread Bill Thoen

Tim Rood wrote:
 
 We may well be able to create the diabolical MI test.  For years we've stumped
 MI developers with "tests" of improved functionality. I'm a little out of date
 on the wish list but where's the "not in" query, just for example? or the
 "switch selections" a la AV?  I promise to contribute a devil of a question in
 the "Intermediate Mapper" category, if we can get others to join in.

Okay, you're on! I have a couple in mind too. Anyone else have a
doozy of a question gauranteed to make a MapInfo wizard weep and
wail?

All we need is twenty questions; multiple guess (please supply the
right answer too; we don't want to out-diabolicalize ourselves,
okay?) At least one MapInfo employee has dared to take on any
challenge we can come up with. Assuming, of course, that we are up
to it.

I'd suggest that these questions be like MapInfo's test, only harder
(this is for those who think they know their stuff, y'know.) They
should involve only what's in the MapInfo Users Guide or Reference
Guide and what can be done with the user interface (i.e. no mapbasic
questions that aren't already covered in the chapter on the MapBasic
Window, but that still leaves a lot of open ground...) The best
questions would be those that concern typically common user problems
(like what happens when you open a workspace with custom labels
after you've packed a table, or problems of setting scale, fonts,
etc.)

I think that we could have questions with more than one correct
answer, but at least one of those answers has to cover all the other
correct answers. (Questions with NO right answer are okay too,
providing "none of the above" is a answer choice!) There can also be
terms used (like geocoding and geo-referenceing) where the correct
answer is in the MapInfo lexicon, while the other is not (perhaps
you might throw in an ArcView term that matches a MapInfo one to
stump the poly-GIS phonic.) 

I'll be happy to collect questions, and then pass them out to
contributors to vote on the Final Twenty, and then maybe we can get
them set up on a Directions Magazine web page so people can take the
Challenge. 

As to results, I'd suggest that the individual results should be
anonymous, and the test would be open to all. But I'd like to see a
summary of past results so a person can see how they did compared to
others, and the world can see if the questions are truly diabolical
or a breeze.

Perhaps there are some university profs out there who know a thing
or two about making tests. I'm just throwing out some ideas;
professional advice would be welcome!

Here's a little background material for you to chew on and get some
ideas.
MapInfo's training quiz (to see how much you know) is at:
http://testdrive.mapinfo.com/inetbu/survey.nsf/TrainingSurvey?openform

There's also some good sources for questions in the MapInfo wish
list at:
http://www.directionsmag.com/wishlist.asp?ID=49

Happy Scheming!

- 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
----
 Bill Thoen wrote:
 
  Steve Wallace wrote:
  
   Your description reminds me of the "test" you can take on MapInfo's web
   site, to see what level of training you should take first. I found many of
   the questions/terms to be misleading. Take a look at the "Training Quiz"
   yourself, at
   http://testdrive.mapinfo.com/inetbu/survey.nsf/TrainingSurvey?openform .
  
 
  What was misleading? It seemed okay to me. It is picky about using
  precise terminology, but that's as it should be. That does make it
  tough if you are fuzzy on terms like geocoding vs geo-refrencing and
  so on. You also have to watch out for some questions as there is
  more than one right answer (but the right answer might the one that
  names the other choices.)
 
  I bet if we all tried we could make up a really diabolical test that
  even MapInfo tech support couldn't pass! ;-)
--
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 More on Diabolics

2000-08-16 Thread Bill Thoen

When you submit a question for the MapInfo quiz, please include your
devious alternative choices too. For example:

How do you launch the "easter egg" hidden in MapInfo Professional
6.0?

 1. Click on the approximate location of Casablanca, Morocco 
in the little map on the Help/About dialog.
 2. Double click on the rainbow icon on the main window 
title bar while browsing the World table.
*3. The users haven't found the easter egg yet.

The asterisk (*) means that 3 is the right answer. 

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



Re: MI MapInfo Certification / Exam

2000-08-15 Thread Bill Thoen

Steve Wallace wrote:
 
 Your description reminds me of the "test" you can take on MapInfo's web
 site, to see what level of training you should take first. I found many of
 the questions/terms to be misleading. Take a look at the "Training Quiz"
 yourself, at
 http://testdrive.mapinfo.com/inetbu/survey.nsf/TrainingSurvey?openform .
 

What was misleading? It seemed okay to me. It is picky about using
precise terminology, but that's as it should be. That does make it
tough if you are fuzzy on terms like geocoding vs geo-refrencing and
so on. You also have to watch out for some questions as there is
more than one right answer (but the right answer might the one that
names the other choices.)  

I bet if we all tried we could make up a really diabolical test that
even MapInfo tech support couldn't pass! ;-)

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



Re: MI Information Request: Corporate MapInfo Users List.

2000-08-14 Thread Bill Thoen

Alim Kucukpehlivan [mailto:[EMAIL PROTECTED]] writes

 I need to convince one of my potential customer that MapInfo is widely used and 
world recognised software... They asked for names.

Contact MapInfo and ask for their annual report (I suspect that
it's online somewhere too.) This should have some useful
information about MapInfo's sales that might help you determine
its world-wide coverage.

- 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


 -Original Message-
 From: Alim Kucukpehlivan [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 14 August 2000 5:42
 To: [EMAIL PROTECTED]
 Subject: MI Information Request: Corporate MapInfo Users List.
 
 Hi all,
 
 I need to convince one of my potential customer that MapInfo is widely used
 and
 world recognised software... They asked for names.
 
 Does anybody have a list of major users or something like that? Or
 potentially a
 list of the registered MapInfo-L subscribers database might reveal some
 information??
 
 Best regards,
 Alim Kucukpehlivan,
 Managing Director of Basar-GIS, Ankara, Turkey.
--
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 Yet another repetition of KAKWORM

2000-08-11 Thread Bill Thoen

Another virus-laden message came in yesterday. The one with the
title "MI Graphs" is infected with our favorite virus.

Will all of you who are using microsoft browsers and mail readers
(IE 5 and Outlook Express) PLEASE protect your machines from this
kakworm virus. Anyone who doesn't go get the patch from microsoft
and install it RIGHT NOW is a public nusaince.

And get a virus checker. Viruses are real and increasing in
frequency. The New World Order of Pinheads will win if you all
continue to act like cattle and don't get proactive about this. The
anti-virus protection from Norton is only $5 a year. That's cheap.

Read all about this virus here:
http://www.symantec.com/avcenter/venc/data/wscript.kakworm.html


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



Re: MI Online Survey with prizes worth over US$ 100,000

2000-08-01 Thread Bill Thoen

If you don't want to waste your time, don't respond to spam. Just
because it mentioned "GIS" doesn't mean it wasn't just a
bald-faced advertisement.

In addition, it's NOT the first GIS magazine for Asia. GEO World
Asia/Pacific has been covering this region for years (see
http://www.geoplace.com if you're interested.) 

I still think the best way to draw business online is to FIRST
establish yourself as a contributing member of the community, not
to introduce yourself by treating the community as a resource to
be exploited. The only time we hear from these folks is through
bulk mailings to all the GIS lists they could find...all at once
(another unwise thing to do.) 

Considering that Asia will be where the action is online in the
21st century, there's an incredible opportunity to build a
community foundation here. Spamming isn't the way to do it.

- 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


Jure Ravnik wrote:
 
 OK, so I went and compleded the survey which
 promises prizes and stuff.
 
 The survey asks questions about what you do in GIS
 what magazines you read, ect - if you tell
 the truth you can answer all questions in only one way.
 
 Afte clicking submit I got a message that I will not enter
 ths prize draw, because I gave the wrong answers, and
 if I like I can try again?!
 
 What king of survey is this???
 Of course I could say I own a company of 1000 GIS consultants and
 I've been working in this area since eniac and I read everything there is
 to read about GIS
 
 The results of this survey will be phoney,
 so don't bother entering.
 
   Jure Ravnik, who wasted the last half hour,
 
 Ecological Engineering Institute
 Ljubljanska 9
 2000 Maribor
 Slovenia
 Tel:+ 386 2 300 48 11
 Fax:+ 386 2 300 48 35
 mailto:[EMAIL PROTECTED]
 
 -Izvorno sporoèilo-
 Od: Swati Grover [SMTP:[EMAIL PROTECTED]]
 Poslano:1. avgust 2000 7:17
 Za: [EMAIL PROTECTED]
 Zadeva: MI Online Survey with prizes worth over US$ 100,000
 
 Dear Friends,
 
 www.GISdevelopment.net welcomes you to participate in the biggest ever
 Online Survey in GIS and win prizes worth over 100,000 US Dollars in the
 form of software, subscription for magazines and registration to conference
 and exhibitions.
 
 Details of Survey is available at
 http://www.gisdevelopment.net/survey/index.htm
 
 In addition to lucky draw contest, first one thousand qualified participant
 will be entitled to one year free subscription of GIS@development magazine -
 the first monthly publication on Geographic Information Science from Asian
 region.
 
 Please forward this message to all your friends and colleagues.
 
 Thanking you in advance for your response.
 
 With kind regards
 Ms. Swati Grover
 GISdevelopment.net
 http://www.gisdevelopment.net
 Networks for GIS
 
 --
 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 Directions Magazine Tools list

2000-07-25 Thread Bill Thoen

Click on "All Tools" listed under "Browse by Category" or try
"Search" listed across teh top of the right hand frame on that
page.

It does seem hard to find things here sometimes. What would make
it easier? Suggestions anyone?

It is possible to create an alternate index, because each file
and/or its description is liked to a URL. For example, you can
download Mark Crompton's CreateConfig.zip at
http://www.directionsmag.com/tools/default.asp?a=downloadfilename=CreateConfig.zipid=265
or you can link to just the description page (which also has the
download link) at
http://www.directionsmag.com/tools/default.asp?a=fileid=265.

- 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


[EMAIL PROTECTED] wrote:
 
 The website http://www.directionsmag.com/tools/ contains many strange and
 wonderfull tools. I'm looking for a roadmap to help me plan my route,
 rather than embark on a voyage of discovery through its pages.
 
 I'm convinced there used to be a list of available tools, but damned if I
 can find it now I need it. Anybody know what I am talking about?
 
 Please help a senile old man.
 
 Blaine
 
 --
 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 Map Basic 6 / mapinfo 5.0

2000-07-24 Thread Bill Thoen

 Lawrence Loadman wrote:
 
 Hi all,
 
 Just picked up a copy of map basic 6.0.  Seems I will have to
 upgrade to mapinfo 6 also - is this true?
 I just keep getting a mssage saying that mapinfo 6 can run this
 when i try to run a program.

Yep, that's true. However, as long as you don't use any 6.0
features, all you have to do to get your mbx to run in an older
version is edit the very top line of the mbx and replace the 600
with 550 or 500 or whatever your MI version is. You need to edit
this with a hex editor, because a text editor will make a mess of
the binary contents of an mbx. 

If you want to take a trip into the WayBack machine, you can do
this with that venerable and most spartan microsoft software you
will porbably ever see. It's called debug.exe (it's in
c:\Windows\Command\ on Windows machines). This is the tool that
Real Programmers use to build Windows programs (muhaha!)

Anyway, picture yourself back in 1988. Open a DOS window and
change directories to where your mbx is. Hmmm... okay, I see
we've lost a few already. The old DOS command to change
directories is "cd"  followed by a space and the name of the
directory on the same line. 

Then type in "debug" followed by a space and the name of your
mbx. Now your prompt turns into a simple dash. This "command
line" stuff is what we used before they invented the user
interface. You could almost see a Zen koan in something so simple
and yet at the same time so opaque. This is a super-powerful tool
too, so don't just press buttons willy-nilly! From here you could
edit ANYTHING anywhere in your computer or on your disk. You can
even write working assembler code with this. Welcome to the Tao
of Geek!

Anyway, I digress... Try it with NViews.mbx in 
c:\Program Files\MapInfo\Professional\TOOLS\
At the DOS prompt, type 
Debug Nviews.mbx
At the debug dash prompt type "d" (for 'Dump')
This "dumps" the hexadecimal and ASCII equivalent of your mbx to
the screen. Notice over on the right you can see the 600 version
number. To edit is, type 
e 010E
and press enter. (e stands for edit, and the position to edit is
offset 10e, where the h36 is or '6' in ASCII.)

Now you see 36. Enter the hexadecimal number that you want in
place of 36. The character '5' is 35. Press a space to edit the
next byte, which is 30. Change it to 35. Press Enter to exit edit
mode. Now the dump the data again to see your changes. The
command is d 100 (dump the next paragraph from offset H100) See?
Now the version number is 550, or MI version 5.5. Now save the
file back to disk with the 'w' command (Write). then to quit,
enter 'q'. If you ever want to see debug's help, enter '?' at the
dash.

The attachment is plain text and shows a debug session.

- 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


C:\WINDOWScd "Program Files"\MapInfo\Professional\TOOLS
C:\Program Files\MapInfo\Professional\TOOLSdebug nviews.mbx
-d
106E:0100  21 41 70 70 0A 21 56 65-72 73 69 6F 6E 20 36 30   !App.!Version 60
106E:0110  30 0A 21 43 68 61 72 73-65 74 20 57 69 6E 64 6F   0.!Charset Windo
106E:0120  77 73 4C 61 74 69 6E 31-0A 00 00 00 00 00 00 00   wsLatin1
106E:0130  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0140  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0150  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0160  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0170  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
-e 10E
106E:010E  36.35   30.35
-d 100
106E:0100  21 41 70 70 0A 21 56 65-72 73 69 6F 6E 20 35 35   !App.!Version 55
106E:0110  30 0A 21 43 68 61 72 73-65 74 20 57 69 6E 64 6F   0.!Charset Windo
106E:0120  77 73 4C 61 74 69 6E 31-0A 00 00 00 00 00 00 00   wsLatin1
106E:0130  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0140  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0150  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0160  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
106E:0170  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   
-w
Writing 03CE1 bytes
-q

C:\Program Files\MapInfo\Professional\TOOLS




Re: MI unsubscribe (How to do it!)

2000-07-21 Thread Bill Thoen

To unsubscribe from the MapInfo-L list, send email to
[EMAIL PROTECTED] and in the body of the message put:

unsubscribe MapInfo-L

See additional info at the MapInfo-L Clearinghouse site:
http://www.directionsmag.com/mapinfo-l

You will get a note confirming your request and subscription
status. Once you do sign off you may still receive a few
messages, but it should stop in less than a day.

If you get a note saying that you are "...not a member of this
list..." then it probably means that the address you signed up
with is not the address you are currently using. In that case,
just add the address that you want unsubscribed one the
unsuubscribe line.

Example: 
Suppose your address is now '[EMAIL PROTECTED]', but you were
signed up as [EMAIL PROTECTED] To get this address off
the list, send e-mail to majordomo and in the body of the message
put:

unsubscribe MapInfo-L [EMAIL PROTECTED]

This has to be approved manually, so give me a day to get to it.
As long as the real address resembles the address you want taken
off, I'll approve it automatically. If they aren't even close,
then I will send a note to the address being unsubscribed, and if
there's an affirmative or a no response, that address gets
removed.

Other problems, please contact me directly at [EMAIL PROTECTED] or
[EMAIL PROTECTED]

- Bill Thoen

 Dan Munson wrote:
 
 unsubscribe
 Dan Munson
 VP Sales  Marketing
 CDS Business Mapping
 800-746-7797
 Mapping for the Next Millennium(TM)
 [EMAIL PROTECTED]
 www.cdsys.com
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



MI How to get the KAKWORM virus off your machines

2000-07-21 Thread Bill Thoen

DO YOU USE INTERNET EXPLORER 5.0? PLEASE READ THIS:

There are now at least two people on MapInfo-L who have been
covered in 'KAK'. This was posted here last week, but obviously
is worth reposting:

"...the VBS/Kakworm virus.
This is an e-mail worm virus that is activated by pre-viewing the
message in
combination with Microsoft Internet Explorer v5.0. 

The following extract is from a virus removal utility and
describes the
virus:

Memory-resident: In macro environment

This is an email worm. It only infects users with Microsoft
Internet
Explorer V5.0. If the user opens or previews an infected email
message the
worm drops KAK.HTA program into Windows startup folder so that it
runs on
starting Windows.

The KAK.HTA file creates C:\WINDOWS\KAK.HTM hidden file and
changes the
Microsoft Outlook Express registry settings so that the KAK.HTM
is
automatically included in every outgoing message as a signature
file.
KAK.HTA also changes the Windows registry key
HKLM\Software\Microsoft\Windows\CurrentVersion\Run\cAg0u so that
it includes
the name of the worm file. On the 1st of any month the worm
displays the
messagebox "Kagou-Anti_Kro$oft says not today" and runs Windows
shutdown.

First reported in January 2000.

Recovery:

To disinfect infected objects delete all macros belonging to the
virus."


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



Re: MI. Dialogs and DDE

2000-07-19 Thread Bill Thoen

"Geografía y Electrónica, SA de CV" wrote:
 
 Dear list:
 
 I have a mapinfo_program1.mbx comunicating via DDE with an external
 visualbasic program.
 
 When I open a mapinfo dialog, a standard mapinfo dialog or a custom dialog
 created by another mapinfo_program2.mbx, all DDE processes stop for as long
 as the dialog is on screen.   All DDE messages/commands are "buffered" and
 released after the dialog is closed.
 
 Is there a way to prevent this, and have the program1 running in the
 background and processing its DDE messages when there's a mapinfo dialog in
 progress?

The only way I know to do this is to intercept all program
requests to menus or dialogs and before passing them on to the
actual routine (via run menu command or similar) issue a 'Set
Handler RemoteMsgHandler off' This disable the RMH, and the DDE
messages arriving in the meantime are lost. However, it does get
rid of Before returning control, turn the handler back on.

Writing the code to intercept all MapInfo controls is pretty
tedious, too, but you can rewrite all the menus to pass through
your own routines first if you need them to. Also this technique
throws the DDE messages away. If that's not acceptable, then
maybe your intercept code should also tell your VB app to do
something else with the messages until your MB app is free again.

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



Re: MI WARNING: Virus Alert for MapInfo-L - IT'S REAL!

2000-07-17 Thread Bill Thoen

Yep... this one is real. Steer clear of the message with the
subject:

MI Re: Gradient/slope shading

Note that this is a response to an original that didn't have the
virus. I just received the actual message and went into my
Netscape mail folder with a text editor before opening the
message (you can't do that if you use Internet Explorer because
it packs messages as binary files... and guess what sort of
browsers this virus attacks?) Sure enough, there it was embedded
in between SCRIPT tags. Snipped it out and then no problems.
Interesting techinique...simple too. As long as people insist on
using HTML formatted mail, we will see lots more of these. BTW,
it's unlikely that Roeland had any idea this had attached itself
to his mail, so let's not flame the wrong party.

Makes me wonder if things like this would convice people to send
only plain text messages and refrain from using attachments
(including vcards!). I really don't think we need HTML text in a
mailing list.

- 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


Bill Thoen wrote:
 
 This message has triggered multiple virus alerts by servers
 worldwide handling mail to MapInfo-L:
 
 Date: Mon, 17 Jul 2000 12:26:55 +0200
 From: Roeland van der Spek [EMAIL PROTECTED]
 To: Mapinfolist [EMAIL PROTECTED]
 Subject: MI Re: Gradient/slope shading
 
 Apparently the KAKWORM.A virus is in the attachment. I'll be checking
 into this, but just in case it's real and not some misidentified MapBasic
 code, this warning is a word to the wise.

--
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 Switch line direction

2000-07-13 Thread Bill Thoen

Try revdir.zip by Arnold McRae
http://www.directionsmag.com/tools/default.asp?a=fileid=184

- Bill Thoen

"feinholz, lois" wrote:
 
 ... I wanted to know if there is a way to select one or more of the
 polylines and reverse the line direction on them (i.e. to get the arrow in
 the line or polyline to point in the opposite direction).
--
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 lists

2000-07-13 Thread Bill Thoen

"Crompton, Mark" wrote:
 
 One of the ways I do it, is through Global variables (I know programmers
 should not use Globals).  With a global array you can resize it inside on of

Not exactly; programmers should not use *uncontrolled* globals.
Even everyone's favorite whipping boy, the lowly-regarded Goto,
has it's place (but 99% of the time that place is the
wastebasket.) Module scope globals are almost required for any
MapBasic dialog beyond the trivial. For those, I just create a
separate module for the dialog, and then use 'dim' to define
globals I need. That way there's little chance that a global
there can foul some other part of the application. 

Defining variables as 'global' instead of 'dim' at the module
level is what I'd call uncontrolled, and should only be done if
you want to live in interesting times. Besides, anyone who
programs in MapBasic already has to compromise his or her sense
of purity to a certain extent. In a language where there are no
function-level static variables and NO private functions
anywhere, you can only be so holy about it. Especially when it
comes to dealing with MapBasic dialog structures. 

Your global array is easily a module-scoped variable, and the use
you make of it is clever, obvious and totally appropriate. I
wouldn't put down the use of globals here.

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



Re: MI Numeric Values in String

2000-07-11 Thread Bill Thoen

Eric Beattie wrote:
 
 Does anyone have a quick and dirty method of extracting all the numeric
 characters in a string using MapBasic?

Here's one way to do it:

function CleanString (byval sText as string) as string
dim i, j as integer
dim sResult, c as string

   j = Len(sText)
   if j = 0 then 
  CleanString = ""
  exit function
   end if

   for i = 1 to j
  c = mid$(sText, i, 1)
  if instr(1, "0123456789", c) = 0 then
 'character is not a number
 sResult = sResult + c
  end if
   next

   CleanString = sResult
end function

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



Re: MI USGS digital quad maps

2000-07-07 Thread Bill Thoen

Tim Warman wrote:
 
 Thanks, but that doesn't help either.
 
 A few more details might make things clearer:
 
 1. I have the downloaded files, for example om-geol.e00.gz (Oat Mountain CA
 quad). They show up with the little Winzip folder-in-a-press icon.

How about a full URL? Now I'm curious to try it. Sounds like a
corrupt file to me.
 
 I'm very frustrated. Why can't the government just do things like everybody
 else and use Winzip?

Better to ask "Why can't the government ALWAYS use public-domain
formats instead of undocumented ESRI files?"

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



Re: MI MB: Latest Agony

2000-07-06 Thread Bill Thoen


Tim Rood wrote:
 
 I'm trying to make a single polygon in a single table change colors using MB
 and I can't seem to find the right MB incantation to make it happen.  All I

Another MapBasic agony? You might try swallowing a live toad
before sitting down to your next MapBasic session. Then
comparatively, the rest of the day will seem pretty pleasant.

Anyway, here's how to do this:
First you have to get access to the record with the polygon you
want to change. There's lots of ways to do this (see SQL select,
SelectionInfo(), fetch, etc.), but let's say the record cursor is
pointing at it, and the table is called POLY.

'---
dim objPoly as object
dim brushPoly as brush

'you need to include mapbasic.def for color definitions
brushPoly = makeBrush (2, YELLOW, WHITE)

objPoly = POLY.obj
nRow = POLY.rowid

alter object objPoly info OBJ_INFO_BRUSH, brushPoly
update POLY set obj = objPoly where rowid = nRow
'---

What I didn't understand when I was first struggling with this
myself is that you have to "update" the table or nothin shows.
Also notice the "where rowid = nRow" bit. Leave this off and ALL
you records get changed to this object.

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



Re: MI - drawing a line a specific length

2000-07-06 Thread Bill Thoen

Tom Manson wrote:
 I'm sure there's an easy answer to this one. How can I draw a line a
 specified length/distance, say 1.75km?

Draw any line, double click on it, and set the length parameter
in the dialog box to exactly what you want.

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



MI How to Unsusbcribe from MapInfo-L

2000-07-05 Thread Bill Thoen

For those of you who haven't seen what's posted on the bottom of
every MapInfo-L mail message, or who didn't save the information
sheet that was sent to you when you signed up, or who didn't
bookmark the MapInfo-L Clearinghouse page, here's how you get
yourself off the list.

Send email to [EMAIL PROTECTED] and in the body of the message
put:

unsubscribe MapInfo-L

See additional info at the MapInfo-L Clearinghouse site:
http://www.directionsmag.com/mapinfo-l

You will get a note confirming your request and subscription
status. Once you do sign off you may still receive a few
messages, but it should stop in less than a day.

If you get a note saying that you are "...not a member of this
list..." then it probably means that the address you signed up
with is not the address you are currently using. In that case,
just add the address that you want unsubscribed one the
unsuubscribe line.

Example: 
Suppose your address is now '[EMAIL PROTECTED]', but you were
signed up as [EMAIL PROTECTED] To get this address off
the list, send e-mail to majordomo and in the body of the message
put:

unsubscribe MapInfo-L [EMAIL PROTECTED]

This has to be approved manually, so give me a day to get to it.
As long as the real address resembles the address you want taken
off, I'll approve it automatically. If they aren't even close,
then I will send a note to the address being unsubscribed, and if
there's an affirmative or a no response, that address gets
removed.

Other problems, please contact me directly at [EMAIL PROTECTED] or
[EMAIL PROTECTED]

- Bill Thoen

 Ken Goraya wrote:
 
 unsubscribe mapinfo-l
--
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 Lack of mail!!

2000-07-05 Thread Bill Thoen

Simon W Fox wrote:
 
 I haven't received anything from the list for a couple of days. Is
 everything OK or is there a problem?

You probably got unsubscribed if your mail server started
refusing MapInfo-L messages. Lately, this is usually the result
of misguided anti-spam and virus countermeasures employed by your
ISP. Some of them blindly block all mail that is relayed to you
via a mail server (like ours at [EMAIL PROTECTED]). The theory is
that if the original sender is not the current sender (i.e.
someone sends mail to the list as the original sender, and the
list sends that message to everyone else becoming the relaying
sender) then the mail must be unwanted trash. Of course, that's
not always true, so clear that up with your ISP.

Other reasons for mail being bounced include people abandoning
their accounts, letting their disk quota get exceeded,
misconfigered servers, broken down servers, and probably a few
evil spirits drifting about the net. True, sometimes these
problems are temporary, but when I see that messages could not be
sent to your server for more than a couple of days, I don't want
to deal with several more days of bouncing MapInfo-L mail coming
from your server, so your address gets lopped off the subscribers
list.

Since tens to hundreds of bounced messages from the list pile up
in my mailbox every day I've been getting more aggressive with
taking problem addresses off the list. I can't always send you a
note about it because that takes a lot of time (and if your
address is broken it won't reach you anyway), but if I don't keep
the broken addresses cleaned up, then the list delivery slows
down as the MapInfo-L server tries to resend messages or wait for
timeouts.

Until we get a more automated setup (I'm considering moving the
list to the Directions Magazine list host... so give that some
thought) I'll be dropping any addresses causing more than their
fair share of trouble. 

Anyway, the solution is to resubscribe. If your address continues
to be a problem, I'll start to notice and will contact you
(because by resubscribing I know you really are still out there)
and we will work it out.

- Bill Thoen
--
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 Lack of mail!!

2000-07-05 Thread Bill Thoen

"Antoine Gilbert, KOREM" wrote:
 
 move list to a newsgroup
 

I thought we discussed this a while ago, and there weren't enough
interest in it. Anyone can set up a newsgroup if they want to do
the work. I won't vote for it myself, but I won't stand in the
way if anyone wants to try it. But there is a process to setting
one up. See
http://www.faqs.org/faqs/usenet/creating-newsgroups/part1/ to
learn how.

Also for those who don't want to get tons of email, the list is
mirrored on websites at
http://testdrive.mapinfo.com/tdc/mapinfo-l.nsf/?openabout. 
and for a spam-filled version at
http://www.mail-archive.com/mapinfo-l%40lists.sni.net/
Good grief! Do unfiltered versions of MapInfo-L REALLY get that
much SPAM? I have my own spam filters set up so I didn't see any
of this garbage in my feed from MapInfo-L. It doesn't show up on
MapInfo's mirror site either. Maybe we should shut down the "Mail
Archive" mirror. It's just spam, spam, spam... 

- Bill Thoen
--
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 Mid-point line between multiple points

2000-07-05 Thread Bill Thoen

Sounds like your looking for is what's known as Voronoi polygons.
Take a look at http://www.tetrad.com/VMapper/example2.html, and
replace those Col McBuckets Chicken Fried Blasphemy stands with
fire stations, and you can see that the Voronoi polygons could be
used to select nearast roads to a station.

Vertical Mapper (http://www.northwoodtec.com) makes these easily.
Also check out The Map Tools Company's
(http://members.aol.com/maptools/) TriTools (a good for the
price.)

- 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

Troy Wiora wrote:
 
 I am looking for some way to create a line of midpoints between three points I
 have.  I hand drew a line that looks like it is in-between the points but I
 would like something a bit more exact, if there is a way.  Specifically, I am
 drawing three shapes showing which roads are closest to which of  three fire
 stations.  I can e-mail a jpeg of what I have already done if it would help
 clarify anything.
 
 Thanks
 Troy
 [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 Friday History

2000-06-23 Thread Bill Thoen

IMHO, Paul Thurrott's piece is just another part of Microsoft's
propaganda campaign. It is an interesting example of how to twist
history though. Not entirely "the way it was," either. For
example, far from there being all this serious CP/M competition
back then, it was IBM's market dominance and the fact that the
IBM PC shipped with PC-DOS (IBM's brand of MS-DOS) on board that
gave Microsoft their big break. The others didn't really have a
chance. 

True, MS had their share of blind luck (especially when IBM
handed this monkey the keys to the banana plantation--note this
is how you get 500-lb gorrillas), and it's also true that Gates
was shrewd enough to take advantage of opportunities (lots of
competitors then didn't see what seems so obvious now, and now
they are forgotten history.)

Even though competitors made mistakes, competing directly against
an agressive monopoly like Microsoft is like playing snakes and
ladders... with greased rungs. Mistakes come easier that way.
What bugs me about this article is that it tries to paint
Microsoft as some sort of Horatio Alger--poor but honest, one
against long odds, excuse us, but it's just everyone else just
keeps falling on their swords... I don't buy it.

It's still a free country, and praise be we can all say what we
like in public, but I couldn't let Thurrott's piece pass as
"history." It's just a spin on history. 

- Bill Thoen

-
 This is a an article from Windows 2000 Magazine by Paul Thurrott (News
 Editor). I found it quite interesting and sharing it with the list.
 
 Although it's easy to attribute much of Microsoft's success over the
 years to shady business practices, the company wasn't always in a
 position of power, and its early success was an interesting mix of
 savvy maneuvering and sheer luck. Throughout Microsoft's history, the

... etc.
--
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 Frames ID

2000-06-20 Thread Bill Thoen

It's better to create the layout each time, unless you can
identify the frames by their row number, size or position. A
layout behaves like a table without attributes. You get the table
name with the WindowInfo() function, and each object has a row
position and a type, which can be examined with ObjectInfo(),
etc.  Unfortunately, there is no FrameInfo() function, and that's
a pity, because that means you can't examine attributes
specifically associated with frames.  Oh yeah, and when working
with layouts, don't forget to "set coordsys layout"!

- Bill Thoen

 Ian Garner wrote:
 
 Hi all
 
 My problem is that I have a layout with two frames, in one
 frame I want to put a map and in the other a logo.  This has to
 be done using code, i.e. not by double clicking the frame.  I
 was wondering is there any way other than co-ordinates to tell
 the frames such as an ID for each.  Or would it be better to
 recreate the workspace each time.
 
 Thanks
 Ian
 

--
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: Meaning of MI Parameters

2000-06-20 Thread Bill Thoen

Clifford,

I'm certainly no expert on Geodesy, but I think you didn't get
all the parameters from whoever asked you for help. Seems to me
that all the factors you claim are missing are, in fact, in the
MapInfo projection file. Perhaps a scale factor of zero is what
you mean by a missing (or at least "truncated") value, but it
*is* there. 

Adding comments to the the Luxembourg (Bursa-Wolf) parameters
record listed in mapinfow.prj (see appendix H and I in the latest
MapInfo User's Guide) I see:

"LuxGrid (Bursa-Wolf)", 
8,   {projection 8 = Transverse Mercator/Gauss Kruger}
,{means "custom datum"}
4,   {ellipsoid: 4=International 1924, a=6378388.0,
1/f=297.0}
-185.836,{shift dX, in meters}
13.479,  {shift dY, in meters}
-14.527, {shift dZ, in meters}
0.441203,{rotation Ex, in arc-seconds}
3.027399,{rotation Ey, in arc-seconds}
-2.607685,   {rotation Ez, in arc-seconds}
0,   {scale correction factor m, in parts per 10^6}
0,   {longitude of prime meridian}
7,   {units 7 = meters}
6.16667, {origin Longitude}
49.8333, {origin Latitude}
1,   {scale factor}
8,   {false easting}
10   {false northing}

The MI book doesn't say what in which order the scaling, rotation
and translation are done, but I assume the order for performing
the transform is scale, rotate and then translate since these
ellipsoids have a common center. 

According to the manual, the "Simplified Bursa Wolf" is
"truncated" because that particular transform assumes that only
an ellipsoid and shift parameters are needed. 

So what should the scale factor be for Luxembourg (Bursa-Wolf)
transformation? And are the parameters for the "International
1924" datum the same as the "European Datum 1950" you cite below?
If not, I need to correct my settings. Also to satisfy my
curiosity, I'd like to try out a couple of coordinate transforms
using MapInfo's parameter file (set up properly) against whatever
you use to see how "grossly inaccurate" MapInfo is. I'm not
convinced that "computer jockeys" are entirely ignorant
knowlessmen.

Regards,
- Bill Thoen

P.S. Good flame, full marks for rebarbative epithets! 

[EMAIL PROTECTED] wrote:
 The parameters you sent are an example of a MI projection file for
 Luxembourg, and it is rather complicated.  Bursa-Wolf is the name of a
 mathematical model for performing transformations from one specific Datum
 to another specific Datum.  In this case, it refers to the transformation
 from European Datum 1950 to the World Geodetic System 1984 (WGS84) used by
 GPS satellites.   The parameters are in meters and are earth-centered in
 the Geocentric Coordinate System and refer to a dX,dY,dZ translation at the
 center of the earth AFTER a three-parameter rotation RZ,Ry,Rx (in radians
 or arc seconds) and an overall scalar (dimensionless) multiplication is
 performed FIRST.
 
 What is remarkable is that the "MI example file" is grossly incorrect!
 That is indicated by the fact that only six of the seven parameters for a
 Bursa-Wolf Transformation are given, (the Scale Factor is not even given),
 and for the "(Simplified Bursa-Wolf)" it is an obvious truncation!!
 
 This example file is an excellent lesson of what happens when programmers
 and mathematicians try to play with Geodesy - they obtain the usual result;
 a complete screw-up!  Apparently unknown to some "computer jockeys," the
 solution for the seven parameters of a Bursa-Wolf model or a
 Molodensky-Basdekas model always involves a solution for the rotations and
 the scalar FIRST - THEN the translation parameters are solved.  That means
 that the rotation parameters (and scale factor) may NEVER BE TRUNCATED!!!
 To the neophyte (read "computer jock"), the rotation angles look so small
 that they appear to be insignificant.  However to one that works with the
 math of the actual parameter solutions, one knows that the tiny rotations
 are at the center of the earth!  When you examine the effect at the surface
 of the ellipsoid - the magnitude is quite substantial!  Same thing goes for
 the scale factor expressed as so many parts per million.  Tiny numbers with
 negative exponents, but when you consider the semi-major axis is
 6,378+ kilometers; the effect is again quite substantial!  Transformations
 are affected by such blunders and resultant data will be grossly incorrect.
 
 Therefore, in the "example MapInfo file for simplified Bursa-Wolf
 parameters," the only thing simple is the simpleton that truncated the
 critical parameters!
 
 In regard to your local problem of implementing such data for your country,
 I shall be happy to assist you in determining the appropriate parameters if
 you send your data to me via e-mail.  I will then solve for a 3-parameter
 model, a 4-parameter model, and a 7-parameter model and provide you 

MI unsubscribing CONKLIN

2000-06-18 Thread Bill Thoen

I just did.
BTW, that's not SPAM. It's just a mistake. Everybody's allowed one.
Sure is annoying though, eh?

- Bill Thoen

- Original Message -
From: Erick Posner [EMAIL PROTECTED]


 Bill,

 Please unsubscribe the guy CCONKLIN... he's spamming us with his
"vacation"
 message.  Unsubscribe him until he get back and resubscribe.

 --
 Erick Posner


--
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: unsubscribing CONKLIN

2000-06-18 Thread Bill Thoen

Well, I looked it up, and the net use of the term SPAM comes from the Monty
Python song, "Spam spam spam spam, spam spam spam spam, lovely spam,
wonderful spam." Like the song, spam is an endless repetition of worthless
text. And I guess Monty Python got it from that lovely American meat
(loosely speaking) product that nobody here claims to eat, yet it's always
on the grocery shelves.

However, I would add to that meaning of email SPAM that it is worthless text
INTENTIONALLY sent out to people who didn't ask for it.

So what do we call those others that are just mistakes? I dunno... "Haggis",
perhaps? Or "Pie Floaters"?

- Bill Thoen

- Original Message -
From: Erick Posner [EMAIL PROTECTED]


 Actually, you're right, it's not a spam... just a mistake, so what do we
 call those mistakes?  Spam means that someone is sending us junk emails
 intentionally, is that right?

 Thanks for unsubscribing him.  I'm sure he'll resubscribe when he gets
back.

 --
 Erick Posner
 Join AllAdvantage! Earn $ while you surf anywhere on the Web
 http://www.alladvantage.com/go.asp?refid=cbl286
 - Original Message -
 From: Bill Thoen [EMAIL PROTECTED]
 To: Erick Posner [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Sunday, June 18, 2000 10:34 AM
 Subject: unsubscribing CONKLIN


  I just did.
  BTW, that's not SPAM. It's just a mistake. Everybody's allowed one.
  Sure is annoying though, eh?
 
  - Bill Thoen
 
  - Original Message -
  From: Erick Posner [EMAIL PROTECTED]
 
 
   Bill,
  
   Please unsubscribe the guy CCONKLIN... he's spamming us with his
  "vacation"
   message.  Unsubscribe him until he get back and resubscribe.
  
   --
   Erick Posner
 
 
 



--
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 my Tool Manager went away and I miss him

2000-06-14 Thread Bill Thoen

Sounds like your Tool Manager's gone bad and run off to join the
Paper Clip Buddy's gang. They probably roped the Spatial Analyist
into it too. Buncha thugs, if you ask me.

But try copying this into the Mapbasic window:

Create Menu "Tools" ID 4 As
  "Tool Manager..." 
  HelpMsg "The Tool-buddy"
  calling 1801
alter menu bar add "Tools"

Select it all, and press Enter.

If this works, then you probably just had a poorly-behaved
utility rearrange your menu. Try restarting MapInfo.

- Bill 

"elliott, julia" wrote:
 
 I loaded an .mbx to import ESRI files from GIS DataDepot.com, and asked it
 to be auto loaded.  It's there, alright, but my Tool Manager is not longer a
 choice under the Tools menu.
 
 I tried exiting the tools that are under Tools, to see if they all were gone
 if the Tool Manager would return.  No, no...the entire Tools menu
 disappeared!
 
 I suspected I had changed the base file mapinfow, and I browsed MapInfo-L
 and discovered some people have needed a new .dll (.ddl?) file.  I copied
 each of these from another machine, but no luck.
 
 Does anyone know how to re-obtain the Tool Manager without a complete
 re-install of the whole program?
 
 Thanks in advance,
 Julia Elliott
 --
 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 MapBasic project estimation and planning

2000-05-30 Thread Bill Thoen

I have found that most small mapbasic projects are fairly easy to plan and
estimate, but that the larger ones are sometimes a *lot* more difficult. I'm
not sure how much of this is due to the lack of software management tools
available for mapbasic, and how much of this is just the usual problems
endemic in software planning, but I need to find some better techniques or
tools.

Sometimes I find that the first hurdle is finding out what the client really
wants. The problem is that they often don't know what's possible, or how to
describe what they only vaguely have in mind. When that happens, your
estimate and schedule is already in danger. Other times I under-estimate the
true complexity of the user interface, and a simple dialog box gets up off
the slab and turns into a lurching, moaning, multi-page monster. For
example, user-defined picklists can be a danger signal; they're not a
trivial edit control. Dialogs that link data from more than one table also
can get complicated, too. How do you estimate the depth of these pitfalls
(short of diving in headfirst and counting the seconds until impact)?

So does anyone have any tips, procedures, checklists, notation techniques,
reference sources, or whatever that they have found to make the software
planning, estimation and tracking tasks a little easier? If you have any
hints that you know work well, I'd love to hear from you. I'll summarize,
but if you want anonymity, I'll respect that too. I'm sort of fed up with
winging it (even though most people tell me that's basically what they do
too.)

TIA,
- Bill Thoen



--
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 5.0?

2000-05-26 Thread Bill Thoen

Robert Karr wrote:
 
 Greetings All: When was MapInfo Pro 5.0 released??  ...thanks  ...Bob
 
Sept 1998, or very close to then. At least that's when people
started talking about it on the L.

- Bill Thoen
--
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 syntax

2000-05-25 Thread Bill Thoen

MapBasic discussion happens right here. You also get MapInfo and
other product topics, info on data, rants and flames, pleas for
mercy, interesting irrelevant tidbits on geography, and once in a
while the odd virus. All that in one list. Amazing value, don't
you think?

But seriously, there are separate lists for MapX, MapXtreme, and
MapInfo TAB file anatomy, but I don't know if anyone has set up
one for MapBasic alone. Until someone gets one started over on
egroups.com or somewhere else, feel free to post on MapBasic
topics right here on MapInfo-L. Put "MB" in the subject so people
will know the message is about MapBasic, and I expect you'll get
a pretty good response if you don't ask too many questions in a
single message.

- Bill Thoen

"SenGupta,Georges" wrote:
 
 Dear All,
 
 Is there a free available syntax list for MapBasic
 
 Georges Sen-Gupta
 Senior Statistics and Information Officer
 Crime Reduction Unit
 x62469
 
 --
 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 miles and kilometres

2000-05-23 Thread Bill Thoen

Ah yes... the "Smoot!" One night a frat required its new pledge
class to measure the MIT bridge using Mr Smoot's body. I forget
how many Smoots the bridge is, but every year the new pledge
class has to repaint the smootmarks. Last time I walked over the
Charles to Cambridge they were still freshly visible.

- Bill Thoen

"Lavoie, Claude" wrote:
 
 What about this unit of measure the MIT students used to measure a bridge
 over the Charles River in Boston, Mass. (unit corresponding to the height of
 a fellow student)?
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Smoots and Boston geography (was: MI miles and kilometres)

2000-05-23 Thread Bill Thoen

It's well known that Boston has the weirdest geography (South
Boston lies to the east, etc.), and that goes double for the lack
of signs or signs deliberately worded to fool any but the
beantown natives... there used to be a sign off the Southeast
Distressway for the exit that takes you to the North End; it
said: "No End". Right. Add that to the maniacal drivers who count
coup (notice how many cars are dented in Boston)whizzing past you
on a network of twisty, high speed roads rooted in 17th century
cow paths, and it's pretty easy to find yourself on your way over
the Mystic River bridge heading to Maine instead of the North End
with signs like that.

But scrod is pretty good; much better than it sounds. Much better
than the Rocky Mountain oysters we serve up here. 

- Bill 

Tim Rood wrote:
 
 I haven't seen it, but my father, an MIT alum, said on the Beantown side of the
 bridge there's a sign (or was in the 40s) that says "___ to Hell."  The
 _ is some sort of linear units.  Could it be "smoots?" I kind of remember
 something prosaic like "One mile to Hell," but any town where scrod is
 eatten probably measure the world in smoots.
 
  Ah yes... the "Smoot!" One night a frat required its new pledge
  class to measure the MIT bridge using Mr Smoot's body. I forget
  how many Smoots the bridge is, but every year the new pledge
  class has to repaint the smootmarks. Last time I walked over the
  Charles to Cambridge they were still freshly visible.
 
  - Bill Thoen
 
  "Lavoie, Claude" wrote:
  
   What about this unit of measure the MIT students used to measure a bridge
   over the Charles River in Boston, Mass. (unit corresponding to the height
 of
   a fellow student)?
  --
  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]



My address (was MI - list problem ?)

2000-05-19 Thread Bill Thoen

Thanks for the thanks, folks. I do appreciate it! This week I'm actually out
of town so I'm not checking in quite as often as I usually do, but I'm still
here in a virtual sense (so sorry for the delays to those of you who chose
this week to go on leave, and had trouble getting off the list for the mean
time.)

Anyway, I continue to maintain this list for several reasons: it's (usually)
pretty easy to do; I've got the hard costs down to practically nil; and it's
been a very useful resource to me, and it's fun (most of the time.)

I also do it because I'm a MapInfo reseller and applications developer, and
it's good for business. So just remember that if you need any upgrades,
data, custom apps developed, etc., you know who to call. Of course, if you
like your current MapInfo rep's service, don't switch, but if you're
shopping around and don't want to live in interesting times, walk across hot
coals, shove bamboo shoots under your nails, or switch to the competition's
products like AnathemaGIS or GeoMiasma, do contact me.

Your offer of wine is very nice too--red or white will be much
appreciated--but watch out for those laws about shipping alcohol through the
mail. I think the govt. has "views" about that sort of thing. (but I won't
bother them about it--they've got plenty to do now anyway.)

If you ever want to reach me via post, you can always check the "contacts"
page on my web at http://www.ctmap.com/gisnet/, and also here:

GISnet
c/o Bill Thoen
1401 Walnut St., Suite C
Boulder, CO  80302
USA

303-786-9961 (voice)
303-443-4856 (fax)
[EMAIL PROTECTED]

Thanks again for all your support!
- Bill


--
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: FW: MI Antigen found =*.* file

2000-05-11 Thread Bill Thoen

 [EMAIL PROTECTED] wrote:
 
 Fran you are absolutely right.
 
 What the antigen is, is a virus detector and it is at the
 moment deleting ALL image files that come my way and then
 letting the sender know that it has been deleted. ...

This is why people should stop attaching files to messages sent
to mailing lists; this includes those stupid VCARDs and fancy
stationary that the Microsot Outlock tries to foist on you. It's
clutter, gobbles up bandwidth, and it all looks like viruses to
an increasingly growing number of jumpy servers.

I wonder if all servers started banning attachments and embedded
binary data (like images) and even HTML formatting whether the
world would be a better place or not? 

- Bill Thoen
--
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 Just wondering

2000-05-11 Thread Bill Thoen

I traced it to a paranoid server in Florida. It had been
paralyzed by fear, uncertainty and doubt, and so it was found
gibbering inside its own network revulsion field, mindlessly
rejecting all messages. I understand that it's been medicated now
and is expected to recover, so no worries.

In effect, fear of the love bug has been almost as effective at
seizing up the 'net as an actual infection would have been. 

- Bill Thoen

Brian Upton wrote:
 
 It is a problem on the mapinfo-l end of the line.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of McMahan, Jason
 Sent: Wednesday, May 10, 2000 12:16 PM
 To: [EMAIL PROTECTED]
 Subject: MI Just wondering
 
 Is anyone else receiving duplicate mail messages from days ago?
 
 Is this a problem on my end?
 
  Jason R. McMahan
  Director of Cartography
  Resource Data International
  (303) 444-7788
  [EMAIL PROTECTED]
  http://www.rdimaps.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]
--
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 Time function

2000-05-05 Thread Bill Thoen

A lot of useful mapbasic code can be downloaded free from
Directions Magazine's Tools site at
http://www.directionsmag.com/tools/. Going there and searching
for "time" turns up currtime.zip (direct link is
http://www.directionsmag.com/tools/default.asp?a=fileid=144)
which gives yuo four different ways to calculate times in
mapbasic. 

- Bill Thoen


 Gareth Hardman wrote:
 
 Guys and gals,
 
 Does anyone have a function that can easily work out the time
 difference say between 18:34 and 21:23. Ive written the code
 that will do this but frankly my inefficient programming means
 that it takes up tens of lines! I am currently populating
 beginning and end hour and minutes variables and using these.
 
 Im sure some of you MapBasic whizzes have a neat function that
 do this. Any help much appreciated.
 
 Gareth Hardman
 Saturn Technologies
--
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: Anyone used MI 6.0 yet?

2000-05-05 Thread Bill Thoen

It's not shipping yet. June 1st is the scheduled date for North
America. I think the only thing out now is the beta version,
which no one is supposed to talk about in public. 

I think that most people actively using MapInfo now will upgrade.
Casual users will probably think harder about it, but I really
think most people will get it. A certain percentage will almost
certainly try one of the cheap competitors, but will be back here
in a year or so saying that their alternative makes a nice
supplement to MapInfo. A smaller percentage will leave forever,
and probably throw out all commercial software and switch to
Linux and GRASS. At least that's what will happen if history is
any guide to the present.

- Bill Thoen

[EMAIL PROTECTED] wrote:
 
 Just curious,
 does anyone have any experiences with MI 6.0 yet along with any comments
 on new features or views on if many users will flock to the recent
 upgrade.
 
 any comments would be appreciated

--
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 VM and MapInfo 6.0

2000-05-02 Thread Bill Thoen

IMHO (although I guess there's no such thing as a "humble
opinion") Vertical Mapper is still light-years ahead of MapInfo
in the area of 3D operations. 

 matias wrote:
 
 With the new version of MapInfo in relation to 3D . What
 will happen with Verticla Mapper ???
 
 thank
 matias
 chile
--
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 Well . . . .has anybody tried their GPS this morning?

2000-05-02 Thread Bill Thoen



Jeff Lebowski wrote:
 
 I did and it kept giving me coordinates for someplace called Devil's
 Mountain in Wyoming.  Go figure.

And so where did you think you were this morning? Perhaps they
screwed up and activated the SDI transporter beam instead of turn
off SA, and you might just have become a Wyoming resident during
the night!

- Bill
--
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 Allowing user to specify a directory

2000-04-27 Thread Bill Thoen

"Elliot Tinton EG CEFAS (DN=EJT00, RECIPIENTS, LOWESTOFT, CEFAS)"
wrote:
 
 Can anyone tell me if there is a way to allow the user to specify a directory using 
MapBasic ?  Ideally by clicking on the relevant directory in a window showing 
directory structure.

Hi Elliot,

Boy, that's quite a return address you have there! But I
digress...

The way I solved this problem was to create a function called
GetDir() that presents a dialog box that lets the user search
drives and paths and returns either a fully-specified directory
path or a null string. Underneath this, I use the following
Windows API types/functions:

define MAX_PATH 260
define INVALID_HANDLE_VALUE -1

Type FILETIME
dwLowDateTime As integer
dwHighDateTime As integer
End Type

Type WIN32_FIND_DATA
dwFileAttributes As integer
ftCreationTime As FILETIME
ftLastAccessTime As FILETIME
ftLastWriteTime As FILETIME
nFileSizeHigh As integer
nFileSizeLow As integer
dwReserved0 As integer
dwReserved1 As integer
cFileName As String * MAX_PATH
cAlternate As String * 14
End Type

declare function GetLogicalDriveString32 lib "kernel32" 
alias "GetLogicalDriveStringsA" (
byval nBufferLength as integer,
sBuffer() as integer)
as integer
Declare Function FindFirstFile Lib "kernel32" 
Alias "FindFirstFileA" (
ByVal lpFileName As String, 
lpFindFileData As WIN32_FIND_DATA) 
As integer
Declare Function FindNextFile Lib "kernel32" 
Alias "FindNextFileA" (
ByVal hFindFile As integer, 
lpFindFileData As WIN32_FIND_DATA) 
As integer
Declare Function FindClose Lib "kernel32" 
Alias "FindClose" (
ByVal hFindFile As Integer) 
As Integer

These don't let you search the desktop, network neighborhood or
the other "new" Win95 paths (if anyone knows how to get to those,
please enlighten me!), but if you set up a mapped network drive,
these functions will work with that as though it was a regular
drive. The trick in gathering up only directory entries after
calling FindFirstFile() or FindNextFile() is to check the
dwFileAttributes element in the returned WIN32_FIND_DATA file
type and if it is 16, that "file" is a directory. 

You'll need one of those whopping big WinAPI books to understand
all the details (I'm using the "Visual Basic Programmer's Guide
to the Windows API" by Dan Appleman), but if you want to extend
MapBasic's reach into places you didn't think it could go, this
is a worthwhile investment.

Good luck,
- Bill Thoen
--
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 - Date function

2000-04-20 Thread Bill Thoen

Have you tried selecting setting the where clause to 
"Table2.date = (Table1.date - 10) AND Table2.date =
(Table1.date + 10)"

Tom Manson wrote:
 Okay people, how much do you know about Date functions in MI? Is it possible
 to select a row from Table1 where the date is within 10 days (for example)
 from another row in Table2? As far as I can tell, I can only select rows
 based on month, day of the week, day or year.
--
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 Without MB :Increasing Font Size in the Info Tool output box?

2000-04-18 Thread Bill Thoen

You don't need MapBasic, but you do need to know the magic words.
Open the MapBasic window and enter this:

Set Window Info Font ("MS Sans Serif",0,12,0)

The default size is 9, but the font size is controlled by third
parameter (the 12). The first 0 is the font style (0 = normal, 1
= bold, etc.), the last 0 is the color.

- Bill Thoen

[EMAIL PROTECTED] wrote:
 
 I do not have MapBasic so I guess there is not a way then without it?   It
 looks like I need to get MapBasic.
 
 James
 
 Is there a way to increase the font size of the output variable of the Info
 Tool output box?  I am talking about the icon with the "i" you use to get
 information about a particular data point.  Thanks,
 
 James
 --
 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 I was going to invest.... but ??

2000-04-18 Thread Bill Thoen

Very odd in light of today's release of MapInfo's second quarter
financial results. Here's the stats: 30% Revenue Growth;
Operating Income Increases 96%; Net Income up 92%. There doesn't
seem to be much wrong with that picture. But who knows why
multi-millionaires do what they do?

 Serge Dumoulin wrote:
 
 I hope I'm reading this wrong...but why is MI's president no
 longer holding any stock? See link below.
 
 http://biz.yahoo.com/t/40/1202.html
--
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 Find Point using distance on a line

2000-04-14 Thread Bill Thoen

[EMAIL PROTECTED] wrote:
 
 I am wondering if anyone has seen an application of can tell me if this is
 possible within MapInfo.  I need to find a point on a line given a starting
 point and a distance along the line.

If it's a straight line, and assuming that the distance is short
enough to be accurate, then if (x0,y0) is the starting point of
your line; (x1,y1) is the ending point; d is your distance in
miles, and (x2,y2) is the point you are seeking then:

d0 = Distance(x0,y0,x1,y1,"mi") 
x2 = x0 + (d/d0) * (x1-x0)
y2 = y0 + (d/d0) * (y1-y0)

This is not accurate for long distances on a spherical surface
(for d=1000 and d0 around 2000, it's off by about 10 miles.) If
you need more accuracy, the math is a little more complicated
(see http://www.best.com/~williams/avform.htm for great circle
formulae), or you could use a little loop that iterates nearer
approximations until you get "close enough," like so:

Close_Enough = 0.01 'miles
xmin = x0  ymin = y0
xmax = x1  ymax = y1
do 
  x2 = xmin + (xmax-xmin)/2
  y2 = ymin + (ymax-ymin)/2
  d1 = distance (x0, y0, x2, y2, "mi")
  if d1  d then 
xmax = x2
ymax = y2
  else
xmin = x2
ymin = y2
  end if
loop while abs (d1-d)  Close_Enough

Good luck,
- Bill Thoen
--
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 NAD27 to NAD83

2000-04-14 Thread Bill Thoen

What changes is the objects' actual positions on the earth, not
their coordinates. In other words (-105, 40) in NAD 83 is about
150 feet east of (-105, 40) in NAD 27. If you create a point at
this location and save it in a table with a NAD83 projection, and
then save it to another table with a NAD 27 projection, and open
both of these on the same mapper, the one that has the coordinate
at (-105, 40) will be the from your FIRST layer in your mapper.
The other gets a coordinate slightly different because it's being
displayed in a coordinate system different from its native one.
Open a new mapper with the layers reversed and the other point is
"correct". (This is because the mapper gets its coordsys from the
first map layer displayed in a mapper.)

- Bill Thoen

[EMAIL PROTECTED] wrote:
 
 All,
 I have a map in NAD27.  When I "Save Copy As..." the map to another file,
 changing the projection to NAD83, all the features in the new map have the
 exact same lat,long values.  I was under the impression that a feature's
 specific location in NAD27 would change a little bit in NAD83. ex: NAD27 77.5
 w, 39.0 n = NAD83 -77.4899 w, 38.889 n.  Any answers?
 Thanks,
 Pete
 [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]



MI Re: Customising the MapInfo Professional on the top left hand of the MI screen

2000-04-05 Thread Bill Thoen

Tony Kelava wrote:
 
 Can anyone tell me if the following is possible:
 Can I change the "MapInfo Professional" text on the top left hand part of
 the MI screen to read something like "Tonys MapInfo GIS"?

Here's some MapBasic code that will do it.

'TonyWin.mb
'Demonstrates how to change the main window's title
'through the use of Windows API functions 
'GetActiveWindow() and SetWindowText().
'==

Declare function SetWindowText 
  Lib "User32" Alias "SetWindowTextA" (
  ByVal hWnd as Integer, 
  ByVal Str as string)
  as integer
Declare function GetActiveWindow 
  Lib "User32" Alias "GetActiveWindow" ()
  as Integer

declare sub main
declare sub SetWindowTitle (byval sTitle as string)

'--
sub main
  call SetWindowTitle ("Tonys MapInfo GIS")
end sub

'--
sub SetWindowTitle (byval sTitle as string)
dim hWnd, nResult as integer

hWnd = GetActiveWindow()
nResult = SetWindowText (hWnd, sTitle)
end sub
--
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: Converting DEM data between vertical datums

2000-03-31 Thread Bill Thoen

Not too much response on this, but here was the question:

 Does anyone know of any software or data sets (shareware or commercial) that can 
convert elevation data from one vertical datum to another? Specifically, I'd like to 
convert some DEM data from NAVD 88 to NGVD 29.

And here are the answers:
 
Andrew Waltho [EMAIL PROTECTED] suggested I take a look
at Blue Marble's Geographic Calculator. Information about it was
at their website
(http://www.bluemarblegeo.com/products.asp?id=1), but in regards
to datum shifts in coordinates, only horizontal datums were
mentioned.
 
David Matson [EMAIL PROTECTED] pointed out the
web page for Corpscon at
http://crunch.tec.army.mil/software/corpscon/corpscon.html.
Corpscon is free software (for MS Windows) that converts
coordinates between geographic, State Plane and UTM for points in
the coterminous United States. Datum shifts are based on NADCON
And VERTCON, which are also free utilities.

Since I forgot to mention that Alaska was my region of interest,
VERTCON wasn't good enough as it doesn't cover Alaska. Further
inquiry drew a reponse from Renee Shields [EMAIL PROTECTED]
who said:

 "The VERTCON transformation is based on grids created from the differences between 
the NGVD29 and NAVD88 heights, but the vertical network is so sparse in Alaska that 
reliable grids could not be created. My best suggestion is that you locate a bench 
mark near the area in which you are working which has both NGVD29 and NAVD88 heights.
 A helpful tool to identify points is the NGSmap found on our web site under 
"Retrieve data sheets": http://www.ngs.noaa.gov/datasheet.html. If after working with 
this you are unable to locate a qualifying bench mark, contact our information center 
at [EMAIL PROTECTED], or, for occasional requests, contact me directly."

Thanks for the help, folks; I think I have a handle on it now!

- Bill Thoen
--
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 HOW TO CONVERT DEGREE TO METER

2000-03-30 Thread Bill Thoen

Create a point object at the known location in the lat/long
system (add a point object to the cosmetic layer, click on it,
and enter your desired coordinates). Then change the coordinate
system (Map/Options/Projection) to whatever you want and double
click on the point. The coordinates will now be in the current
coordinate system.

- Bill Thoen


 Jiang yuwu wrote:
 
 If coordinate system is a Earth project such as "UTM Zone 18,
 Northern Hemisphere (WGS 84)"
 and I know the location of a point in "degree" unit, how can I
 get the x,y in "m" unit?
 the other way round,how to convert the X,y in "unit" to degree"
 unit?
 Thanks very much?

--
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 How to avoid importing indentical objects?

2000-03-30 Thread Bill Thoen

I have a need to import map objects into a table from various mif
files via a MapBasic app, but I need to prevent map objects from
being appended into the table more than once. 

I was thinking of computing a hash index based on various object
properties (e.g. type, centroid, length, perimeter, area, etc.)
and using that to see if an indentical object is already loaded.
Has anyone tried that approach, or does anyone have any thoughts
about this method? Are there other, perhaps simpler or better
techniques to screen imported objects for duplicates? (I can't
use the data attributes because I can't gaurantee that a unique
key can be maintained.)

TIA,
- Bill Thoen
--
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 spams

2000-03-27 Thread Bill Thoen

A while ago I closed the list so that only subscribers could post
messages, hoping to take care of this sort of thing.
Unfortunately, a lot of people read MapInfo-L via corporate
gateways and web "mirrors", and are not actually subscribed. When
the list was closed, they found that they could no longer post
messages, and they were unhappy. So I made the list public again,
and now we are exposed to spam.

Junk mail tends to grow exponentially, and though it's at a low
volume now, I expect we'll see more. We cannot filter it
automatically at the server, and I don't want to volunteer to do
it manually, so source-filtering is not an option. 

Other options to counter spammers involve tracing headers and
elminating the mule servers (these are machines with poor
security that spammers use to deliver their payload), or
attacking the businesses they are trying to promote through
complaints and reporting the illegal scams to the FTC and BBB
(www.ftc.gov and www.bbb.org). This takes a lot more energy than
it seems to be worth, but if you get mad enough, it's a great
channel for anger. You might even nail one or two of the
pinheads. There are also sub rosa options, but we'll leave those
up to anonymous altruists who would rid us of these troublesome
beasts.

For the rest of us, the easiest option is to filter spam on your
own end (using built-in filter tools that come with your mailing
software.) For the ones that still get through, just delete and
forget.

Once the level of spam rises to a point where even that is
intolerable, we can close the list to non-subscribers. It's sort
of a question of balancing pros against cons. We could also move
the list to better server software, and currently we are testing
a new version of majordomo at Direction Magazine. I'll post more
on that as it becomes a real option...

- Bill Thoen
P.S. You seldom get answers to more than one question per
message, but keeping a map window open when you remove the last
layer is not possible directly. The best solution I've seen is to
open an empty dummy layer and never remove that one.

Raymond Rivest wrote:
 
 I just noticed that we received many junk mail recently in the mailing list.
 
 Just wondering, if there are any filters installed so only subsribed
 members can post in the mailing list or is the posting open to anyone ?
 
 It's not that it's that much of a problem now, but it could become one if
 the list is too open.
 
 Any comments ??
 
 In the mean time, does anyone know of a good trick to keep a map opem even
 if you remove the last layer in it ?  Or is there a way to force a refresh
 for a raster image.
 
 I'm trying to reload raster layers but the image is not resized properly,
 so the registration is flawed.
--
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 MapInfo List - Data Translators.

2000-03-23 Thread Bill Thoen

"MacIntosh, Jennifer" wrote:
 Can anyone recommend any software other than MapInfo's Universal Translator
 or Safe's FME product to translate from other popular mapping file formats
 into a MapInfo .TAB file format?  Thanks.

If there aren't any others now, there soon might be. Anssi
Joutsiniemi and Robert Edwards have just submitted a "white
paper" to our MapInfo-L file archives that describes in detail
the internal format of the MapInfo *.Tab, *.Dat, *.Map, *.Ind,
etc. It's an "Open Source" HTML document in the White Papers
section of Free Tools at http://www.DirectionsMag.com/Tools, or
you can grab it directly from:
http://www.directionsmag.com/tools/Default.asp?a=fileid=252.

- Bill Thoen
--
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 Re: Hottest product on the net...banned after 3/25/00 sasfd

2000-03-21 Thread Bill Thoen

Deinya Phenix wrote:
 I think the proportion of advertisements on this list dilutes it's
 usefulness, don't you?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, March 21, 2000 2:43 AM
 Subject: MI Re: Hottest product on the net...banned after 3/25/00 sasfd

Yeah, especially when people comment on these things endlessly in
the public forum and quote the entire thing all over again. By
reposting it, and crossposting it to everyone listed in the
header, you perpetuate the spread of this sort of sales-virus.
Which is exactly what they want.

We can't do anything about it, and it can't be stopped. Spamming
is the inevitable consequence of a free market with all the
scruples of a feral alley cat. 

The non-selective bottom feeder behind this operates out of PO
box in Laredo, TX. We should all mail him some roadkill squishy;
preferably a dead skunk. (imagine... over 1100 ripe little
packages showing in Laredo all at once... ;-) 

He is not from Siemens Business Services in Munich, Germany. They
were just the mule that this rode in on. This spammer just stole
the use of Siemens' "david" machine to do his dirty work. Wonder
if there are any international laws about theft of computer time?
Naw... that'd be too easy to ask the post office in Laredo to
turn him over to fraud squad. But how much you want to bet that
if you DID mail N.I. LLC a dead skunk or some red-bag hospital
waste, the MIB would be on your doorstep within 24 hours?

Just put a fresh spring under your delete key and keep using it.
That really is the path of least resistance. 

- Bill Thoen
--
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 Do we want to create a MapInfo Newsgroup?

2000-03-17 Thread Bill Thoen

Recently, several people have asked me if we should consider
starting a MapInfo Usenet newsgroup in addition to (or instead
of) the mailing list we use now. I thought I'd toss it out for
discussion and see what everyone thinks.

First of all, Usenet newsgroups take a little effort to set up.
We would need someone who has access to a newsgroup server who
would volunteer to be the "maintainer" (this would not be me; I
have too much going on as it is right now). 

After we get the initial issues sorted out here, the official
Usenet process starts with formal a Request for Discussion (RFD)
on news.announce.newgroups, then we need to find a volunteer site
to tabulate votes, then there's a call for votes. If we get
enough votes (and people outside the MapInfo community can and
will vote too, so you need to be coherent and persuasive in
laying out your arguments) then the maintainer can start posting
the messages to servers to start propagating the newsgroup across
the world. 

Getting a slot in the "Big 8" hierarchies makes propagation very
easy, but you have to have the votes. The process can take 2-3
months. A quicker route is to create it under the alt or other
non-big8 hierarchy. That's faster to get started, but much more
difficult to get widespread coverage because many servers won't
carry alt newsgroups unless specifically asked (and even then
they still might not; alt groups are known for carrying a lot of
worthless twaddle).

For more info on the process see the news.newusers.questions FAQ
or read news.groups for a while or go read about it at
http://www.geocities.com/ResearchTriangle/Lab/6882/ncreate.html.

There's plenty of arguments pro and con, but I don't want to sway
people one way of another at this point. Post your comments
publicly, and if there's anyone out there who wants to offer to
be a maintainer/moderator and champion the cause, throw your hats
in the ring!

For everyone's information, there are currently 1143 subscribers
on MapInfo-L. Some of those are gateways and many people read
MapInfo-L from various web mirrors, so I don't really know how
many "eyes" really read this list. My guess is  that to get the
votes to create a big 8 hierarchy like comp.infosystems.mapinfo,
or sci.geo.mapinfo or whatever, you will need to really get the
vote out. Typically, 1200 people is a small group by usenet
standards, but it's an active one!

If you have an opinion or some interest in getting involved,
speak up! For those of you on mirror sites, remember that the
list address is [EMAIL PROTECTED]; you don't have to be a
subscriber to post your opinions.

- Bill Thoen
--
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 Do we want to create a MapInfo Newsgroup?

2000-03-17 Thread Bill Thoen

Robert Karr wrote:
 
 What's a "Newsgroup", and why would that be better than what we have??  Bob
 

A newsgroup is a wide open open mailing list, with the main
difference being that all the mail resides on a server near you.
Your software can do all the same things with mail posted here
(read, send, search, thread, etc.) except that it doesn't fill
*your* mail box with mail. You have to connect to an NNTP server
(ask your ISP for the address of their news server) and you have
access to literally zillions of email based discussion groups.
The big GIS one is comp.infosystems.gis, but you can also look at
AutoDesk, ESRI, Integraph and other special forums that are
narrowly focused on just about any topic you can imagine. And I
mean ANY topic!!

However the first trick is try it out. Ask your ISP how to access
their news server. If they don't have one, you are not getting
the full firehose information stream you should be getting. Tell
the ISP what software you use to get your mail, and they should
be able to help you get set up. Then subscribe to news.answers or
news.newusers.questions and news.groups, and watch those for a
few days; you'll get the idea pretty quickly.

There are pros and cons to newsgroups just as there are for
mailing lists, but I think I will defer to those who thought
MapInfo-L should go to a newsgroup to describe why they think
newsgroups are better.

- Bill Thoen
--
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 mif2tab.exe ?

2000-03-16 Thread Bill Thoen

I asked once. A few years ago the answer was no. I hear that a
licensed DLL kit does exist, but it's not open to the general
public, and it comes with a whopper price tag (naturally). 

However, I don't believe anyone can copyright a data format
anyway (or ESRI, MapInfo, AutoDesk, and Integraph would have sued
each other to death already), so if you can figure it out you
could probably use it without any problems. Good luck figuring it
out. Only a few illuminati know how, and they all think the
others haven't got it right yet. I have noticed that interest in
this format has really increased in the last few months, so I
guess the genie is just about out of the bottle anyway. 

Just out of curiousity, if you could buy it, what would people be
willing to pay for a DLL or ActiveX tool that would provide the
ability to create and direct read/write access to MapInfo TAB
files? 

- Bill Thoen

Neil Havermale wrote:
 
 There is a better answer to all of this.  I would suggest you contact
 MapInfo's Developer Services and ask about access to TAB
 
 MidNight
 3/16/00
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 15, 2000 12:40 PM
 To: [EMAIL PROTECTED]
 Subject: Re: MI mif2tab.exe ?
 
 Mats Elfström [EMAIL PROTECTED] wrote:
 "On 01/04/99, the Midnight Mapper asked: Anyone out there interested in
 building a shareware MIF2TAB.exe?"
 
 And Mats replied:
 Well, I just discovered that someone has.
 Visit  http://pages.infinit.net/danmo/e00/index-mitab.html for downloads and
 
 more information.  I cannot vouch for the functionality of this stuff, but
 it
 passed a simple back and forth conversion test.
 ## end of quoted material ##
 
 I downloaded the material Mats discovered and recompiled it to produce a
 Windows DLL using Borland C++ Builder 4. (I just can't stand having to work
 in a DOS command line!) Here is my "take" on the software:
 
 1. The code is a very good start, but it is unfinished in several respects.
 For example, the functions it provides are "read/create" rather than
 "read/write." Thus you can create a TAB file from a MIF/MID, but you can't
 open a TAB and add new objects to it. You (apparently) have to convert the
 TAB to a MIF/MID using the Tab2Mif, delete and/or add updated objects (in
 MIF/MID format), then create the updated TAB using Mif2Tab.
 
 2. The software (apparently) doesn't do any "intelligent" grouping of
 objects. Thus the objects appearing together in an object block (a type 2
 record) are not contained in some minimal bounding rectangle (as they are in
 
 a TAB built by MapInfo itself).
 
 3. The conversion from external floating point coordinates to internal
 integer format is based on the minimum bounding rectangle of the contained
 data rather than limits that allow arbitrary coordinates anywhere on the
 ellipsoid. Thus, if you use MapInfo to update a TAB created by MITAB you
 will
 find that no data can be added outside the bounding rectangle of the
 original
 data. (Fortunately, fixing this problem in MITAB is rather simple.)
 
 However, given these reservations, I believe this is an excellent start
 toward an "open" set of software for working with data in Mapinfo "native"
 format. And, of course, just having a Mif2Tab and Tab2Mif capability (albeit
 
 experimental) is a big step forward in itself.
 
   Robert Edwards
   The MapTools Company
 --
 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 Elias teaches us a lesson

2000-03-15 Thread Bill Thoen

I wouldn't go too hard on Elias... Mailing lists can be hard to
use and especially when someone else signs you up to lots of them
suddenly, and you have to work fast or suffer your mailbox being
choked off. If you don't know a list's server address, you can't
get yourself off, and you also don't even know who to ask. If you
know nothing about mailing lists, you won't even know the basic
command that gets you help (BTW, for those Gumbies out there,
it's "Help.") Try it and see if you can figure out how to get the
MapInfo-L-specific help. Heck, we even have people here (besides
Elias) who try to unsubscribe by sending various attempts at that
hard-to-spell command to the whole list instead of just to the
server. (Misspellings won't work there either; remember,
computers do only what you tell them to do!) And if you don't
read and write english as your primary language, imagine how much
harder it can be. But of course, your first clue is always right
at the bottom of every MapInfo-L message:

---
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED]
and put
"unsubscribe MAPINFO-L" in the message body, or contact
[EMAIL PROTECTED]

Elias had a good point, though... the mailing list software
always *should* confirm that you really want to be signed up when
the request is made. Majordomo (the software we use) doesn't do
that, and since it's free we can't demand our money back. But
when it comes right down to it, the problem isn't with people,
it's with the software. As long as it's too hard to use and too
easy to spoof, we will see Elias and others like him again. 

Just be thankful Microsoft doesn't own the net (yet) or we'd have
to suffer a sniggering "paperclip buddy" fawning obsequiously at
us every time we look like we're flailing away at worthless WIMP
interfaces that are so cleverly written as to always manage to
dynamically hide the very operation we need. 

- Bill Thoen

Francois Molle wrote:
 
 After the inconvenience experienced by our group, now divided in those
 1) who had put "ELIAS" in their email filters; 2) those who got nuts and
 aired their anguish, in an attempt the relieve their stress, 3) those -
 the silent majority - who were wondering : "will that guy go on for
 weeks like this ?". Everyday in life is a lesson and the lesson of this
 story (which was taught during 3 days or so...) was : Look what
 perseverance, determination, and utmost tenacity in achieving his goals
 a man is capable of ! Kids you don't need to be smart [did Elias ever
 wonder why he was not receiving message with others' "unsubscribe" !!],
 just be stubborn and you will be rewarded (forgiven ?), just like Elias,
 who was eventually "unsubscribed" (by a distressed webmaster), as he
 wished to be !
 One must also marvel at the unfathomable faith Elias puts in
 computers... which, he believes, did not respond to his first 40 attemps
 but wouldl perhaps hear him at the 41st time ! I like this human way of
 looking at machines...
 
 Pancho
 
 --
 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: Can somebody please remove Elias!

2000-03-13 Thread Bill Thoen

Elias' email server is well and truly fubar again, and this
address was removed from MapInfo-L last week. For some reason
Elias's software is still sending "unsbscribe" [sic] messages to
everyone on MapInfo-L. Complain to the postmaster in Beruit--the
person responsible for this--at [EMAIL PROTECTED] OR
you could just girn and bear it. I've complained (again) so s/he
is aware of the problem and its magnitude.

- Bill Thoen

John Fannon wrote:
 
 Could somebody please remove this person from the list as I am receiving
 unsubscribe messages every few minutes.
 
 thanks
 
 John
--
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 Elias, get some help???

2000-03-09 Thread Bill Thoen

I know. Obviously that mail server is out of control. I've
already taken this address off the list, but the problem is on
the other end. I've sent a complaint to the postmaster and to
Elias' other address, so I don't know what else can be done.

Complain to the postmaster, but start off being polite, and give
them a chance to take action. Maybe if they get enough noise,
it'll wake them up over there. 

- Bill Thoen

"Brown, Christopher (HI Perth)" wrote:
 
 The unsubscribe messages I keep getting from this person, are really
 starting to P**S
 me off!!
 Chris
--
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 MapX - can mapx import mif/MID files

2000-03-08 Thread Bill Thoen

MapX users have to write their own import routine for MID/MIF
files. It's not hard, but it is tedious and takes some time. A
routine to do this would be a very handy shareware tool if anyone
feels like getting world-famous and possibly getting some
contract work by showing what they can do... (any takers?)

- Bill Thoen

 Dr Rajeev saraf wrote:
 
 HI guys:
 I did not see any documentation in mapx brochure about able to
 import mif files. is this true? MapX cannot read mif/mid files.
 if so, then how do we create files using VB and then just
 viewing it in map window?
 ---
 rajeev saraf
--
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 Corporate influence on the USGS

2000-03-02 Thread Bill Thoen

Here's a sad laugh. The new filtered National Elevation Dataset
(NED, at http://gisdata.usgs.gov) is not available in either the
good old *standard* DEM format, nor is it available in that new,
irritatingly difficult SDTS format that we've recently had to
embrace like a saguaro cactus (and how much trouble have we all
gone to already to work with the established standards?!?.) No,
these data come in ArcGrid format, a proprietary ESRI standard.
Officially it is also available in GRIDFLOAT (an open ASCII
format also designed by ESRI) and bil format which is a common
non-prop graphics standard too, but just try getting a large area
(like a whole state or the whole country) in anything other than
ArcGrid. The USGS can't do it yet. Or at least there's a long
wait.

With so many open and published GOVERNMENT standards that support
elevation data, why can't they produce NED in one of their own so
all of us get a fair shot at it? It's really too bad that the
USGS has to use software that doesn't support their own formats
and they no longer have enough technical people to provide data
in any of these published formats.

I wonder what the world would be like today if the USGS had
embraced the Open Source concept, gone with GRASS and other open
software to produce and maintain our national data assets. I hope
they are considering the idea of migrating to a full Open Source
solution before the commercial-dependence shackles get welded on
too tightly to shake off. In the meantime, we now have ANOTHER
freakin' format to write translators for!!!

rant... rant... sputter... @#%$*!!

- Bill Thoen
--
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: Advanced Math Operations in MB

2000-02-24 Thread Bill Thoen

"Stephen R. Riese" wrote:
 I then found, unfortunately, that MapBasic cannot handle multi-dimensional
 arrays.  So much for inverting a matrix.

Implementing multi-dimensional arrays with one-dimensional arrays
isn't that tough. You could even hide the gnarly bits by using
function calls (but that would slow down an already slow
language.)

dim m, n, mLimit, nLimit as integer
dim a() as float

'define a 2x3 matirx
  mLimit = 2
  nLimit = 3
  redim a(mLimit*nLimit)

'populate  index m,n is defined by a((m-1)*nLimit + n)
' | 2 6 3 |
' | 4 7 2 |

  m = 1 n = 1
  a((m-1) * nLimit + n) = 2
  m = 1 n = 2
  a((m-1) * nLimit + n) = 6
  m = 1 n = 3
  a((m-1) * nLimit + n) = 3
  m = 2 n = 1
  a((m-1) * nLimit + n) = 4
  m = 2 n = 2
  a((m-1) * nLimit + n) = 7
  m = 2 n = 3
  a((m-1) * nLimit + n) = 2

'Retreive element a(2, 2), (should be 7)
  m = 2 n = 2
  print a((m-1) * nLimit + n)

...and so on. 

 - Bill Thoen
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



[mapx] Re: MI subscribe

2000-02-10 Thread Bill Thoen

My guess is that you try sending a message to 
[EMAIL PROTECTED]
It's not a very busy group yet, but I expect it will be.


Say, what do you know about translating MapBasic into Avenue? The
app I need to look at uses DDE to communicate with a GPS, and it
also uses a lot of tool buttons. It needs to be able to read
records by map position too, with the map projection usually
being State Plane (occasionally UTM or lat/lon.) Do you see any
"gotchas" lurking in these areas? Other than that, it's pretty
much table and map object manipulation. 

- Bill Thoen

Neil Havermale wrote:
 
 subscribe
 
 [EMAIL PROTECTED]
 
 
 To Post a message, send it to:   [EMAIL PROTECTED]
 To Unsubscribe, send a blank message to: [EMAIL PROTECTED]
 
 
 Love. Relationships? E - Commerce!
 http://click.egroups.com/1/1145/4/_/380575/_/950143956/
 
 -- Easily schedule meetings and events using the group calendar!
 -- http://www.egroups.com/cal?listname=mapxm=1
 
 --
 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 Post a message, send it to:   [EMAIL PROTECTED]
To Unsubscribe, send a blank message to: [EMAIL PROTECTED]


eGroups eLerts!
It’s easy. It’s fun. Best of all, it’s free.
http://click.egroups.com/1/1231/4/_/380575/_/950201624/

-- 20 megs of disk space in your group's Document Vault
-- http://www.egroups.com/docvault/mapx/?m=1


--
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: Call dll with a 4Bytes float instead of 8Bytes float?

2000-02-10 Thread Bill Thoen

This is a difficult and messy problem, but I can offer some
ideas. First, there's lots of web pages that explain the details
of floating point numbers. Microsoft has a pretty good one:
http://support.microsoft.com/support/kb/articles/q42/9/80.asp,
but there are many others.

This trick uses the method of fooling the software into placing
floating point bit patterns into an integer and then you access
the bits and bytes of the parts in MapBasic by using integer
division and the mod function. 

So pass your 'Value' variable to your DLL as an MI integer. Since
you are passing it a 4-byte chunk of memory (which is what an
integer is as far as the computer knows), your DLL will
cheerfully accept it and fill it as a 4-byte Single. When it
comes back, you want to convert its bit pattern into an MI float
by interpreting the bits as they are packed in the f.p. format. A
VB Single (an IEEE 32-bit floating point number) has this bit
pattern for its 32 bits:
s  fff 

Here s is the sign (1 = negative),  is the exponent
biased by 127 (so you can have exponents in the range of -126 to
127; -128 and -127 are reserved to indicate special conditions)
and then the last 23 bits are the fractional part of the
mantissa. Also, in IEEE f.p. numbers the highest bit of mantissa
is dropped, and the exponent adjusted accordingly, so in reality
there are 24 bits of mantissa with the high one (which is
implied) always set to 1, and you have to add it back in. So when
your integer returns, the bits need to be taken out into three
numbers; the sign (either -1 or +1), an exponent (a signed value
between -126 and 127) and the mantissa (you can use an MI
integer). Then to construct your float value, add the missing 1
back into the mantissa (which is considered to start with the
decimal point) and the formula is just: sign * (1.mantissa) ^
(exponent - 127).

To break out the bits in an integer, you just use the integer
divide and mod functions like so (assuming n is your integer):

bit0 = (n \ 2^0) mod 2
bit1 = (n \ 2^1) mod 2
bit2 = (n \ 2^2) mod 2
bit3 = (n \ 2^3) mod 2
...
bit31 = (n \ 2^31) mod 2

To build a 32-bit number from bits it's:
n = bit31 * 2^31 + bit30 * 2^30 + ... + bit1 * 2^0 

Here's an example. Say your integer number for Value comes back
as 1097544499. 
in hexadecimal notation that's:
41 6B 33 33

Converting to bits and matching up to IEEE bit format yields:

s  fff 
0 1010 1101011 0011001100110011

So the number will be positive (s = 0), it's exponent is
130-127=3. Prefixing the missing 1 to the high bit place of the
mantissa we have (note the binary decimal point):
1.110101100110011001100110

Raise this to the 3rd power (in binary, you just shift the
decimal point to the right), and arrange the bits into byte
sizes, you get:
1110. 10110011 00110011 0011

converting to decimal, you get 
14. + 179/256 + 51/256^2 + 48/256^3 = 14.7

You can verify this with the following teeny-weeny VB program
(which might give you another hint at a way to convert numbers):

Private Sub Form_Load()
Dim f As Single
Dim i As Long
Me.Show
f = 14.7
Open "c:\tmp\test.bin" For Binary Access Read Write As #1
Put #1, 1, f
Get #1, 1, i
Close #f
Text1 = Str$(i) 'This value is 1097544499
End Sub

- Bill Thoen

Franck Martin wrote:
 
 In MapBasic I declare the following external function :
 
 Declare Function getnodevalue Lib "SomeoneDll.dll" (ByVal Index As Integer,
 ByVal Code As Integer, Value As Float) As Integer
 
 and define the following constant
 
 Define EN_PRESSURE 7
 
 when I call the Function with
 
 myopen = getnodevalue( nodeindex, EN_PRESSURE, pressure)
 
 It returns wrong values.
 
 The same code works perfectly in Visual Basic except the dll is declared:
 Declare Function getnodevalue Lib "SomeoneDll.dll" (ByVal Index As Integer,
 ByVal Code As Integer, Value As Single) As Integer
 
 I suppose that the problem comes from the fact that in MapBasic the type
 "float" is coded with 8 Bytes while a type "Single" is coded in 4 Bytes.
 
 I do not know how to change the type of the variable Value in Mapinfo to
 pass a 4Bytes coded float.
 
 Any body knows?
 
 Please reply directly...
 
 Franck Martin
 Network and Database Development Officer
 SOPAC South Pacific Applied Geoscience Commission
 Fiji
 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Web site: www.sopac.org.fj http://www.sopac.org.fj
 
 --
 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]



SUM: MI Can MapBasic call routines in ActiveX DLLs?

2000-02-09 Thread Bill Thoen

The question was: "...can you make ActiveX DLLs that can contain
functions and subprograms that can be called from MapInfo [via
MapBasic] like you can with the earlier style DLLs?"

The answer is: "No."

Some people confused Windows API functions with ActiveX DLLs, but
in fact, these are regular DLLs, and so can be used directly in
MapBasic. However, you CAN make a resource DLL to provide tool
button icons to your MapBasic app (See Chris Martin's Feb 1st,
2000 summary on this, "Re: MI Resource Files/DLLs - summary")

For those who want the dirty details, Chris Martin explained that
the new VB5/6 DLLs are ActiveX DLLs or COM Servers. Basically,
this means that if your development language isn't COM compliant,
you lose. Access to ActiveX functions require COM support which
is what makes them "visible" to an application, and MapBasic is
not COM compliant. 

Chris also mentioned that there may be ways around this, but they
would involve some sort of bridge written in C++ that serves as
an interface to your app. He also thought that Desaware's
SpyWorks may be useful here.

He adds:
 "In normal DLL's an Export Table is generated where all public function names and 
their parameters are written. Any program can then import that library (that's what 
you do when you DECLARE an api function) and use its functions.

 Unfortunately, as VB DLL's are COM servers, the only functions that they export are 
to register and un register the server. There's no other functionality you can 
access."

Brad Matthews added:
 "VB created ActiveX DLLs (and ActiveX EXEs) can be used by any other language which 
supports the COM interface (C++, Powerbuilder, Delphi, VBA, ASP). MapBasic does not 
support the COM interface."

Richard Burkmar added some interesting perspective by pointing
out that the main issue is that MapBasic is not COM-compliant,
and that the future is with development tools that are; like
MapX. He says:

 "The Component Object Model (COM) is central to the Microsoft Windows environment 
and there probably isn't much of a future for development environments which don't
support it.  Nowadays, most do - for example any development
environment in which you can incorporate a MapX map is COM
compliant. MapX exposes its functionality as a COM component - if
it didn't it wouldn't have got off the ground."

In addition to Chris, Brad and Richard, thanks also to Mark
Crompton, Brad Matthews, "MAPPER MAN", "Geografía y Electrónica,
SA de CV", and David Troughear for their responses.

- Bill Thoen
--
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 Request

2000-02-08 Thread Bill Thoen

"Troughear, David" wrote:
 
 Is there any chance of having a MapX email site - similar to MapInfo-L, I have used 
the MapX discussion site a great deal and find it useful.

Unless somebody wants to set up a separate email list (note: not
another web browser "list") for MapX, I don't see why this forum
wouldn't do the job. Just precede your subject lines with
something like "MapX:" to alert people about the content of the
message.

There's good arguments for serving mailing lists via email vs
using web pages. Each has their strengths and weaknesses, and
some of these are weighted differently by different people
according to personal taste. Personally I prefer email servers
for email. They're more open and flexible, IMHO. All we need to
improve this one is a daily "digest" option to cut down the load
of separate emails each day. MapInfo has set up a great search
tool for this list at
http://testdrive.mapinfo.com/tdc/mapinfo-l.nsf/?openabout, and we
also archive all the past messages at
http://www.directionsmag.com/mapinfo-l/digest/. For those who are
interested in MapX, perhaps you don't know that MapInfo's MapX
list is at
http://testdrive.mapinfo.com/tdc/discuss.nsf/mapx+discussion?openview,
and it's pretty busy. BTW, you have to register to get a password
before you can use that list. It's free, but go to
http://testdrive.mapinfo.com/tdc/home.nsf?OpenAbout and register.
There are several other forums available too.

But feel free to use this list for MapX talk too. I'm one who's
rather interested in this subject as well, and if I read the
writing on the wall correctly, MapX is where MapInfo programming
is going.

- Bill Thoen
--
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 Can MapBasic call routines in ActiveX DLLs?

2000-02-05 Thread Bill Thoen

A while ago Chris Martin's summary on how to get custom icons
into MapInfo interested me enough to wonder what else you can do
with this technique. Basically --and this works great-- you can
create a custom ActiveX DLL that will allow you to use all sorts
of home-made icons like so:

1) Create a new ActiveX DLL project
2) Open resource editor, and add your custom bitmap pairs
3) Save resource file in Project
4) Save and compile project
5) Distribute...
6) When selecting icon, specify pathname of DLL
  eg. ICON 1002 FILE "MyIcons.DLL"
7) Sit back and impress friends and colleagues, with smiley faces
and 
 Bunny Wabbits.
(You need at least VB 6 or you won't have the Resource Editor.)

But my question now is, can you make ActiveX DLLs that can
contain functions and subprograms that can be called from MapInfo
like you can with the earlier style DLLs? If so, does anyone have
a small example? I know VB can't do the old style DLLs, but it's
VB that I have now, so it would be neat to be able to use to make
new style DLLs, if they could be made to work with MapBasic. Can
this be done?

- Bill Thoen
--
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: MapBasic training courses - Pro and Con?

2000-02-03 Thread Bill Thoen
s. The SQL chapter
does belong in an intro course, but for beginners, only the
basics of SQL should be covered, and that should be moved up to
be included on a (currently missing) table manipulation chapter.
Surprisingly, most "beginner programming" students have never yet
used the MapInfo "SQL Select" under MapInfo’s Query menu! 

SQL select is a must-know topic if you are ever going to mess
with tables programmatically. Also, there are really two levels
of SQL that need to be mastered: basic table manipulation, and
the more complicated object manipulation. These probably ought to
be presented in two places. Just because they both use SQL
doesn’t mean they are in the same category. The first ought to be
concerned with manipulating data, and the second with performing
GIS operations with objects like (contains, within, intersects,
using buffers, etc.) Neither should get too deep into SQL for a
beginners’ course. You could spend weeks on SQL if you wanted to,
so you need to draw the line somewhere.

3. Presentation
Most instructors just try to follow the course workbook, and some
of the problems that makes for presentation are touched on above.
However, beyond that, students’ most often-cited issue on
presentation was that they wanted more hands-on experience. For
instructors that problem was also always acknowledged, and also
always with the lament that there’s too much to cover in such a
short time to leave much room for lab work. One student responded
positively to a UK course where they received about 10 minutes of
lecture followed by 10 minutes of hands-on examples. Maybe the
rapid back-and-forth method from lecture to lab is better than a
long lecture and then a long lab (where you have less control of
time.)

How to get more time to present everything? A couple of
possibilities come to mind. First, don’t try to cover so much in
an intro class. One experienced trainer suggested that for the
typical beginner, topics like the Animation layer, DLLs, and DDE
could be dropped and hardly missed. Maybe providing some examples
on a companion CD for the student to cover those topics later on
his or her own would be a better way to present these topics, or
move these into a more advanced course.

The lack of separate course tracks tailored to class interests
came up more than once. Students want such short intensive
courses taught in the context of their industry. This also saves
time if everyone is in the same industry, and gives them real
examples they can use immediately. Although I can think of
industry applications that emphasize certain tools and techniques
over others, I can’t think of many reasons why you can’t, for
example, demonstrate "object manipulation" with examples that
come from any industry. The down side to that is that providing
so many alternatives is expensive and requires even more ability
on the part of the instructor. I also got strong hints that a few
instructors are not even able to teach the basics let alone be
flexible enough to handle alternative tracks.

4. Alternative Education
One suggestion was to create a version of this course (and
others) on video tape. Sounds like a pretty good idea to me, and
something worth considering. 

Overall, most people responded positively to the mapbasic courses
they’ve taken or had to present, so it seems like it meets most
people’s goals, but it’s clear that there’s room to do it better.
Thanks to everyone who responded to my questions; you’ve given me
something to think about!

- Bill Thoen
--
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 Announce: Jan 2000 message digest available

2000-02-03 Thread Bill Thoen

The Jan 2000 digest for MapInfo-L is available from 
http://www.directionsmag.com/mapinfo-l/digest/

I fixed the broken links there now too.

- Bill Thoen
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



  1   2   >