[gdal-dev] s-57 and srs

Tore Halset halset at pvv.ntnu.no
Wed Apr 9 17:58:25 EDT 2008


I am importing some s-57 data into postgis, but do not know how to  
include the srs.

ogr2ogr -f PostgreSQL PG:"user=myuser dbname=mydb password=mypass" - 
a_srs "EPSG:4326" -s_srs "EPSG:4326" MYCELL.000 DEPARE

The import works well, but the inserted geometries does not have any  
srs. What am I doing wrong? This is with postgresql-8.3.1 and  
postgis-1.3.2. PostGIS is compiled with geos and proj.

  - Tore.

More information about the gdal-dev mailing list