org.geotools.referencing.operation.projection.ProjectionException: Latitude 9829740°00.0'N is too close to a pole.


Solutions on the web

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.

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.