[gdal-dev] GDAL 1.11 and EPSG:3857

Even Rouault even.rouault at spatialys.com
Tue Sep 2 15:12:39 PDT 2014


Le mardi 02 septembre 2014 23:59:51, maw269 a écrit :

> 
> It seems epsg:900913 works but epsg:3857 does not.
> The thing is, gdalwarp to 3857 worked in gdal 1.10

Matt,

Works ok for me. See below the output of something gdalwarp'ed to 3857 with 
1.11. Are you sure that your GDAL_DATA is correctly set up ?

$ gdalinfo out.tif
Driver: GTiff/GeoTIFF
Files: out.tif
Size is 20, 20
Coordinate System is:
PROJCS["WGS 84 / Pseudo-Mercator",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Mercator_1SP"],
    PARAMETER["central_meridian",0],
    PARAMETER["scale_factor",1],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs"],
    AUTHORITY["EPSG","3857"]]
Origin = (440720.000000000000000,3751320.000000000000000)
Pixel Size = (60.000000000000000,-60.000000000000000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  440720.000, 3751320.000) (  3d57'32.60"E, 31d54'30.99"N)
Lower Left  (  440720.000, 3750120.000) (  3d57'32.60"E, 31d53'58.04"N)
Upper Right (  441920.000, 3751320.000) (  3d58'11.41"E, 31d54'30.99"N)
Lower Right (  441920.000, 3750120.000) (  3d58'11.41"E, 31d53'58.04"N)
Center      (  441320.000, 3750720.000) (  3d57'52.00"E, 31d54'14.52"N)
Band 1 Block=20x20 Type=Byte, ColorInterp=Gray

Even

> 
> Thanks,
> 
> Matt
> 
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GDAL-1-11-and-EPSG-3857-tp5159753.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list