Selon Hermann Peifer <[email protected]>: Hermann,
I've reproduced what you observe with trunk too and created ticket http://trac.osgeo.org/gdal/ticket/3217 with 2 patches that solve the issue. One must be applied in libgeotiff, the other one in the GTiff driver. > Hi, > > testepsg EPSG:3785 gives [1], whereas > gdalwarp -t_srs EPSG:3785 input.tif output.tif results into [2] > > > This looks like a bug, or not? I am using gdal 1.6.2 > > Hermann > > > [1] > Validate Succeeds. > WKT[EPSG:3785] = > PROJCS["Popular Visualisation CRS / Mercator", > GEOGCS["Popular Visualisation CRS", > DATUM["Popular_Visualisation_Datum", > SPHEROID["Popular Visualisation Sphere",6378137,0, > AUTHORITY["EPSG","7059"]], > TOWGS84[0,0,0,0,0,0,0], > AUTHORITY["EPSG","6055"]], > PRIMEM["Greenwich",0, > AUTHORITY["EPSG","8901"]], > UNIT["degree",0.01745329251994328, > AUTHORITY["EPSG","9122"]], > AUTHORITY["EPSG","4055"]], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]], > PROJECTION["Mercator_1SP"], > PARAMETER["central_meridian",0], > PARAMETER["scale_factor",1], > PARAMETER["false_easting",0], > PARAMETER["false_northing",0], > AUTHORITY["EPSG","3785"], > AXIS["X",EAST], > AXIS["Y",NORTH]] > > [2] > Files: output.tif > Size is 868, 580 > Coordinate System is: > PROJCS["Popular Visualisation CRS / Mercator", > GEOGCS["Popular Visualisation CRS", > DATUM["unknown", > SPHEROID["unretrievable - using WGS84",6378137,298.257223563, > AUTHORITY["EPSG","0"]], > AUTHORITY["EPSG","6055"]], > PRIMEM["Greenwich",0], > UNIT["degree",0.0174532925199433], > AUTHORITY["EPSG","4055"]], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]], > AUTHORITY["EPSG","3785"]] > Origin = (-5555588.989365539513528,11996289.038382656872272) > Pixel Size = (15457.180606961637750,-15457.180606961637750) > Metadata: > (snip) > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
