Lonelu Lukas a écrit :
> I have a list of longitude / latitude records in TM65 projection which
> needs to be transformed into Google Map standard. Is Geotools proper
> tool for that kind of transformations ? If yes could you point me
> somewhere I could start ?
I'm not sure which projection you are talking about. A search in the EPSG
database give the following:
code name
----------------
4299 TM65
29900 TM65 / Irish National Grid
29902 TM65 / Irish Grid
62996405 TM65 (deg)
If you are talking about EPSG:4299 or EPSG:62996405, you can process as below:
import org.geotools.referencing.CRS;
CoordinateReferenceSystem sourceCRS = CRS.decode("EPSG:62996405", true);
CoordinateReferenceSystem targetCRS = CRS.decode("EPSG:900913", true);
MathTransform mt = CRS.findMathTransform(sourceCRS, targetCRS);
Then use the mt.transform(DirectPosition, ...) for transorming your points.
Martin
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users