Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

Can I append to different tables using ogr2ogr?

$
0
0

I have been through many related questions and links but I am still confused as to how/if this is achievable. So, I have defined tables in my postgis database and I would like my ogr2ogr commnand to append to these existing tables rather than create its own – using GML files that I have.

I have tried using -nln and -sql but I had no success. The -nln option seems useful when importing a shapefile which usually contains one type of geometry thus needing to specify one table only. But what happens when need to specify 11 tables?

Finally, I found some links to use python with ogr library. I have not found good documentation with examples though…

Any suggestions? Thanks in advance!

Kind regards,
A


Viewing all articles
Browse latest Browse all 397

Trending Articles