Import from hrd
Functions
|
|
|
|
|
|
|
Queries first the HRD for the integer ID of the traject. |
|
|
|
Queries the dijktrajecten.shp that was retrieved from the API of |
|
|
|
Module Contents
- _folder_contains_hrd_db(hrd_dir)
- Parameters:
hrd_dir (str)
- Return type:
bool
- _ask_path_to_hrd_dir()
- Return type:
str
- _add_hrd_locations_to_database(app_settings, hrd_dir)
- Parameters:
app_settings (Applicationsettings)
hrd_dir (str)
- _add_hrd_overschrijdingsfrequentielijnen(hrd_dir, app_settings)
- Parameters:
hrd_dir (str)
app_settings (Applicationsettings)
- _get_traject_id(hrd_dir)
Queries first the HRD for the integer ID of the traject. Then queries the HLCD to find the textual traject ID.
- Parameters:
hrd_dir (str)
- Return type:
Tuple[int, str]
- _hlcd_file_path(hrd_dir)
- Parameters:
hrd_dir (str)
- _query_dijktrajecten(traject_id)
Queries the dijktrajecten.shp that was retrieved from the API of the Waterveiligheidsportaal [1].
- Parameters:
traject_id (str)
- Return type:
Tuple[int, int]
- _ask_is_bovenrivierengebied()
- Return type:
bool
- _add_traject_parameters(app_settings, hrd_dir)
- Parameters:
app_settings (Applicationsettings)
hrd_dir (str)
- import_from_hrd(app_settings)
- Parameters:
app_settings (Applicationsettings)