[gdal-dev] ogr2ogr OCI: ORA-13349 and ORA-13356

Michael Shishcu micklesh at gmail.com
Mon Oct 11 06:29:30 EDT 2010


I mean, you have points in your shape(s) too close to each other.
When you are importing them, oracle "interprets" them as the same point
(ORA-13356) or overlapping ones (ORA-13349).
ways to escape
- "simplify" your shapes - delete adjacent points (too close ones)
- change your metadata for the layer (insert or update)

insert into USER_SDO_GEOM_METADATA
values ('LAYER','COLUMN',
mdsys.sdo_dim_array(
mdsys.sdo_dim_element('X',minX,maxX, toleranceX),
mdsys.sdo_dim_element('Y',minY,maxY, toleranceY)
),
SRID), so that toleranceX and toleranceY are small enough to serve your
shapes

regards, michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101011/c222f118/attachment-0001.html


More information about the gdal-dev mailing list