<pre>Hi Jose, Charles, <br><br>thanks for your input.<br>Now, what is a reasonable solution for this? Can I use a custom projection in gdal (parsing the parameters without naming it "lcc")?<br><br>Matt.<br><br>><i> Matt<br>
</i>><i><br></i>><i> There is a problem with the lcc projection. The two latitudes +lat_1 and<br></i>><i> +lat_2 define the standard parallels, where the cone intersects the<br></i>><i> ellipsoid. They can't be both zero (the cone would degenerate into a<br>
</i>><i> cylinder).<br></i><br>Of course, they *can* both be zero and the equations then become those<br>of the Mercator projection. It's just that the authors of proj.4 chose<br>not to handle this case.<br><br> --Charles<br>
<br>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<br>
+x_0=0 +y_0=0 +units=m +no_defs' -t_srs '+proj=UTM +zone=18 +units=m<br>+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<br>
about the projection parameters.<br>ERROR 6: Failed to initialize PROJ.4 with `+proj=lcc +lat_1=0 +lat_2=0<br>+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></pre>