<div dir="ltr"><div dir="ltr"><div><div>Hi all,</div><div><br></div><div>I observe a difference between the WKT exports of OSRImportFromEPSG(osr, 3857) and OSRImportFromProj4(osr, "+init=epsg:3857"). The former gives a named coordinate system, the latter gives an unnamed coordinate system.</div><div><br></div><div>Case 1:</div><div><br></div><div>OSRImportFromEPSG(osr, 3857)<br></div><div>OSRExportToWkt(osr)</div><div><br></div><div>'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,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],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"]],AXIS["X",EAST],AXIS["Y",NORTH],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"]]'</div><div><br></div><div>Case 2:</div><div><br></div><div>OSRImportFromProj4(osr, "+init=epsg:3857")<br></div><div>OSRExportToWkt(osr)</div><div><br></div><div>'PROJCS["unnamed",GEOGCS["unnamed ellipse",DATUM["unknown",SPHEROID["unnamed",6378137,0],EXTENSION["PROJ4_GRIDS","@null"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Mercator_2SP"],PARAMETER["standard_parallel_1",0],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","3857"]]'<br></div><div><br></div></div><div>Am I wrong to understand the semantics of "+init=epsg:3857" as "open the epsg database, get entry 3857, and use that"? Is this different from specifying the entry directly?</div><br clear="all"><div>Thanks in advance,</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Sean Gillies</div></div></div></div>