GeoSparkTemplateProject icon indicating copy to clipboard operation
GeoSparkTemplateProject copied to clipboard

GeoSparkAnalysis "Popular Visualisation Pseudo Mercator" projection outside its valid area issue

Open IvyHan2013 opened this issue 6 years ago • 0 comments

Hi, first thank you for this useful project! When I run the GeoSparkAnalysis project, I run well when I use the data you provided. However, when I change the dataset to other larger NYC taxi trips dataset, this issue happens.

WARN projection:520 - Possible use of "Popular Visualisation Pseudo Mercator" projection outside its valid area.

Latitude 115°10.6'S is out of range (±90°).

2018-07-29 17:52:05 ERROR Executor:91 - Exception in task 0.0 in stage 6.0 (TID 53)

org.geotools.referencing.operation.projection.ProjectionException: Latitude 115°10.6'S 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)

I am sure that there is no invalid longitude and latitude data in the dataset since I have already add a filter before reading the data.

I was wondering why this issue could happen

Thank you again for this project.

IvyHan2013 avatar Jul 30 '18 02:07 IvyHan2013