[Proj] setting lambert conformal conic projection in gdalwarp
Mathew Fox
mathewfoxx at gmail.com
Wed Aug 17 08:16:22 EST 2011
Hi Jose, Charles,
thanks for your input.
Now, what is a reasonable solution for this? Can I use a custom
projection in gdal (parsing the parameters without naming it "lcc")?
Matt.
>* Matt
*>*
*>* There is a problem with the lcc projection. The two latitudes +lat_1 and
*>* +lat_2 define the standard parallels, where the cone intersects the
*>* ellipsoid. They can't be both zero (the cone would degenerate into a
*>* cylinder).
*
Of course, they *can* both be zero and the equations then become those
of the Mercator projection. It's just that the authors of proj.4 chose
not to handle this case.
--Charles
Hi all,
I am having problems with the Lambert Conformal Conic projection.
I am trying to convert an LCC file into UTM:
gdalwarp -of GTiff -s_srs '+proj=lcc +lat_1=0 +lat_2=0 +lat_0=50 +lon_0=0
+x_0=0 +y_0=0 +units=m +no_defs' -t_srs '+proj=UTM +zone=18 +units=m
+datum=NAD83 +no_defs' cols.asc cols.tif
I got the parameters from an existing LCC file.
Problem is, when I try to set this projection to my file I get an error
about the projection parameters.
ERROR 6: Failed to initialize PROJ.4 with `+proj=lcc +lat_1=0 +lat_2=0
+lat_0=50 +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +units=m +no_defs '.
conic lat_1 = -lat_2
Thank you in advance for any suggestions.
Matt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20110817/c117d36c/attachment.htm
More information about the Proj
mailing list