There is my tests:
- Running yours test case with no change, I get a point
(457, 527) meters appart from the expected result.
- Yours coordinates was 48.136018, 11.620958. I'm not sure to
understand how this coordinate was computed. If the geographic
coordinates was 48°08.2685'N 11°37.4292'E, then I compute
48.13780833, 11.623820 in decimal degrees... Using those
coordinates, I get a point (243, 329) meters appart from yours
expected values.
- If a assume that yours geographic coordinates were actually in
degree-minutes-secondes, than I get a point (113, 0.5) meters
apart.
I would suggest to check the geographic coordinates format (degree?
degrees-minutes? degrees-minutes-seconds?, etc.) and make sure that
yours conversion formula to decimal degrees is correct:
decimal_degrees = degrees + minutes/60 + seconds/3600
Note: org.geotools.measure.AngleFormat may be of some help for parsing
angles in degrees-minutes-seconds format.
If the hypothesis of "degrees-minutes-seconds" angle format is correct,
then the remaining 113 meters offset may be caused by Geotools and yours
conversion software using a different set of Bursa-Wolf parameters. I'm
not sure at this stage...
Martin.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users