SQL*Plus: Release 11.2.0.3.0 Production on Thu Feb 6 09:51:59 2014 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options SELECT IBOW.SEAGRASS_RL13.OBJECTID, IBOW.SEAGRASS_RL13.RLSTATUS FROM IBOW.SEAGRASS_RL13, IBOW.ITALYF2_REV1_AU WHERE SDE.ST_INTERSECTS (IBOW.ITALYF2_REV1_AU.SHAPE, IBOW.SEAGRASS_RL13.SHAPE) = 1; SELECT * ERROR at line 1: ORA-28579: network error during callback from external procedure agent ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 100 ORA-06512: at "SDE.ST_RELATION_OPERATORS", line 340
SELECT IBOW.SEAGRASS_RL13.OBJECTID, IBOW.SEAGRASS_RL13.RLSTATUS FROM IBOW.SEAGRASS_RL13, IBOW.ITALYF2_REV1_AU WHERE SDE.ST_INTERSECTS (IBOW.ITALYF2_REV1_AU.SHAPE, IBOW.SEAGRASS_RL13.SHAPE) = 1 AND IBOW.SEAGRASS_RL13.OBJECTID IN (27); OBJECTID RLSTATUS ------------------------------------------------------------------------------------------ 27 LC
SELECT SEAGRASS.OBJECTID, SEAGRASS.RLSTATUS FROM (SELECT SEAGRASS_RL13.OBJECTID AS OBJECTID, SEAGRASS_RL13.RLSTATUS AS RLSTATUS, SEAGRASS_RL13.SHAPE AS SHAPE FROM ITALYF2_REV1_AU, SEAGRASS_RL13 WHERE SDE.ST_ENVINTERSECTS (ITALYF2_REV1_AU.SHAPE, SEAGRASS_RL13.SHAPE) = 1) SEAGRASS, ITALYF2_REV1_AU WHERE SDE.ST_INTERSECTS (ITALYF2_REV1_AU.SHAPE, SEAGRASS.SHAPE) = 1; OBJECTID RLSTATUS ------------------------------------------------------------------------------------------ 27 LC 28 LC 4 LC 7 LC 4 rows selected.
Please use the CODE formatting option (# in the editor UI) for code blocks.
Bold without indentation is even less readable than the default font. You can
edit previous posts within a reasonable time period, so there's no need to
follow-up to your own post.
- V
set long 9999 select sde.st_asText(shape) from myFCPolys where objectid = 1; SDE.ST_ASTEXT(SHAPE) -------------------------------------------------------------------------------- POLYGON (( 0.00000000 0.00000000, 20.00000000 0.00000000, 20.00000000 20.00000000, 0.00000000 20.00000000, 0.00000000 0.00000000)) select sde.st_asText(shape) from myFCPoints where objectid = 1; SDE.ST_ASTEXT(SHAPE) -------------------------------------------------------------------------------- POINT (10.00000000 10.00000000) select sde.st_intersects(sde.st_geometry('polygon ((0 0, 20 0, 20 20, 0 20, 0 0))',4326), sde.st_geometry('point (10 10)', 4326) ) from dual; SDE.ST_INTERSECTS(SDE.ST_GEOMETRY('POLYGON((00,200,2020,020,00))',4326),SDE.ST_G -------------------------------------------------------------------------------- 1
Hi Ellen,
Thanks for the update. The incident you mention does look like it was resolved through an oracle fix (not an esri sde fix) on 11.2.0.2, and if your testing shows it is fixed there that is great. Hopefully you'll be able to get production upgraded at some point.
The network callback error is very general in nature and can occur for many different reasons (specific data, os type, specific queries, etc.). Because of this, it is hard to tell if Stefano is running into the same issue or not (the oracle bug may or may not be resolved in 11.2.0.3. I would hope it would still be fixed there, but something to check with oracle). The only way to know for sure is to narrow down specific test cases, test on different environments, and proceed from there depending on the results.
SELECT DISTINCT(SDE.ST_SRID(SHAPE)) FROM IBOW.SEAGRASS_RL13; (SDE.ST_SRID(SHAPE)) -------------------- 4326 1 row selected. SELECT DISTINCT(SDE.ST_SRID(SHAPE)) FROM IBOW.ITALYF2_REV1_AU; (SDE.ST_SRID(SHAPE)) -------------------- 300096 1 row selected.
SELECT IBOW.SEAGRASS_RL13.OBJECTID, IBOW.SEAGRASS_RL13.RLSTATUS FROM IBOW.SEAGRASS_RL13, IBOW.ITALYF2_REV1_AU WHERE SDE.ST_INTERSECTS (SDE.ST_TRANSFORM (IBOW.ITALYF2_REV1_AU.SHAPE, 4326), IBOW.SEAGRASS_RL13.SHAPE) = 1; OBJECTID RLSTATUS 27 LC 28 LC 4 LC 7 LC