Skip to content

CoordinatesTransformation

Christian Gendreau edited this page Nov 20, 2013 · 26 revisions

-DRAFT-

This feature should be used with cautious The accuracy of processed coordinates depends on the precision of the provided coordinates and the transformation needed. Accuracy can differ from one CRS to another. You should always test the result to ensure the accuracy is suitable for you.

The transformations are accomplished using GeoTools 10 [JTS API] (http://docs.geotools.org/latest/userguide/library/api/jts.html).

CoordinatesToWGS84 Processor

In order to use this processor, you need to include some GeoTools 10 dependencies:

<dependency>
	<groupId>org.geotools</groupId>
	<artifactId>gt-epsg-hsql</artifactId>
	<version>10.0</version>
</dependency>
<dependency>
	<groupId>org.geotools</groupId>
	<artifactId>gt-main</artifactId>
	<version>10.0</version>
</dependency>
//ToDo

You can also provide the exact WTK to use with CRS.parseWKT(String wtk). You should be aware of possible issues with WTK: http://home.gdal.org/projects/opengis/wktproblems.html

Clone this wiki locally