afrispatial wrote:
> 
> 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.  
> 

Yes, I have the same problem
:http://old.nabble.com/Projection-problem-of-a-gdalwarp-EPSG%3A900913-file-td29562707.html#a30653318

Isn't it unbelievable that the developers are not interested in fixing such
an evident and important problem?

Anyway, following your recommendation : 
* I found the geoserver WKT for 900913 from Demo->SRS list->900913 (see
below): 
* Saved in the file : EPSG_900913.wkt
* run the following command :
gdal_translate -a_srs EPSG_900913.wkt img1.tif img2.tif

no matter if i choose "force declared" or "reproject", the resulting is the
same, the image is offset...

any ideas where I might be wrong?
servet

the geoserver WKT :
PROJCS["WGS84 / Google Mercator", 
  GEOGCS["WGS 84", 
    DATUM["World Geodetic System 1984", 
      SPHEROID["WGS 84", 6378137.0, 298.257223563,
AUTHORITY["EPSG","7030"]], 
      AUTHORITY["EPSG","6326"]], 
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], 
    UNIT["degree", 0.017453292519943295], 
    AXIS["Longitude", EAST], 
    AXIS["Latitude", NORTH], 
    AUTHORITY["EPSG","4326"]], 
  PROJECTION["Mercator_1SP"], 
  PARAMETER["semi_minor", 6378137.0], 
  PARAMETER["latitude_of_origin", 0.0], 
  PARAMETER["central_meridian", 0.0], 
  PARAMETER["scale_factor", 1.0], 
  PARAMETER["false_easting", 0.0], 
  PARAMETER["false_northing", 0.0], 
  UNIT["m", 1.0], 
  AXIS["x", EAST], 
  AXIS["y", NORTH], 
  AUTHORITY["EPSG","900913"]]

-- 
View this message in context: 
http://old.nabble.com/geoserver-problems-with-gdal%27s-900913-projection-definition-tp30648435p30739446.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to