[Gdal-dev] ORA-13199 when having a prj file

Bart van den Eijnden bartvde at xs4all.nl
Fri Oct 21 12:39:53 EDT 2005


Hi list,

when loading a shapefile with a prj file I got the following error when 
using ogr2ogr (GDAL 1.3.1) on an Oracle 10g R2 database (deleting the 
prj file solved the issue):

C:\Program Files\gdal>ogr2ogr -update -f "OCI" OCI:system/psv9570 at PORCL 
adrloc.shp
ERROR 1: ORA-13199:
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 8
ORA-06512: at "MDSYS.CS_SRS_TRIGGER", line 2
ORA-04088: error during execution of trigger 'MDSYS.CS_SRS_TRIGGER'
 in INSERT INTO MDSYS.CS_SRS (SRID, WKTEXT, CS_NAME)  VALUES 
(1000000124,'PROJCS
["unnamed",GEOGCS["unnamed",DATUM["Amersfoort",SPHEROID["Bessel - 
1841",6377397.
155,299.152812825426]],PRIMEM["Greenwich",0],UNIT["Decimal 
Degree",0.01745329251
99433]],PROJECTION["Stereographic"],PARAMETER["latitude_of_origin",52.156160556]
,PARAMETER["central_meridian",5.387638889],PARAMETER["scale_factor",0.9999079],P
ARAMETER["false_easting",155000],PARAMETER["false_northing",463000],UNIT["METER"
,1]]', 'unnamed' )

Best regards,
Bart



More information about the Gdal-dev mailing list