I am working with a set of data that is in Latitude and Longitude. I need to convert this data to State Plane Coordinates. Does anyone know a formula to be able to do this or a Java library that can do this?

I have been looking online have found this from NOAA but I am needing to implement this in Java for a piece of software and would need something with an API or just a formula.

  • What does SPC stand for?
    – nmtoken
    Jun 21, 2017 at 19:40
  • State plane coordinate Jun 21, 2017 at 19:46
  • 1
    Look for the Java proj4 port or geotools. If you're doing more than a handful of SPC zones, you'll have to have a table of the parameters or use the EPSG well-known IDs IF the Java proj4 port supports them. Search here for projection and java to find other possibilities.
    – mkennedy
    Jun 21, 2017 at 19:51

1 Answer 1


GeoTools handles reprojection of SRS for you.

You can use code like:

boolean lenient = false;
CoordinateReferenceSystem crs = DefaultGeographicCRS.WGS84;
CoordinateReferenceSystem target = CRS.decode("EPSG:3649");

MathTransform transform = CRS.findMathTransform(crs, target, lenient );
ReferencedEnvelope res = new ReferencedEnvelope(JTS.transform(bbox, transform),target);

Looking Up the EPSG code of your state plane is easy at http://epsg.io (for example EPSG:3649)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.