[gdal-dev] Simple OGR C API call

Brian Hamlin maplabs at light42.com
Wed Apr 1 13:47:33 EDT 2009


It seems the source of my trouble was the connection string
The Postgres driver is creating layers just fine, just not whole 
databases..
now wrangling with append options and data format and such
I'll post the example once its worked out
   -Brian

On Apr 1, 2009, at 7:25 AM, Brian Hamlin wrote:

> Suppose a layer is created  with the memory driver.
> How do you write that layer to a Postgres database?
>
> (OGR_Dr_CopyDataSource() appears *not* to be the answer - it 
> implicitly creates the new layer, and Postgres driver doesnt support 
> create.. )
>
> thanks
>   -Brian
>
>
> ==
> Brian Hamlin
> ISDE5 Steering Committee
> Planetwork.net
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list