[Gdal-dev] OGR2OGR PG schema support

Frank Warmerdam fwarmerdam at gmail.com
Thu Mar 3 10:05:42 EST 2005


On Thu, 3 Mar 2005 12:32:14 +0100, Düster Horst <Horst.Duester at bd.so.ch> wrote:
> Hallo
> 
> I want to insert an ESRI shape into a postgres schema. The documentation
> doesn't give any suggestions how to do that. I tried
> 
> ogr2ogr -f postgresql PG:... shape.shp -nln schema.table
> 
> but ogr2ogr responses with error
> FAILED: To find existing layer `schema.table' on output dataset
> 
> ogr Version 1.2.1

Dr. Düster,

OGR 1.2.1 is a bit old now.  The 1.2.5 (or beta 1.2.6) driver is somewhat
more capable.  However, it still does not have any explicit Schema support.
There is an open enhancement request about this at:

  http://bugzilla.remotesensing.org/show_bug.cgi?id=522

You might want to add yourself to the cc: list.  I don't know when I will get
to this though.  To be honest, I don't really understand how the schemas
work well. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list