<HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="11"><BR>
Chris Jessee <jessee@virginia.edu> 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 PM, Strebe@aol.com wrote:<BR>
<BR>
><BR>
> Chris Jessee <jessee@virginia.edu> writes:<BR>
><BR>
> >User mouse movement gives realtime lat lon readout.<BR>
> >A measure tool provides distance and angle measure between two points.<BR>
><BR>
> I'm curious what you want the "angle" for. If you intend to measure <BR>
> direction with it then you will fail. There is no projection on which <BR>
> you can measure correct directions between any two points. If it is <BR>
> direction you want, then you need to calculate the azimuth from the <BR>
> first point to the second. Gerald Evenden mentioned Snyder's "Map <BR>
> Projections - A Working Manual". That reference includes azimuth <BR>
> calculation formulae.<BR>
<BR>
You are correct, we need the azimuth.<BR>
<BR>
><BR>
> >The trouble begins when we try to use a base map in a<BR>
> >Lambert_Conformal_Conic projection. The specifics of the projection <BR>
> are<BR>
> >at the end of this email. To implement the functionality noted above I<BR>
> >have 2 choices: re-project the map into a Geographic Coordinate system<BR>
> >or dynamically calculate the difference between rectilinear screen<BR>
> >space and the conic projection. On the first option I'm also<BR>
><BR>
> What you really want is the inverse projection. Inverse projections <BR>
> compute latitude and longitude given the cartesian coordinates x and <BR>
> y. The same Snyder reference provides inverse formulae for the Lambert <BR>
> conformal.<BR>
<BR>
Yes, correct again.<BR>
<BR>
><BR>
> Since Snyder's volume may be hard to find in a hurry, you may also <BR>
> look at:<BR>
><BR>
> http://mathworld.wolfram.com/LambertConformalConicProjection.html<BR>
> 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>
> This all seems very elaborate for your project! It looks very good, <BR>
> 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>