JGS = Java Geodesy Suite :]

Now all we need to do is get Martin funding for the development of the
new library. Is anyone on good terms with a US senator? If so, we
might have a shot at getting the money put in the 900 billion dollar
US stimulus package. :]

SS

On Thu, Feb 5, 2009 at 9:41 AM, Paul Uszak <[email protected]> wrote:
> Hi.
>
> I've discussed this issue before, and have found a couple of approximate ways
> of doing distance calculations:-
>
> 1.  Calculate a Vincenty Distance (equivalent to the DistanceSphere) - I can
> let you have the code.  This one is pretty accurate.
>
> 2. I have a reprojection algorythm that's more approximate, but will work for
> any size of geometry.  You will just have to accept that you can't draw an
> sphere on a piece of paper and live with the approximation.  I use
>
> X = 111230 * cosine(radians(latitude)) m /degree Longitude
> Y = 111230 m /degree Latitude
>
> to reproject based on the lon /lat of the geometry's centroid.
>
> The driver for this requirement is when working with GPS systems
> internationally.  You can get into a real mess with regional datums.  Best to
> stick to lat /long.
> _______________________________________________
> jts-devel mailing list
> [email protected]
> http://lists.refractions.net/mailman/listinfo/jts-devel
>
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to