I need to project rasters to serve through geoserver to overlay google
maps in OpenLayers. 

I'm been using gdalwarp to project rasters to web mercator, here's an
example:


        gdalwarp -s_srs "+proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=0
        +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" -t_srs
        'EPSG:900913' -r near -multi -dstnodata "0 0 0" -dstnodata "0 0
        0" -dstalpha -co COMPRESS="DEFLATE" -co "TILED=YES" -of GTiff
        2627BB_05_1117_RGB_RECT.TIF /tmp/test900913.tif
        

The problem is, whatever I use for -t_srs (EPSG:900913, EPSG:3857 or the
proj4 string), each one generates a different WKT header in the output
geotiff and none of them is recognised as '900913' by GeoServer since
GeoServer uses a non-standard WKT definition for 900913.  

Overriding the projection in GeoServer by declaring 900913 doesn't work
either.

Surely this is a common requirement? I'd be grateful for any help.

(geoserver 2.0.2)

thanks

Gavin
------------------------------------------------------------------------------
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