CARIS HPD : HPD® Server API : External Product Data : P_EXTERNALAPI : SETPRODUCTBOUNDARY
 

SETPRODUCTBOUNDARY

Edits the boundary of an external product.

Input

Parameter

Type

Description

v_product_id

NUMBER

The id of the product to be edited.

v_geom

SDO_GEOMETRY

The new product boundary.

Geometry is defined in the WGS84 coordinate reference system.

Example

DECLARE

v_product_boundary constant external_product.geom%type :=

mdsys.sdo_geometry(2003,

p_schema_constants.default_source_geom_srid,

NULL,

MDSYS.sdo_elem_info_array (1, 1003, 3),

MDSYS.sdo_ordinate_array (-72.55, 46.32, -72.50, 46.37));

BEGIN

p_externalapi.setProductBoundary(1, v_product_boundary);

END;

/