<div dir="ltr">Thanks everyone for the help. Now I just need to get it going in gdalwarp!<div><br></div><div>P</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 2, 2020 at 7:37 AM Greg Troxel <<a href="mailto:gdt@lexort.com">gdt@lexort.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Even Rouault <<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>> writes:<br>
<br>
> For projinfo, you need to put the PROJ string inside double quotes, and add a +type=crs<br>
><br>
> projinfo "+proj=utm +zone=10 +datum=NAD83 +units=m +geoidgrids=us_noaa_g2018u0.tif <br>
> +type=crs"<br>
<br>
Thanks. I did not figure that out from reading the projinfo man page.<br>
It says<br>
<br>
{object_definition} might be a PROJ string, a WKT string, a AUTHORITY:CODE, or urn:ogc:def:OBJECT_TYPE:AUTHORITY::CODE<br>
<br>
which I guess in hindsight sort of implies a single argument. The<br>
{foo} syntax makes sense in hindsight but I didn't grasp this.<br>
<br>
I only find the +type=crs within --identify.<br>
<br>
<br>
>> 2) It strikes me that once one moves away from basic 2D datums, the<br>
>> legacy syntax is dangerous, and people should be encouraged to use a<br>
>> clearer definition. Do you agree, and if so I wonder what you think<br>
>> should be done?<br>
><br>
> The only advantage of it is its compacity, especially for simple things. Using EPSG codes or <br>
> EPSG names for well-known objects is an alternative. Otherwise you have to use more <br>
> verbose syntaxes with WKT or PROJJSON<br>
<br>
that makes sense, but it seems that most people are using things that<br>
can be defined via EPSG codes, and if so would be better served by<br>
doing so to reduce confusion.<br>
<br>
>> 3) I didn't realize one caould merge two codes that way to construct a<br>
>> compound CRS. That may just be me that doesn't know that, but it might<br>
>> help to add an example to cs2cs(1).<br>
><br>
> Was already documented for projinfo, but indeed wasn't explicitly mentionned for cs2cs. <br>
> Should be addressed by <a href="https://github.com/OSGeo/PROJ/pull/2290" rel="noreferrer" target="_blank">https://github.com/OSGeo/PROJ/pull/2290</a><br>
<br>
Great, thanks.<br>
</blockquote></div>