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

_______________________________________________
CF-metadata mailing list
[email protected]
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

Reply via email to