Re: [MI-L] Greate circle bearing

2006-04-25 Thread Uffe Kousgaard
From: Robert Crossley 


Hopefully I will have a better library of these functions.


A good reference on great circle calculations:
http://williams.best.vwh.net/avform.htm


Kind regards

Uffe Kousgaard
www.routeware.dk

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Hypothetical question regarding MapInfo on Web

2006-04-25 Thread Ben Crane
Hi all,

This is a hypothetical question I've just thought of.
Removing licensing and copyright issues from the
equation. Is is possible and practical to install
MapInfo on a web server and allow a set number of
restricted users to access the application (a MapBasic
app to be more specific)?

I understand MapInfo isn't a particularly appropriate
application for web-based access but if you wanted
several users to access and run a mapbasic utility
(with all the bells and whistles) via the web-is it
doable?

Regards
Ben


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Open Source Geocoder Mailing List Opened

2006-04-25 Thread Bill Thoen
For anyone who's interested in experimenting with SRC's newly released 
open source geocoder known as Explorer, Ned Harding has set up a new 
mailing list for discussions about compiling, running, using and 
extending it, as well as general talk about geocoding in general. Here's 
the details:


[EMAIL PROTECTED]
(http://listserv.extendthereach.com/mailman/listinfo/explorer-geocoder).

The geocoder C++ source code is available to download from SRC's website at:
http://www.extendthereach.com/products/OSGeocoder.srct

- Bill Thoen
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Sync Windows switches?

2006-04-25 Thread Winkler, Warren
I would like to make MapInfo Sync Windows start up by synchronizing all
windows without using the button in the dialog box.  Is there a switch on
startup which makes this possible?  I can make it load, but not actually do
anything by itself.

Warren Winkler
City of San José
200 East Santa Clara Street
San José, CA 95113-1905
(408) 535-7819


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Label Anchor

2006-04-25 Thread Marko Cucnik








Hi, 



I am having an issue with labeling symbols I have created. I would like
to label the symbols, each with a specific anchor location. My program reads
Northing and Easting values from a table, plots the symbols and labels these
points with values from a column in the table. 

I need to assign specific label anchors to each symbol and position the
label according to the rotation of the symbol, which is also derived from a
column. 



Here is what I have so far:



Update sTable set Obj = CreatePoint(EAls, NAls) 



sDip = sTable + . + dipCol



StrikeAls = sTable + . + strikeCol --- this column
holds the symbol rotation values which will determine which anchor I want to
use



 Set Map layer 1 Label Line None Auto on

 visibility on

 overlap on

 with dip

 position right 

 font makefont(arial, 1, 9, Black, -1)

 Offset 1



I want to be able to have specific label anchor for each point in the
table.



Thank You



Marko Cucnik

BCIT Student Practicum








___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


Re: [MI-L] Find Symbol in MI Proviewer 8

2006-04-25 Thread Leith . Britt

Ian,

The solution for myself was to
change the default find symbol in my MapInfo Professional and then take
a copy of my mapinfow.prf file located in 
(C:\Documents and Settings\[User Name]\Application
Data\MapInfo\MapInfo) and copy it to C:\Program Files\MapInfo\ProViewer,
or wherever you have proviewer installed.


Once you have done that everything should
be fine. If you are having problems try deleting the Proviewer folder
under the users Application Data folder.

Example of mine. C:\Documents and Settings\lbritt\Application
Data\MapInfo\MapInfo\Proviewer.

The next time the users, uses ProViewer
it will reinstall the application data folder part and everything should
be OK.

Give it a try and let me know how things
work out.



I received this answer from Moshe Binyamin,
who is the Senior Product Manager for MapInfo in the US.

Leith, 

The quick answer I got is that the MAPINFOW.PRF file that you can place
under one of two locations: 

1. Under you local user settings i.e.: C:\Documents and Settings\[USER
NAME]\Application Data\MapInfo\MapInfo OR

2. Under the application directory i.e. D:\Pro80\app\


Note: if both exist, the one in you local user settings will be found first
and that will be the one we use. If you remove that one we will use the
one in the application directory. 

MAPINFOW.PRF file has the default style setting in it and we now read it
to set the default style for the application. 

Please let me know if this works for you. 


Leith C. Britt
Town of Cary
Technology Services
GIS/Database Analyst
phone: 919-469-4383
fax: 919-319-4597
web: townofcary.org






Ian White [EMAIL PROTECTED]

04/25/2006 11:48 AM




To
[EMAIL PROTECTED]


cc



Subject
[MI-L] Find Symbol in MI Proviewer 8








Leith

I was searching for information on setting
the find symbol style in ProViewer 8.0 and came across your question. I
couldn’t see any reply to it but was wondering whether you had found a
solution to it? Like you I have users who would simply like a different
default symbol to the grey star. In a previous version of ProViewer,
once it was set it at least stopped the same, but as you found it now reverts
back to the default every time you use the find.

http://lists.directionsmag.com/discussion/read.php?f=7i=47521t=47521

Look forward to hearing from you.

Regards

Ian White
This email and any files transmitted with it are confidential
(so far as is allowed by law) 
and intended solely for the use of the individual or entity to whom they
are addressed. 
Any views or opinions are solely those of the author and do not necessarily
represent those 
of the Woodland Trust. If you have received this email in error please
notify 
[EMAIL PROTECTED]
 
The Woodland Trust. Registered Charity No. 294344. A non-profit making
company limited 
by guarantee. Registered in England No. 1982873 Registered Office: Autumn
Park, Dysart Road, 
Grantham, Lincs. NG31 6LL. 
http://www.woodland-trust.org.uk



___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] Hypothetical question regarding MapInfo on Web

