Basic parameters - Giswater/giswater_dbmodel GitHub Wiki
basic_info_canvasmargin - Canvas margin
Default:
{"mincanvasmargin":{"mts":5, "pixels":""}, "maxcanvasmargin":{"mts":50, "pixels":""}}
basic_info_sensibility_factor - Sensibility factor web
Default:
{"mobile":2, "web":1, "desktop":1}
basic_search_exploitation - Search configuration parameters for exploitation
Default:
{"sys_table_id":"exploitation", "sys_id_field":"expl_id", "sys_search_field":"name", "sys_geom_field":"the_geom", "alias":"Explotation"}
basic_search_hydrometer - Search configuration parameters for hydrometer
Default:
{"sys_table_id":"v_ui_hydrometer", "sys_id_field":"sys_hydrometer_id", "sys_connec_id":"sys_connec_id", "sys_search_field_1":"Hydro ccode:", "sys_search_field_2":"Connec ccode:", "sys_search_field_3":"State:", "sys_parent_field":"Exploitation:"}
basic_search_muni - Search configuration parameters for municipality
Default:
{"sys_table_id":"ext_municipality", "sys_id_field":"muni_id", "sys_search_field":"name", "sys_geom_field":"the_geom"}
basic_search_network_arc - Search configuration parameters for arcs
Default:
{"sys_table_id":"v_edit_arc", "sys_id_field":"arc_id", "sys_search_field":"code", "alias":"Arcs", "cat_field":"arccat_id", "orderby":"1", "search_type":"arc"}
basic_search_network_connec - Search configuration parameters for connecs
Default:
{"sys_table_id":"v_edit_connec", "sys_id_field":"connec_id", "sys_search_field":"code", "alias":"Connecs", "cat_field":"connecat_id", "orderby":"3", "search_type":"connec"}
basic_search_network_element - Search configuration parameters for elements
Default:
{"sys_table_id":"v_edit_element", "sys_id_field":"element_id", "sys_search_field":"code", "alias":"Elements", "cat_field":"elementcat_id",
"orderby":"5", "search_type":"element"}
basic_search_network_node - Search configuration parameters for nodes
Default:
{"sys_table_id":"v_edit_node", "sys_id_field":"node_id", "sys_search_field":"code", "alias":"Nodes", "cat_field":"nodecat_id", "orderby":"2", "search_type":"node"}
basic_search_network_null - Search configuration parameters
Default:
{"sys_table_id":"", "sys_id_field":"", "sys_search_field":"", "alias":"", "cat_field":"", "orderby":"0"}
basic_search_postnumber - Search configuration parameters for postnumber
Default:
{"sys_table_id":"v_ext_address", "sys_id_field":"id", "sys_search_field":"postnumber", "sys_parent_field":"streetaxis_id", "sys_geom_field":"the_geom"}
basic_search_psector - Search configuration parameters for psector
Default:
{"sys_table_id":"v_edit_plan_psector","WARNING":"sys_table_id only web, python is hardcoded: v_edit_plan_psector as self.plan_om ='plan'", "sys_id_field":"psector_id", "sys_search_field":"name", "sys_parent_field":"expl_id", "sys_geom_field":"the_geom"}
basic_search_street - Search configuration parameters for street
Default:
{"sys_table_id":"v_ext_streetaxis", "sys_id_field":"id", "sys_search_field":"name", "sys_parent_field":"muni_id", "sys_geom_field":"the_geom"}
basic_search_visit - Search configuration parameters for visit
Default:
{"sys_table_id":"om_visit", "sys_id_field":"id", "sys_search_field":"id", "alias":"Visits", "cat_field":"visitcat_id", "orderby":"6", "feature_type":"visit"}
basic_search_workcat - Search configuration parameters for workcat
Default:
{"sys_geom_field":"the_geom","filter_text":"code","sys_table_id":"cat_work","sys_id_field":"id","sys_search_field":"id"}
basic_selector_explfrommuni - Variable that configures all options related to search for the specificic tab
Default:
{"selector":"selector_expl", "selector_id":"expl_id"}
basic_selector_sectorfromexpl - If true, sector selector is set automatically set to the sector which geometry overlaps the selected exploitation. Default:
{"activated":"false"}
basic_selector_tab_exploitation - Variable that configures all options related to exploitation's selector tab
Default:
{"table":"exploitation", "selector":"selector_expl", "table_id":"expl_id", "selector_id":"expl_id", "label":"expl_id, ' - ', name", "orderBy":"expl_id", "manageAll":true, "selectionMode":"keepPreviousUsingShift" , "query_filter":"AND expl_id > 0", "typeaheadFilter":" AND lower(concat(expl_id, ' - ', name))"}
Domain values:
manageAll: [true, false]; selectionMode:[keepPreviousUsingShift, None] ; typeaheadFilter: [queryText, None]
basic_selector_tab_hydro_state - Variable that configures all options related to search for the specificic tab
Default:
{"table":"ext_rtc_hydrometer_state", "selector":"selector_hydrometer", "table_id":"id", "selector_id":"state_id", "label":"id, ' - ', name",
"manageAll":true, "query_filter":""}
basic_selector_tab_mincut - Variable that configures all options related to search for the specificic tab
Default:
{"table":"om_mincut", "table_id":"id", "selector":"selector_mincut_result", "selector_id":"result_id", "label":"id, '(', CASE WHEN work_order IS NULL THEN 'N/I' ELSE work_order END, ') on ', forecast_start::date, ' at ', forecast_start::time, 'H-', forecast_end::time,'H'", "query_filter":" AND id > 0 "}
basic_selector_tab_network_state - Variable that configures all options related to search for the specificic tab
Default:
{"table":"value_state", "selector":"selector_state", "table_id":"id", "selector_id":"state_id", "label":"id, ' - ', name",
"manageAll":false, "query_filter":""}
basic_selector_tab_psector - Variable that configures all options related to search for the specificic tab
Default:
{"table":"plan_psector", "selector":"selector_psector", "table_id":"psector_id", "selector_id":"psector_id", "label":"psector_id, ' - ', name", "orderBy":"psector_id",
"manageAll":true, "query_filter":" AND expl_id IN (SELECT expl_id FROM selector_expl WHERE cur_user = current_user)",
"layermanager":{"active":"v_edit_psector", "visible":["v_edit_arc", "v_edit_node", "v_edit_connec", "v_edit_gully"], "addToc":["v_edit_psector"]},
"typeaheadFilter":" AND lower(concat(expl_id, ' - ', name))"}
basic_selector_tab_sector - Variable that configures all options related to search for the specificic tab
Default:
{"table":"sector", "selector":"selector_sector", "table_id":"sector_id", "selector_id":"sector_id", "label":"sector_id, ' - ', name", "orderBy":"sector_id",
"manageAll":true, "query_filter":" AND sector_id > 0"}