[gdal-dev] ogr/oci import : a_srs EPSG:4230 fails

Anders Moe anders.moe at geocap.no
Mon Nov 15 08:08:27 EST 2010


Hi everyone

When importing an  ED50 (EPSG:4230) shapefile to Oracle Spatial 11g2,

ogr2ogr -a_srs EPSG:4230 -f OCI blabla

a get an insufficient privileges error . however when specifying EPSG:4326
it works. Which is ironic, since the actual data _is_ 4230.

SRID=4230 is , after all , present in the SDO_COORD_REF_SYS table as well as
the GDAL_DATA files.

Here is the WKT as reported by OGR :

GEOGCS["GCS_European_1950",

 DATUM["European_Datum_1950",

SPHEROID["International_1924",6378388.0,297.0]],

PRIMEM["Greenwich",0.0],

UNIT["Degree",0.0174532925199433]]



This is easy to reproduce, simply download for example the "fields" dataset
from the NPD :


http://www.npd.no/engelsk/cwi/pbl/en/factmap/download/shapes_welcome.htm




Cheers,

Anders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101115/15c87ec2/attachment.html


More information about the gdal-dev mailing list