I have some data in NAD_1983_StatePlane_Texas_Central_FIPS_4203_Feet
I wish to programmatically transform the coordinates to Lat long in WGS84 datum using JTS.
I know that JTS can transform the coordinates using the following code:
import org.geotools.geometry.jts.JTS;
import org.geotools.referencing.CRS;
CoordinateReferenceSystem sourceCRS = CRS.decode("EPSG:4326");
CoordinateReferenceSystem targetCRS = CRS.decode("EPSG:23032");
MathTransform transform = CRS.findMathTransform(sourceCRS, targetCRS);
Geometry targetGeometry = JTS.transform( sourceGeometry, transform);
But my projection does not have an EPSG code.
How do I define the coordinate system in this case? How do I transform my data into EPSG:3857?