[postgis-users] OGR2OGR srid being ignored

Maciej Sieczka tutey at o2.pl
Thu Jul 10 12:05:33 PDT 2008

Sufficool, Stanley pisze:
> I import / synchronize data from ARC/INFO coverage files frequently.
>  I use the following command to pull in the data for our intranet 
> mapping server, but it does not seem to honor the SRID arguments and
>  places all geometries with SRID = 32767. I have tried every 
> combination of  -*_srs args to no avail.  What am I missing here?
> ogr2ogr -overwrite -f PostgreSQL PG:\"host=<host> dbname=postgis 
> user=postgres password=<iwonttell>" /mnt/gis/covers/precinct pal -nln
>  precinct_tmp -s_srs EPSG:2229 -a_srs EPSG:2229 -t_srs EPSG:2229 -lco


This issue has been fixed few weeks ago [1]. Works for me with GDAL
1.5.2 + SVN r14751.



Maciej Sieczka

More information about the postgis-users mailing list