[gdal-dev] Re: Export multiples postgres-tables with an order of fields

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Thu Sep 22 05:45:30 EDT 2011


BSAP ( Andres Thomas  <thomas.andres <at> bsap.ch> writes:


> … then I append them to one itf manually… because the –append option
> seems not to work with the interlis-driver

I have a feeling that at least with some drivers both -update and -append are
needed. 
 
> Is there a better way to do? Couldn’t I use multiples –select options
> for the different tables into one pg-export?

You may think if you could build a query that gives you the result you want in
PostgreSQL and create a view there. Alternatively you can insert the query into
-sql parameter in ogr2ogr.

-Jukka Rahkonen-




More information about the gdal-dev mailing list