org.geotools.referencing.operation.projection.ProjectionException

Latitude 9829740°00.0'N is too close to a pole.


Solutions on the web5

Solution icon of stackexchange-gis
Latitude 9829740°00.0'N is too close to a pole.

Solution icon of stackexchange-gis
Latitude 90°00.0'S is too close to a pole.

Solution icon of github
Latitude 90°06.0'N is too close to a pole.

Solution icon of github
The transform result may be 6,845,088.444 meters away from the expected position. Are you sure that the input coordinates are inside this map projection area of validity? The point is located 0°00.0'E away from the central meridian and 90°00.0'N away from the latitude of origin. The projection is "Transverse_Mercator".

Solution icon of stackexchange-gis
via Geographic Information Systems by dcerecedo
, 1 year ago
The transform result may be 0 meters away from the expected position. Are you sure that the input coordinates are inside this map projection area of validity? The point is located 3°00.0'E away from the central meridian and 0°00.0'N away from the latitude of origin. The projection is "Transverse_Mercator".

Stack trace

  • org.geotools.referencing.operation.projection.ProjectionException: Latitude 9829740°00.0'N is too close to a pole. at org.geotools.referencing.operation.projection.Mercator$Spherical.transformNormalized(Mercator.java:209) at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:897) at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:938) at org.geotools.referencing.operation.transform.ConcatenatedTransformDirect.transform(ConcatenatedTransformDirect.java:81) at org.geotools.geometry.jts.DefaultCoordinateSequenceTransformer.transform(DefaultCoordinateSequenceTransformer.java:123) at org.geotools.geometry.jts.GeometryCoordinateSequenceTransformer.projectCoordinateSequence(GeometryCoordinateSequenceTransformer.java:295) at org.geotools.geometry.jts.GeometryCoordinateSequenceTransformer.transformPoint(GeometryCoordinateSequenceTransformer.java:282) at org.geotools.geometry.jts.GeometryCoordinateSequenceTransformer.transform(GeometryCoordinateSequenceTransformer.java:148) at org.geotools.geometry.jts.JTS.transform(JTS.java:442) at gis.GISCoordinate.convertEPSG3857toEPSG4326(GISCoordinate.java:52) at gis.FeatureCollector.getAllGisFeature(FeatureCollector.java:65) at MergeGis.main(MergeGis.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.