I’m experiencing a similar problem mentioned in the following post:
http://www.nabble.com/antarctic-polar-stereographic-coverage-td19666877.html
Basically, using coverages defined in EPSG:3031 Antarctic Polar Stereographic are failing to load.
As far as I knew, this issue was fixed (I discussed the issue with the original poster) - I downloaded a nightly build just after this thread was posted and it worked. However, I’ve since upgraded and the issue is back, and have no idea which exact date it was that the working nightly build came from.
I’ve tried a few things and various different geotiffs from different sources, checked them all with gdalinfo and they all seem fine… Here’s what happens:
Trying to create a CoverageStore with a geotiff without having tiled it with gdal_translate produces an onscreen Exception with a one line warning in the log:
13 Mar 11:23:03 WARN [org.apache.struts.action.RequestProcessor] - Unhandled Exception thrown: class java.lang.IllegalArgumentException
http://data.aad.gov.au/temp/miles/geoserver_onscreen.txt
Trying to create a CoverageStore with a geotiff that has been tiled and/or has overviews added seems to create fine, but then when the coverage editor comes up it puts UNKNOWN in the SRS. Manually putting in EPSG:3031 in the CRS, Request SRS and Response SRS fields and hitting submit doesn’t seem to produce any error. However a basic getMap request come up blank, with the old “This AxisDirection object is too complex for WKT syntax” exception (http://data.aad.gov.au/temp/miles/geoserver.log) which I’ve been told before can be ignored.
Also, i noticed that the gdalinfo output for the tiled file: http://data.aad.gov.au/temp/miles/gdalinfo.txt
is different to the Native SRS WKT shown on the coverage editor screen: http://data.aad.gov.au/temp/miles/guessed_native_srs.txt
The one I am using is variant B of EPSG:3031 with the -71 latitude of origin, which is the same as geoserver shows in the SRS list for 3031 and the definition more widely accepted by the antarctic community. Somehow the native SRS that comes up for the coverage when it’s loaded is similar to the old variant of EPSG:3031, with a latitude of origin of -90, only the scale factor is wrong in that case.
So I guess what has got me wondering now is that if the WKT gdalinfo shows about my geotiff and the WKT that is in the Geoserver SRS List are the same, how is it coming up with something else?
I apologise for the long post - just trying to be thorough. The above is applicable to clean war installs of the 12-March Nightly Build and Stable 1.7.3, among other, older versions I’ve tested.
Regards,
Miles Jordan
Applications Developer
Australian Antarctic Division
[P] +61 3 6232 3486
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
Visit our web site at http://www.antarctica.gov.au/