-
Notifications
You must be signed in to change notification settings - Fork 4
AER-4242 updated supplied nature data #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| BEGIN; SELECT system.load_table('countries', '{data_folder}/common/nature_areas/25/nature.countries_20150721.txt', FALSE); COMMIT; | ||
| BEGIN; SELECT system.load_table('authorities', '{data_folder}/common/nature_areas/25/nature.authorities_20221115.txt'); COMMIT; | ||
|
|
||
| BEGIN; SELECT system.load_table('natura2000_areas', '{data_folder}/common/nature_areas/26/nature.natura2000_areas_20260511.txt', TRUE); COMMIT; | ||
| BEGIN; SELECT system.load_table('natura2000_area_properties', '{data_folder}/common/nature_areas/26/nature.natura2000_area_properties_20260511.txt', TRUE); COMMIT; | ||
|
|
||
| BEGIN; SELECT system.load_table('natura2000_directives', '{data_folder}/common/nature_areas/25/nature.natura2000_directives_20220328.txt'); COMMIT; | ||
| BEGIN; SELECT system.load_table('natura2000_directive_areas', '{data_folder}/common/nature_areas/26/nature.natura2000_directive_areas_20260511.txt', TRUE); COMMIT; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| BEGIN; SELECT system.load_table('natura2000_areas', '{data_folder}/common/nature_areas/26/nature.natura2000_areas_abroad_20260414.txt', TRUE); COMMIT; | ||
| BEGIN; SELECT system.load_table('natura2000_area_properties', '{data_folder}/common/nature_areas/26/nature.natura2000_area_properties_abroad_20260414.txt', TRUE); COMMIT; | ||
|
|
||
| BEGIN; SELECT system.load_table('natura2000_directive_areas', '{data_folder}/common/nature_areas/26/nature.natura2000_directive_areas_abroad_20260414.txt', TRUE); COMMIT; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same goes for the abroad directive areas. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| {import_common 'database-modules/nature_habitats_and_species/supplied_26.sql'} | ||
|
|
||
| -- Generated data | ||
| BEGIN; SELECT system.load_table('relevant_habitat_areas', '{data_folder}/common/nature_habitats_and_species/25/nature.relevant_habitat_areas_20250719.txt'); COMMIT; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be updated too. This is a look-up table that takes too much time to determined during the database build. |
||
|
|
||
| {import_common 'database-modules/nature_habitats_and_species/refresh_materialized_views.sql'} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| BEGIN; SELECT system.load_table('habitat_types', '{data_folder}/common/nature_habitats_and_species/25/nature.habitat_types_20230619.txt'); COMMIT; | ||
| BEGIN; SELECT system.load_table('habitat_type_critical_levels', '{data_folder}/common/nature_habitats_and_species/25/nature.habitat_type_critical_levels_20231120.txt'); COMMIT; | ||
| BEGIN; SELECT system.load_table('habitat_properties', '{data_folder}/common/nature_habitats_and_species/26/nature.habitat_properties_20260430.txt', TRUE); COMMIT; | ||
| BEGIN; SELECT system.load_table('habitat_type_relations', '{data_folder}/common/nature_habitats_and_species/25/nature.habitat_type_relations_20230619.txt'); COMMIT; | ||
|
|
||
| BEGIN; SELECT system.load_table('habitat_areas', '{data_folder}/common/nature_habitats_and_species/26/nature.habitat_areas_20260514.txt', TRUE); COMMIT; | ||
|
|
||
| BEGIN; SELECT system.load_table('species', '{data_folder}/common/nature_habitats_and_species/26/nature.species_20260430.txt', TRUE); COMMIT; | ||
| BEGIN; SELECT system.load_table('species_properties', '{data_folder}/common/nature_habitats_and_species/26/nature.species_properties_20260430.txt', TRUE); COMMIT; | ||
| BEGIN; SELECT system.load_table('designated_species', '{data_folder}/common/nature_habitats_and_species/26/nature.designated_species_20260430.txt', TRUE); COMMIT; | ||
|
|
||
| BEGIN; SELECT system.load_table('species_to_habitats', '{data_folder}/common/nature_habitats_and_species/26/nature.species_to_habitats_20260512.txt', TRUE); COMMIT; |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be updated. From what I know, a natura2000 areas is the sum of all directive areas.