Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support append and update #20

Closed
wants to merge 1 commit into from
Closed

support append and update #20

wants to merge 1 commit into from

Conversation

eczajk1
Copy link

@eczajk1 eczajk1 commented Dec 28, 2015

It didn't look like -update and -append were supported. Hope this is useful.

FYI, my use case is loading a PostgreSQL table from a File Geodatabase (ESRI/OpenFileGDB). This is the ogr2ogr statement I am trying to emulate:

ogr2ogr -f PostgreSQL -skipfailures -append -update PG:"host=localhost user=postgres dbname=mydb password=abc123" -nln myschema.mylayer mygeodatabase.gdb targetlayer

I am actually having trouble getting the result I want. Like, on this line, if I do:

console.log('ogr2ogr', args.join(' '))

... it prints the exact statement I need. But when it spawns the process, it is "Unable to open the datasource ... with the following drivers..."

If I copy/paste it, it works fine. I'm on Windows, which I'm pretty sure is contributing to my problem.

It didn't look like update and append were supported.  Hope this is
useful.
@eczajk1
Copy link
Author

eczajk1 commented Dec 30, 2015

btw, I think my issue is related to this issue, but is basically irrelevant to the PR

@wavded wavded self-assigned this Dec 30, 2015
@wavded wavded removed their assignment Oct 19, 2018
@wavded
Copy link
Owner

wavded commented Oct 19, 2018

Closing due to age

@wavded wavded closed this Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants