[postgis-users] ogr2ogr

Sufficool, Stanley ssufficool at rov.sbcounty.gov
Wed Jun 4 13:47:11 PDT 2008


I've had the same issue in importing Arc/Info files with ogr2ogr.
Currently I'm importing them to temp tables and then updating/appending
the PostGIS tables from there with set_srid().


> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net 
> [mailto:postgis-users-bounces at postgis.refractions.net] On 
> Behalf Of Ricardo Peironcely
> Sent: Wednesday, June 04, 2008 11:32 AM
> To: postgis-users at postgis.refractions.net
> Subject: [postgis-users] ogr2ogr
> 
> 
> Hello all.
> 
> I'm importing a new table in postgis from a mapinfo file. I 
> want to use a existing srid, but osr2osr allwais create a new srid
> 
> This is my command:
> 
>   ogr2ogr -s_srs "EPSG:3395"  -overwrite -f "PostgreSQL" 
> PG:"host=localhost dbname=gis" file.tab
> 
> I've tryed -s_srs and -a_srs, using EPSG:3395 and using the 
> complete content of srtext field in the existing row. Allways 
> create a new srid.
> 
> -- 
> Best regards.
> 
> Ricardo Peironcely _______________________________________________
> postgis-users mailing list postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 



More information about the postgis-users mailing list