English

Error: -33 Invalid grid size

Error Message

This error occurs when attempting to register an Oracle Spatial 'external (in-line table (layer)):

-33 Invalid grid size

Example:

> C:\>sdelayer -o register -l parcels,geom -e a+ -c id_field -i sde802 -u
sdo_user
> -p sdo_user
>
>
> ArcSDE 8.0.2
> Layer Administration Utility
> -----------------------------------------------------
> Error: Invalid grid size (-33).
> Error: Cannot Create Layer.

Cause

The SDO_GEOMETRY keyword was not used, nor was the DEFAULTS geometry storage type set to SDO_GEOMETRY. SDEBINARY was the default storage type.

Solution or Workaround

Change to use SDO_GEOMETRY:

> C:\>sdelayer -o register -l parcels,geom -e a+ -c id_field -i sde802 -u 
sdo_user
> -p sdo_user -k sdo_geometry
>
>
> ArcSDE 8.0.2
> Layer Administration Utility
> -----------------------------------------------------
> Successfully Created Layer.