English

Bug: Attempting to register a table in Oracle using sdelayer with a SRID value of 0 fails

Description

When attempting to register a layer using the ArcSDE administration command 'sdelayer -o register' and specifying a SRID value of 0, the registration fails.

Code:
D:\>sdelayer -o register -l world_capitals,shape -e p -R 0 -C oid,sde -t st_geometry -u admin -p admin -i 5151

Error, Invalid (-R) SRID 0


Cause

Registering a layer with the ArcSDE administration command 'sdelayer -o register' currently does not support a SRID value of 0. The specified SRID value must be greater than 0.

Workaround

Change the table's geometries SRID value to a value greater than 0 and re-execute the registration command.

Code:
D:\>sdelayer -o register -l world_capitals,shape -e p -R 1 -C oid,sde -t st_geometry -u admin -p admin -i 5151

ArcSDE 9.3 for Oracle11g Build 508 Thu Apr 17 12:23:18 2008
Layer Administration Utility
-----------------------------------------------------
Successfully Created Layer.