Matt<br><br>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).<br>
<br>There are two more possible problems.<br>In the source coordinate system there is no ellipsoid definition. It seems that gdalwarp is assuming to be WGS84. <br>In the output system you have UTM in uppercase. The proj standard is lowercase.<br>
<br>Regards<br><br>José<br><br><br><div class="gmail_quote">2011/8/16 Mathew Fox <span dir="ltr"><<a href="mailto:mathewfoxx@gmail.com">mathewfoxx@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br><br>I am having problems with the Lambert Conformal Conic projection. <br><br>I am trying to convert an LCC file into UTM:<br><br>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<br><br>I got the parameters from an existing LCC file.<br>
<br>Problem is, when I try to set this projection to my file I get an error about the projection parameters. <br>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 '.<br>
conic lat_1 = -lat_2<br><br>Thank you in advance for any suggestions.<br><br>Matt.
<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>