⇐ ⇒

[CF-metadata] inconsistencies in translating projection parameters OGC WKT <-> CF-1.5

From: John Caron <caron>
Date: Fri, 16 Dec 2011 16:34:06 -0700

On 12/15/2011 3:26 PM, Etienne Tourigny wrote:
> An update on LCC-1SP:
>
> I have modified the GDAL driver to compute scale_factor from CF
> parameters ( std_parallel and latitude_of_projection_origin), and keep
> the std_parallel1 (which is not OGC WKT for LCC-1SP), so it exports
> back to CF without a hitch.
>
> The only exception is translating from WKT to CF, with scale_factor !=
> 1 and no std_parallel1 (a valid OGC WKT), there is no valid CF
> definition (because I can't see how to get std_parallel from
> scale_factor and latitude_of_projection_origin). In this case, the 2SP
> variant is preferred (but I don't know how to compute it). On the
> positive side, at least GDAL is able to read it back so no information
> is lost.
>
> For anyone interested here is the trac entry:
> http://trac.osgeo.org/gdal/ticket/3324#comment:13
>
> Regards,
> Etienne
Hi Etienne :

I agree thats the best to do, unless we run across the code to translate
the scale factor with 1SP to 2SP.

John
Received on Fri Dec 16 2011 - 16:34:06 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