2006-04-25 Thread Neil Havermale
A very interesting question and one that is timely.  In a few days
MapInfo will host its annual User/Developers Conference in Phoenix.  If
you follow the issues of MapInfo technology evolution you may already be
aware that MapXtream is the critical technology core for all future
MapInfo technology and desktop products via its .NET design. We do not
have this yet in Pro 8.0 other than some serious progression in design
coordination in the workspace between MapXtream and Pro designs.  There
is other stuff as well but the workspace seems to me the critical step
of progression - getting the common man ready for a rather large shift
IMHO.  The re-engining of MapInfo Pro with MapXtream.NET is rumored to
be included in Pro 8.5.  This technology shift to .NET from .COM and
MapBasic, and that is what it is, will be disruptive.  Those that
developed on MapX and MapXtream Windows (legacy and preambles to
MapXtream.NET 5.0) will not fare as neatly tough.  

Importantly MapInfo has made some limited promises that they will do
their very best to not only release the developer and the Pro platform
from the limitations of old design Microsoft methods for new .NET
opportunity but they intend to allow an elegant extension of the
MapBasic legacy code sets into the new design - backward compatibility.
This is rather neat and if they pull this off, well they will have
avoided a huge depreciation of partner and client MapBasic investments.

So I guess the answer is it looks like MapInfo Pro's future connection
to the internet is just around the corner?  Any takers on extending
insight and rumorology of the likely Pro future?  Oh and buy the way,  I
have had some really great results of merging my map-analysis and
workspaces on to Google Earth. 

MidNight Mapper
aka neil  

 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Crane
Sent: Tuesday, April 25, 2006 11:38 PM
To: MAPINFO-L@lists.directionsmag.com
Subject: [MI-L] Hypothetical question regarding MapInfo on Web

Hi all,

This is a hypothetical question I've just thought of.
Removing licensing and copyright issues from the
equation. Is is possible and practical to install
MapInfo on a web server and allow a set number of
restricted users to access the application (a MapBasic
app to be more specific)?

I understand MapInfo isn't a particularly appropriate
application for web-based access but if you wanted
several users to access and run a mapbasic utility
(with all the bells and whistles) via the web-is it
doable?

Regards
Ben


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] Hypothetical question regarding MapInfo on Web

2006-04-25 Thread Peter Horsbøll Møller
Hi,

I'm pretty sure that MapInfo 8.5 will not be the version that moves MapInfo to 
the .NET platform. This move to .NET is based on the project known as Grande.

As far using MapInfo Pro on the Net, I'm sure that this could be done. But 
you would need to combine the internet development tool with MapInfo using 
MapBasic or integrated mapping. So I don't think that you'll actual get the 
MapInfo Pro user interface presented in your browser. You will more likely use 
MapInfo Pro as a backend service to create pictures to show in the browser.

A different approach would be to use MapInfo Pro in a Citrix enviroment. This 
enviroment can be accessed thru a browser, that will present the user with a 
desktop like user interface. Quite a very usefull solution, but this will 
often require some extra thick client to be installed on the client computer.

Both these approached will of course be pretty limited when you read thru the 
license of use. This strictly forbid the use of MapInfo Pro on a web server 
(not sure these are the exact words, but definitely the meaning).

I'm going to the conference this year. Looking foreward to meeting some of you 
over there,

Peter Horsbøll Møller
GIS Developer, MTM
Geographical Information  IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel +45 6311 4900
Direct  +45 6311 4908
Mob +45 5156 1045
Fax +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Havermale
Sent: Tuesday, April 25, 2006 8:07 PM
To: Ben Crane; MAPINFO-L@lists.directionsmag.com
Subject: RE: [MI-L] Hypothetical question regarding MapInfo on Web

