Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to covert Gauss-Kruger coordinates to UTM coordinates with GeoTools java library? As I have figured out the location (zone, country) is important. I need the calculation for Slovenia.

share|improve this question
How to covert UTM coordinates to Gauss-Kruger coordinates – user21915 Sep 11 '13 at 20:10
up vote 3 down vote accepted

There is example code on using the GeoTools CRS module at which shows how to make the transformation if you know the EPSG codes of the two projections you want to use.

If you don't know the EPSG codes then you can look them up at, if however the code you want doesn't have an EPSG code then you will need to look at to find an example of how to build a CRS from a WKT string (available from or your shapefiles .prj file).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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