0

I'm trying to import a SHP to my Oracle database.

I've installed OSGeo4W (Express Install with all 4 packages).

After running my command

.\ogr2ogr.exe -f "OCI" "OCI:user/[email protected]/n2012" D:\data\nr.shp -update -lco PRECISION=NO -overwrite -nln XF_NR

I've got an error

Unable to find driver OCI'

I have and older version of OSGeo4W (folder is named OSGeo4W64, in the new istalation it's just OSGeo4W) installed on an other computer and it works fine. I just noticed some directory and files have changed.

Any ideas ?

3
  • 4
    did you install the Oracle driver when you installed OSGeo4W? I don't think is part of the standard install
    – Ian Turton
    Commented Sep 28, 2022 at 14:41
  • What do you mean by Oracle driver ? How is it called ?
    – user49126
    Commented Sep 28, 2022 at 14:47
  • 3
    It is called "OCI" gdal.org/drivers/vector/oci.html. In the OSGeo4W setup it is named as "gdal-oracle".
    – user30184
    Commented Sep 28, 2022 at 14:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.