<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="11"><BR>
Chris Jessee &lt;jessee@virginia.edu&gt; writes:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">Yes, perhaps too elaborate. I'm experimenting with different <BR>
projections in hopes of finding one that offers limited visual <BR>
difference from Lambert conformal Conic but allows point plotting in <BR>
cartesian coordinates without much compute overhead.</BLOCKQUOTE><BR>
<BR>
If you really are limiting your subject area to New England, then I suggest forgetting about ellipsoids and even the Lambert conformal conic. You can get low distortion for such a limited area from a simple equirectangular projection with the standard parallel set to the central parallel of your map:<BR>
<BR>
x = R * (longitude - central meridian) * cos (standard parallel)<BR>
y = R * (latitude - standard parallel)<BR>
<BR>
The parallels will not be curved like the Lambert conformal conic, but the amount of curvature across a region that small is quite minimal anyway. Obviously the inverse projection is just as simple. This projection is not accurate enough for geodetic work but it should be imminently suitable for your project.<BR>
<BR>
Regards,<BR>
<BR>
daan Strebe<BR>
Geocart author<BR>
http://www.mapthematics.com<BR>
<BR>
Original:<BR>
_____<BR>
On Wednesday, October 22, 2003, at 01:59&nbsp; PM, Strebe@aol.com wrote:<BR>
<BR>
&gt;<BR>
&gt; Chris Jessee &lt;jessee@virginia.edu&gt; writes:<BR>
&gt;<BR>
&gt; &gt;User mouse movement gives realtime lat lon readout.<BR>
&gt; &gt;A measure tool provides distance and angle measure between two points.<BR>
&gt;<BR>
&gt; I'm curious what you want the "angle" for. If you intend to measure <BR>
&gt; direction with it then you will fail. There is no projection on which <BR>
&gt; you can measure correct directions between any two points. If it is <BR>
&gt; direction you want, then you need to calculate the azimuth from the <BR>
&gt; first point to the second. Gerald Evenden mentioned Snyder's "Map <BR>
&gt; Projections - A Working Manual". That reference includes azimuth <BR>
&gt; calculation formulae.<BR>
<BR>
You are correct, we need the azimuth.<BR>
<BR>
&gt;<BR>
&gt; &gt;The trouble begins when we try to use a base map in a<BR>
&gt; &gt;Lambert_Conformal_Conic projection. The specifics of the projection <BR>
&gt; are<BR>
&gt; &gt;at the end of this email. To implement the functionality noted above I<BR>
&gt; &gt;have 2 choices: re-project the map into a Geographic Coordinate system<BR>
&gt; &gt;or dynamically calculate the difference between rectilinear screen<BR>
&gt; &gt;space and the conic projection. On the first option I'm also<BR>
&gt;<BR>
&gt; What you really want is the inverse projection. Inverse projections <BR>
&gt; compute latitude and longitude given the cartesian coordinates x and <BR>
&gt; y. The same Snyder reference provides inverse formulae for the Lambert <BR>
&gt; conformal.<BR>
<BR>
Yes, correct again.<BR>
<BR>
&gt;<BR>
&gt; Since Snyder's volume may be hard to find in a hurry, you may also <BR>
&gt; look at:<BR>
&gt;<BR>
&gt; http://mathworld.wolfram.com/LambertConformalConicProjection.html<BR>
&gt; http://www.codeguru.com/algorithms/GeoCalc.html<BR>
<BR>
Thank you, these links are very helpful. Fortunately I work in the <BR>
university library and Snyder's volume was available just down the hall!<BR>
<BR>
&gt; This all seems very elaborate for your project! It looks very good, <BR>
&gt; though.<BR>
<BR>
Yes, perhaps too elaborate. I'm experimenting with different <BR>
projections in hopes of finding one that offers limited visual <BR>
difference from Lambert conformal Conic but allows point plotting in <BR>
cartesian coordinates without much compute overhead.<BR>
<BR>
Thank you,<BR>
<BR>
Chris Jessee<BR>
jessee@virginia.edu<BR>
<BR>
<BR>
</FONT></HTML>