A very interesting question and one that is timely.  In a few days MapInfo will 
host its annual User/Developers Conference in Phoenix.  If you follow the 
issues of MapInfo technology evolution you may already be aware that MapXtream 
is the critical technology core for all future MapInfo technology and desktop 
products via its .NET design. We do not have this yet in Pro 8.0 other than 
some serious progression in design coordination in the workspace between 
MapXtream and Pro designs.  There is other stuff as well but the workspace 
seems to me the critical step of progression - getting the common man ready for 
a rather large shift IMHO.  The re-engining of MapInfo Pro with MapXtream.NET 
is rumored to be included in Pro 8.5.  This technology shift to .NET from .COM 
and MapBasic, and that is what it is, will be disruptive.  Those that developed 
on MapX and MapXtream Windows (legacy and preambles to MapXtream.NET 5.0) will 
not fare as neatly tough.  

Importantly MapInfo has made some limited promises that they will do their very 
best to not only release the developer and the Pro platform from the 
limitations of old design Microsoft methods for new .NET opportunity but they 
intend to allow an elegant extension of the MapBasic legacy code sets into the 
new design - backward compatibility.
This is rather neat and if they pull this off, well they will have avoided a 
huge depreciation of partner and client MapBasic investments.

So I guess the answer is it looks like MapInfo Pro's future connection to the 
internet is just around the corner?  Any takers on extending insight and 
rumorology of the likely Pro future?  Oh and buy the way,  I have had some 
really great results of merging my map-analysis and workspaces on to Google 
Earth. 

MidNight Mapper
aka neil  

 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Crane
Sent: Tuesday, April 25, 2006 11:38 PM
To: MAPINFO-L@lists.directionsmag.com
Subject: [MI-L] Hypothetical question regarding MapInfo on Web

Hi all,

This is a hypothetical question I've just thought of.
Removing licensing and copyright issues from the equation. Is is possible and 
practical to install MapInfo on a web server and allow a set number of 
restricted users to access the application (a MapBasic app to be more specific)?

I understand MapInfo isn't a particularly appropriate application for web-based 
access but if you wanted several users to access and run a mapbasic utility 
(with all the bells and whistles) via the web-is it doable?

Regards
Ben


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l




___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Angle Measurement in MapBasic/MapInfo

2006-04-25 Thread Mike Jenne








Given a set of points (specifically, a hurricane track) I am
trying to select one point in sequence, then the next point in sequence,
extract the angle and distance between the two, and then create intermediate
points using the Offset function, the angle, and a fractional portion of the
distance.



Im using 



ANGL = Asin(Distance(F_XX2,F_YY2,F_XX2,F_YY1,mi)/Distance(F_XX1,F_YY1,F_XX2,F_YY2,mi))*
RAD_2_DEG



to measure the angle, where F_ANGL is the angle, F_XX2
is the CentroidX of the second point, F_YY2 is the CentroidY of the second
point, F_XX1 is the CentroidX of the first point, and F_YY1 is the CentroidY of
the first point. All variables (in this instance) are float values,



To make a long story short, my program ran perfectly
on what set of data, creating the intermediate points perfectly. On the
other hand, it didnt work on a second set of data, even though the
projections (between the first and second set) were the same. Rather than
neatly falling between the first and second points, as in the first dataset,
the intermediate points were skewed off in the another direction. Anyone
have any ideas what is happening here?



Thanks much,

Mike Jenne








___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] [Spam] Legal Aspects in Buying code

2006-04-25 Thread Juan José Del Toro Madrueño









Dear
Friends;



I'm
about to embark into developing an app for a client of mine in MapX; I will be
asked to do things that are exactly or very similar to stuff that is already
made by several of you; what would be the legal aspects regarding me buying
code from apps (full or partial) that you have developed?



-Would
it be more expensive at the end (time included) than writing it myself?



Has
anyone bought code from a third party?



Saludos! / Greetings!Juan Jos Del Toro Madrueo[EMAIL PROTECTED]Guadalajara, Jalisco MXICON 20 40 33.95W 103 26 39.47












___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] Angle Measurement in MapBasic/MapInfo

2006-04-25 Thread Spencer Simpson
1. Where did you set your projection?  In the MapBasic window (i.e. using
Run Command) or directly in your application (in line Set Coordsys
statement)?   I've been burned by this more than once and now always do
both.

2. There's no need to calculate angles for your application.  Trig functions
are approximations and introduce errors.  Instead, use ordinary analytic
geometry to get X and Y coordinates for points between nodes.

3. Is the projection appropriate for these calculations?.  With a conformal
projection you can use ordinary Cartesian geometry rather than spherical
geometry. Add a Bounds clause to your Coordsys clause to get maximum
coordinate granularity.

4. Arcsin has accuracy issues (small changes arising from coordinate
granularity result in large changes in the result) in parts of its domain.
To calculate an azimuth ase Atan2 or a function that simulates it.

HTH
Spencer

