<div dir="ltr"><div><div><div><div>> What else should it return? That is the proj string behind the EPSG code.<br><br></div>As you said, I'm interested in the expansion of the defaults, not just the values directly from the lookup.<br>
<br></div>> I guess you are looking for default values which you don't want to add explicitly.<br><br></div>Exactly. Thank you for pointing me at gdalsrsinfo - that is exactly what I was looking for!<br><br></div>All the best,<br>
<br>Phil<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 March 2014 17:50, Andre Joost <span dir="ltr"><<a href="mailto:andre+joost@nurfuerspam.de" target="_blank">andre+joost@nurfuerspam.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Phil,<br>
<br>
Am 04.03.2014 15:41, schrieb Phil Elson:<br>
<div class="">> I'm curious to know whether it is possible for proj4 to return a complete<br>
> representation of a projection definition. For instance, supposing I gave a<br>
> proj4 string of:<br>
><br>
> +proj=merc<br>
><br>
> It would be useful to get back a projection definition such as:<br>
><br>
> +proj=merc +lat_ts=0 ...<br>
<br>
</div>gdalsrsinfo does exactly that.<br>
<div class=""><br>
><br>
> Similarly, though this is less important to me, is it possible to go from:<br>
><br>
> +init=epsg:3309<br>
><br>
> To<br>
><br>
> +proj=aea +lat_1=34 +lat_2=40.5 ...<br>
><br>
> Without just returning the string found in share/proj/epsg?<br>
<br>
</div>What else should it return? That is the proj string behind the EPSG code.<br>
<div class=""><br>
><br>
> I guess what I'm really asking whether there is an internal representation<br>
> of these values which can then be used to pump out a string suitable for<br>
> passing through to proj4 later on?<br>
><br>
<br>
</div>I guess you are looking for default values which you don't want to add<br>
explicitly.<br>
<br>
You can play with gdalsrsinfo and look what it returns on incomplete input.<br>
<br>
Greetings,<br>
André Joost<br>
<br>
_______________________________________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><br>
</blockquote></div><br></div>