Gavin <gavin <at> afrispatial.co.za> writes:

> Geoserver does not recognise the 900913 WKT written by GDAL in GeoTIFF
> headers. This is leading to huge shifts in raster rendering even when
> EPSG:900913 is declared. The same rasters show no shift in other viewers such 
> as QGIS so there's something going on with Geoserver here.

A simple hack is a partial solution to the issue but doesn't fix the underlying
problem.

In the case of an imagemosaic store we replaced the index catalog shapefile's
prj WKT (which came from gdal-generated geotiff headers) with geoserver's 900913
WKT and restarted Tomcat and voila, the mosaic renders perfectly, no 
misalignment.

For a geotiff store one would have to get the geotiff header WKT to match
geoserver's exactly.  

I'm wondering if this warrants a bug report:
-to GDAL and Geoserver to synchronise their 900913 WKT definition
- or to Geoserver to be a bit more fuzzy in matching projection definitions 
when publishing a layer, so that a wider scope of alternative 900913 definitions
get recognised. This would improve recognition of variants of other projections 
as well.





------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to