<div>Hi Gabriel,</div>
<div> </div>
<div>There are a series of EPSG codes that are not in the standard EPSG support file, 42304 is one of them. These are codes that were created by the community that were not included in the master list by the EPSG. </div>
<div> </div>
<div>Find the 'EPSG' file in your Proj directory, add the following lines to the end of the file:</div>
<div> </div>
<div>## WGS84 / LCC Canada<br><42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 +x_0=0 +y_0=-8000000.0 +datum=WGS84 +units=m no_defs <><br>## NAD83 / BC Albers<br><42102> +proj=aea +ellps=GRS80 +lat_0=45 +lon_0=-
126.0 +lat_1=50.0 +lat_2=58.5 +x_0=1000000.0 +y_0=0 +datum=NAD83 +units=m no_defs <><br>#<br>## NAD83 LCC for Canada<br><42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 +datum=NAD83 +units=m no_defs <>
<br> </div>
<div> </div>
<div>I believe recently these projections were added to the standard list, in the 32xxx range, if someone can point us to a place to download the most current version of the file.</div>
<div> </div>
<div>Cheers,<br>Ken Lord</div>
<div>Vancouver BC<br><br> </div>
<div><span class="gmail_quote">On 6/15/05, <b class="gmail_sendername">Gabriel Cloutier</b> <<a href="mailto:gabriel.cloutier@rncan.gc.ca">gabriel.cloutier@rncan.gc.ca</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi!<br>I have a problem with this tool under Unix.<br>When I execute:<br>ogr2ogr -f "ESRI Shapefile" -select
<br>SNRC_F,CODEBNDT_F,CLASSIFI_F,REVETEME_F,CATEGORI_F,ELEVATION_F,NATURE_F,TYPE_F,REL_SOL_F,EMPLACEMENT_F<br>layer BARRAGE_1_012B08.shp -a_srs EPSG:42304 -skipfailures<br><br>I have this error:<br>ERROR 6: EPSG PCS/GCS code 42304 not found in EPSG support files. Is this a
<br>valid<br>EPSG coordinate system?<br>Failed to process SRS definition: EPSG:42304<br><br>My GDAL_DATA is correctly set on my /data directory.<br>I took the data directory of a FWTools Windows installation do you think<br>
that can be the problem ?<br><br>If I use EPSG:4326 my command work fine.<br><br>The problem seems to be when the tool try to access to the the file<br>cubewerx_extra.wkt.<br>This file contain the definition of my projection (EPSG:42304)
<br><br>Thank you for your help!<br><br><br>----------------------------------------------------------------<br>Gabriel Cloutier<br>Natural Resources Canada<br>Centre for Topographic Information<br>Web Services Team<br>2144 King West Street, s. 010
<br>Sherbrooke, Quebec J1J 2E8<br>E-Mail: <a href="mailto:Gabriel.Cloutier@NRCan.gc.ca">Gabriel.Cloutier@NRCan.gc.ca</a><br>Tel: (819) 564-5600 #295<br>Fax: (819) 564-5698<br></blockquote></div><br>