Hello,
I’m currently trying to use a Tessellation function in Orekit to split a polygon into elementary strips. So far, I had no problem running the example polygons (continental and corsica). But when I tried to input a new polygon, I received an error message saying:
“cannot compute aiming direction at singular point: latitude = 90, longitude = 0”
This is how I defined my polygon:
final SphericalPolygonsSet myaoi =
EllipsoidTessellator.buildSimpleZone(1.0e-10,
new GeodeticPoint(FastMath.toRadians(40.76053),
FastMath.toRadians(95.50688),
0.0),
new GeodeticPoint(FastMath.toRadians(39.8784),
FastMath.toRadians(99.61012),
0.0),
new GeodeticPoint(FastMath.toRadians(35.58804),
FastMath.toRadians(98.26018),
0.0),
new GeodeticPoint(FastMath.toRadians(36.6172),
FastMath.toRadians(94.17033),
0.0));
return myaoi;
}
My polygon above is a rectangular shape with the size about 390x490 km. May be I define something wrong somewhere? Could you please take a look why I get this error message?
Kind regards,
Non