tdis_add_model


Description

Creates a new model. Returns the new model’s TDIS Identifier

select *
from tdis_add_model(6, 117, 'Flood Model 68970', '2022-12-13', '2020-07-11', 'Lorem Ipsum', 'Lorem Ipsum', 13,
                2, '{"Dallas|County","Dallas|Municipality"}', '{{6,7},{6,8}}', 'Jane D. Doe', '{TDEM,TxDOT,TNRIS}',
                5,
                1, 'https://web.site.net', 45, 'USGS', 'flood modeling, harvey, hydraulic, river reach',
                'GNU', '012333444555', '{Combined Riverine-Coastal,Hydraulic}', '{013555444}', 'REST', 'HEC-RAS',
                '1.0.2', 'Annually', '{"[2022-02-15, 2022-02-17)","[2022-02-03, 2022-02-09)"}', '{Public}');

Parameters

Name Type Mode
p_user_id integer IN
p_collection_id integer IN
p_title character varying IN
p_element_last_updated date IN
p_element_created date IN
p_description text IN
p_purpose text IN
p_object_version integer IN
p_accessibility_score integer IN
p_jurisdiction_with_type_code ARRAY IN
p_contacts ARRAY IN
p_creator_name character varying IN
p_chain_of_custody ARRAY IN
p_data_stage_score integer IN
p_distribution_method_id integer IN
p_distribution_url character varying IN
p_publisher_distributor_agency_id integer IN
p_keyword_vocabulary_source character varying IN
p_keyword_terms character varying IN
p_license character varying IN
p_external_model_identifier character varying IN
p_model_types ARRAY IN
p_horizontal_coordinate_system_id integer IN
p_horizontal_datum_id integer IN
p_vertical_coordinate_system_id integer IN
p_vertical_datum_id integer IN
p_dimension_id integer IN
p_scale character varying IN
p_twdb_flood_planning_project_ids ARRAY IN
p_service_endpoint_type character varying IN
p_software_abbreviation character varying IN
p_software_version character varying IN
p_update_interval character varying IN
p_time_periods ARRAY IN
p_use_constraints ARRAY IN