[gdal-dev] Exporting spatial data to oracle with oci driver.

san619 sankin619 at gmail.com
Tue Feb 12 22:22:08 PST 2019


How can i export a shape file to oracle using oci driver.
I used the command

ogr2ogr -f OCI OCI:user/password at ip/servicename "C:\Downloads\sample.shp"
-a_srs "EPSG:4326"

it got uploaded correctly but the source datum was not defined.

So i tried another command 

ogr2ogr -f OCI OCI:user/password at ip/servicename "C:\Downloads\sample.shp"
-lco SRID=4326

even by this also the file was exported to oracle but the source layer was
not defined any coordinate system.

How can i export the shape file to oracle by defining the source layer
coordinate system.
Why im unable to define the coordinate the system during export.Please
correct me if im wrong. im new to gdal.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list