Opened 15 years ago
Closed 5 years ago
#3131 closed defect (wontfix)
ogr2ogr can not support the -append mode when import the normal dbf file to oracle
Reported by: | tsingdong | Owned by: | ilucena |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | OCI |
Cc: | warmerdam |
Description
I use the shell:ogr2ogr -append -f OCI OCI:user/password@service C:\placename.dbf to import the placename dbf table into the Oracle,the first time it was success.but when i tried to import the other placename.dbf table of other data source.An error occured the system raise a ora-00955 exception. The org2ogr not support -append mode when import normal dbf file,any body can tell me?
tks!
Attachments (2)
Change History (8)
follow-up: 2 comment:1 by , 15 years ago
Component: | Utilities → OGR_SF |
---|---|
Keywords: | OCI added |
by , 15 years ago
Attachment: | ogr2ogr error.JPG added |
---|
ogr2ogr error when load dbf with -append mode
comment:2 by , 15 years ago
Replying to warmerdam:
Can you include the exact and complete error message produced by ogr2ogr?
Have you tried the -update switch to ogr2ogr indicating that an existing database should be opened instead of trying to create a new one?
I add a attachment file with the picture with the error message.
comment:3 by , 15 years ago
Status: | new → assigned |
---|
Reviewing the code, it appears likely that the PLACENAME table is not being treated as a layer when OGR opens the oracle database. In this situation an attempt will be made to create the table however the error messages indicates it already exists.
Does an ogrinfo on OCI:tsingdong/tsingdong@XE report the placename layer? If not, I wonder why not.
comment:4 by , 15 years ago
I added the ogrinfo result picture.
you're right the placename is not a ogr layer by the ogr2ogr load th e dbf file.It's the right result? it would changed in the feature or not?
tks!
comment:5 by , 14 years ago
Cc: | added |
---|---|
Milestone: | 1.7.0 |
Owner: | changed from | to
Status: | assigned → new |
comment:6 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
Can you include the exact and complete error message produced by ogr2ogr?
Have you tried the -update switch to ogr2ogr indicating that an existing database should be opened instead of trying to create a new one?