BUG
The SQL function SDE.ST_Is3D should return 1 when called with an SDE.ST_GEOMETRY geometry that contains elevation (Z) values. SDE.ST_Is3D incorrectly returns 0 on IBM AIX with Oracle 10g and HP Tru64 with Oracle 9i.
This is a known issue.
The following are two examples that show the results from using the Oracle INSTR function:
In the first example, the geometry does contain the Z dimension and thus the INSTR returns a non-zero value, the offset to the first 'Z' found in the text string.
Code:
SQL> select instr(sde.st_astext(sde.st_geometry('point z (1 1 1)',0)),'Z') from
dual;
INSTR(SDE.ST_ASTEXT(SDE.ST_GEOMETRY('POINTZ(111)',0)),'Z')
----------------------------------------------------------
7
Code:
SQL> select instr(sde.st_astext(sde.st_geometry('point (1 1)',0)),'Z') from dual
;
INSTR(SDE.ST_ASTEXT(SDE.ST_GEOMETRY('POINT(11)',0)),'Z')
--------------------------------------------------------
0
Get help from ArcGIS experts
Download the Esri Support App