Sets the boundary of the product. This must be a rectangle with no inner rings. For more information , see Oracle Geometries.
See also ADD_SOURCE_EXTRACTION.
There is one geometry for each edition of a product, so this affects all versions of an edition.
Input
Parameter | Type | Description |
|---|---|---|
PRODUCTVERSION_ID | NUMBER | The primary key of the product version. |
GEOM | SDO_GEOMETRY | The product boundary. This is snapped to 1e-7. |
Example
DECLARE -- Geometry for product boundary. Holes are not supported in the product extent. -- This must be a rectangle. v_PRODUCTGEOM SDO_GEOMETRY := SDO_GEOMETRY(2003, p_schema_constants.default_source_geom_srid, NULL, sdo_elem_info_array (1, 1003, 3), sdo_ordinate_array (-72.558333300, 46.320000000, -72.488333300, 46.373333300)); BEGIN p_vectorapi.SET_PRODUCT_GEOMETRY(&productversion_id, v_PRODUCTGEOM); END; / |
Exceptions
• Product version ID '%id%' does not exist.
• Product version %% has already been cut and can not be updated.
• Product %id% is %status% and can not be modified.
• Product version %id% has already been cut and can not be updated.
• Cannot apply changes because the product is currently being edited by %user%. Please try again later.