PS
Hope the code below helps.  Don't blame me if it doesn't compile.
S
 

Function intser (ByVal x1 as float, 
 ByVal y1 as float,
 ByVal x2 as float,
 ByVal y2 as float,
 ByVal inc as float,
   rx (0) as float,
   ry (0) as float) as smallint

Dim dx as float
Dim dy as float
Dim m as float
Dim ct as smallint
Dim i as smallint
Dim z as float

Dx = x2 - x1
Dy = y2 - y1
m = dx*dx+dy*dy
If m  inc*inc
   then intser=0
   else m = sqr (m)
dx = dx / m
dy = dy / m
inc = abs(inc)
ct = int(m / inc)
z = (m - ct*inc)/2
if z  inc/4
   then ct=ct-1
z=z+inc/2
end if
redim rx (ct)
redim ry (ct)
for i = 1 to ct
rx (i) = x1+dx*z
ry (i) = y1+dy*z
z = z + inc
next
intser = ct
End if
End function

 
function atan2 (ByVal dx as float, 
ByVal dy as float) as float

dim a as float

If (abs (dx)  abs (dy)) 
   then a = atn (dy/dx)
   else a = atn (dx/dy)
if a  0
   then a = PI/2-a
   else a = -PI/2-a
end if
End if
if dx  0
   then if dy  0
   then a = a - PI
   else a = a + PI
end if
atan2 = a
end if
end function

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Given a set of points (specifically, a hurricane track) I am trying to
select one point in sequence, then the next point in sequence, extract the
angle and distance between the two, and then create intermediate points
using the Offset function, the angle, and a fractional portion of the
distance.

 

I'm using 

 

ANGL =
Asin(Distance(F_XX2,F_YY2,F_XX2,F_YY1,mi)/Distance(F_XX1,F_YY1,F_XX2,F_YY2
,mi))* RAD_2_DEG

 

to measure the angle, where F_ANGL is the angle, F_XX2 is the CentroidX of
the second point, F_YY2 is the CentroidY of the second point, F_XX1 is the
CentroidX of the first point, and F_YY1 is the CentroidY of the first point.
All variables (in this instance) are float values,

 

To make a long story short, my program ran perfectly on what set of data,
creating the intermediate points perfectly.  On the other hand, it didn't
work on a second set of data, even though the projections (between the first
and second set) were the same.  Rather than neatly falling between the first
and second points, as in the first dataset, the intermediate points were
skewed off in the another direction.  Anyone have any ideas what is
happening here?

 

Thanks much,

Mike Jenne



___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] Hypothetical question regarding MapInfo on Web

2006-04-25 Thread Robert Crossley
Ben,
We played with this in 1999, and had a system where you could enter data
through a web interface, run an airport noise model, then fire up mapinfo,
have it generate a map of the result as an image, and hand that back on the
web.  I think it was done with a Active X wrapper around pro.  
It was a total hack, and never went anywhere as the licencing restricted it
from happening, even if we had comtemplated trying to make it work
commercially.  As I remember there were even send key commands in it.  My
new programmer was just showing off.
There will be problems getting a native program running over the web as the
web interface generally tries to prevent you from doing that.  You may be
better off with some sort of VPN access.  My expertise is limited in that
field.
Depending on what you are doing in Mapbasic, there may be alternatives using
webbased map delivery software for the interface, and doing the processing
in something like Oracle, or even a Mapinfo/ Mapbasic backend that uses the
data to generate a result that can be dislayed.
R

---
Robert Crossley
Agtrix P/L Australia
 
Far Southern Queensland Office:
9 Short Street
PO Box 63 
New Brighton 2483
 
P: 61 2 6680 1309
F: 61 2 6680 5214
E: [EMAIL PROTECTED]
W: www.agtrix.com
 
Brisbane Office:
109 Milsom St
Cooparoo  4151
Queensland
P: 61 7 3843 3363
 
 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Crane
Sent: 25 April 2006 23:38
To: MAPINFO-L@lists.directionsmag.com
Subject: [MI-L] Hypothetical question regarding MapInfo on Web

Hi all,

This is a hypothetical question I've just thought of.
Removing licensing and copyright issues from the
equation. Is is possible and practical to install
MapInfo on a web server and allow a set number of
restricted users to access the application (a MapBasic
app to be more specific)?

I understand MapInfo isn't a particularly appropriate
application for web-based access but if you wanted
several users to access and run a mapbasic utility
(with all the bells and whistles) via the web-is it
doable?

Regards
Ben


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Google Earth and MI versions before v8

2006-04-25 Thread SCISOFT
Has anyone had success with using Google Earth with a version of MapInfo
prior to v8? 

If so, what online / interactive features are *better* with MI v8 than a
prior version? 

IL Thomas
GeoSciSoft - Perth, Australia
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l