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

I am very new to geotools and map-projections and after researching a hole day I still don't know where to start.

I have a map with a size of X,Y Pixels and it is in Mollweide projection. How can I manage in Javacode to find the long/latitude of a specific point ( X1,X2 ) in my map.

Can anyone help with a starting hint, or the best would be a code example ( link )

Thanks for mentoining the 'Java Map Projection Library'. I tried to do the transformation with JMPL, but i guess I have a lack of understanding. How can I tell the transformation, how is my map sized ( X,Y ). Or how shall I do the transformation ? My Code so far:

    Point2D.Double pointonmap = null;
Point2D.Double latlon = null;
MolleweideProjection molproj=new MolleweideProjection();

pointonmap = new Point2D.Double (1400,1000);  

latlon=molproj.inverseTransform(pointonmap,new Point2D.Double ());

System.out.println("latlon: " + latlon.getX() + ", " + latlon.getY());

best regards

share|improve this question
If you just want code, Google finds it for you: – whuber Aug 18 '12 at 15:33
If you're looking at Java itself, have you tried the Java Map Projection library? It does suppord Mollweide. – om_henners Aug 19 '12 at 2:01
no idea with my new code ? – user1344545 Aug 21 '12 at 14:50

Your Answer


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

Browse other questions tagged or ask your own question.