<div dir="ltr">Hi Gane,<br><div class="gmail_extra"><br><div class="gmail_quote">On 19 February 2016 at 10:50, Gane R <span dir="ltr"><<a href="mailto:gane.prog@gmail.com" target="_blank">gane.prog@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>but when -s_srs EPSG:26945 is part of the command line it works fine, how do I know the the correct EPSG code from the WKT as there are more than one AUTHORITY code with EPSG value ?<br></div></div></blockquote><div><br></div><div>There's (potentially) an Authority code for each <i>section</i> in the WKT. You want the code for the <i>outermost</i> (in this case PROJCS, but will be GEOGCS if it's a geographic coordinate system).</div><div><br></div><div>Different coordinate systems may have additional (or missing) Authority codes -- eg. Shapefile PRJs from ArcGIS didn't include Authority codes for a long time.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>PROJCS["NAD83 / California zone 5", <= the projected coordinate system<br></div><div> GEOGCS["NAD83", <= the geographic coordinate system the projection is based on<br> DATUM["North_American_Datum_1983", <= the datum the geographic CS is based on<br> SPHEROID["GRS 1980",6378137,298.257222101, <= the spheroid the datum is based on<br> AUTHORITY["EPSG","7019"]], <= code for the GRS1980 spheroid<br> TOWGS84[0,0,0,0,0,0,0],<br> AUTHORITY["EPSG","6269"]], <= code for the NAD83 datum<br> PRIMEM["Greenwich",0, <= prime meridian<br> AUTHORITY["EPSG","8901"]], <= code for the Greenwich meridian<br> UNIT["degree",0.0174532925199433, <= units for the NAD83 geographic CS<br> AUTHORITY["EPSG","9122"]], <= code for Degree units<br> AUTHORITY["EPSG","4269"]], <= code for the NAD83 geographic CS<br> PROJECTION["Lambert_Conformal_Conic_2SP"],<br> PARAMETER["standard_parallel_1",35.46666666666667],<br> PARAMETER["standard_parallel_2",34.03333333333333],<br> PARAMETER["latitude_of_origin",33.5],<br> PARAMETER["central_meridian",-118],<br> PARAMETER["false_easting",609601.2192024384],<br> PARAMETER["false_northing",152400.3048006096],<br> UNIT["Meter",1],<br> AXIS["X",EAST],<br> AXIS["Y",NORTH],<br> AUTHORITY["EPSG","26945"]] <= code for the NAD83/California Zone 5 projected CS<br></div></div></blockquote><div><br></div></div><div>HTH,</div><div><br></div><div>Rob :)</div>
</div></div>