When running the following code to reproject a epsg:4326 countries file to orthographic:
newCRS = CRS.decode("AUTO:42003,1,-100,45");
mapFrame.getMapContent().getViewport().setCoordinateReferenceSystem(newCRS);
The following error occurs: WARNING: Possible use of "Orthographic" projection outside its valid area. Latitude 112°43.8'S is out of range (±90°).
Does anyone know how to get the orthographic projection to work?