Woohoo! Bring it on... (as a famous former US politician once said)
I'd only need about 10% of it... 8^)
I mostly agree with you, SS. The only nagging doubt is sparked by the
buffering issue I mentioned before. I don't see any way of handling
that without having JTS itself use a distance/azimuth calculation which
is ellipsoidal-aware. I'd be very happy to not have the actual distance
code in JTS (although it might not hurt to bundle at least a sample
version) - but I don't see any way around providing an interface which
can be used internally.
Sunburned Surveyor wrote:
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
--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel