Add a new source extraction geometry. A vector product can have multiple source extraction polygons used to query and clip source content for inclusion into the product. For example, a rectangular ENC cell may have disjoint non-rectangular areas of data coverage from source.
There is one set of source extractions for each edition of a product, so this affects all versions of an edition.
Input
Parameter | Type | Description |
|---|---|---|
v_product_id | NUMBER | Primary key of the vector product. |
v_geom_in_source_crs | SDO_GEOMETRY | Defines the area of the source extraction in the HPD source CRS. |
v_geom_in_wgs84_crs | SDO_GEOMETRY | Defines the area of the source extraction in the WGS84 CRS. |
Example
DECLARE v_geom SDO_GEOMETRY; v_product_id NUMBER := 8; BEGIN --Geometry for product boundary v_geom := SDO_GEOMETRY (2003, NULL, NULL, sdo_elem_info_array (1, 1003, 3), sdo_ordinate_array (-74.44668703, 39.87196662, -72.94862913, 41.43018760) ); -- Assuming that the "HPD source" CRS is WGS84. p_vectorapi.add_source_extraction (v_product_id, v_geom, v_geom); p_vectorapi.add_source_extraction (v_product_id, v_geom); END; / |
Exceptions
• Source Extraction boundary is invalid geometry - including an Oracle error number indicating the problem with the geometry.
• Product p_product_id is inactive and cannot be modified.
• Product product_id is status and cannot be modified.