ogr2ogr problem!

Gabriel Cloutier gabriel.cloutier at RNCAN.GC.CA
Wed Jun 15 08:33:35 PDT 2005


Hi!
 I have a problem with this tool under Unix.
When I execute:
ogr2ogr -f "ESRI Shapefile" -select
SNRC_F,CODEBNDT_F,CLASSIFI_F,REVETEME_F,CATEGORI_F,ELEVATION_F,NATURE_F,TYPE_F,REL_SOL_F,EMPLACEMENT_F
layer BARRAGE_1_012B08.shp -a_srs EPSG:42304 -skipfailures

I have this error:
ERROR 6: EPSG PCS/GCS code 42304 not found in EPSG support files.  Is this a
valid
EPSG coordinate system?
Failed to process SRS definition: EPSG:42304

My GDAL_DATA is correctly set on my /data directory.
I took the data directory of a FWTools Windows installation do you think
that can be the problem ?

If I use EPSG:4326 my command work fine.

The problem seems to be when the tool try to access to the the file
cubewerx_extra.wkt.
This file contain the definition of my projection (EPSG:42304)

Thank you for your help!


----------------------------------------------------------------
Gabriel Cloutier
Natural Resources Canada
Centre for Topographic Information
Web Services Team
2144 King West Street, s. 010
Sherbrooke, Quebec  J1J 2E8
E-Mail:  Gabriel.Cloutier at NRCan.gc.ca
Tel:  (819) 564-5600 #295
Fax:  (819) 564-5698



More information about the MapServer-users mailing list