-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcatalog.yaml
More file actions
354 lines (325 loc) · 13.4 KB
/
Copy pathcatalog.yaml
File metadata and controls
354 lines (325 loc) · 13.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
# ${DATA_PATH_NINA}: path/to/network/data/
# ${DATA_PATH_LOCAL}: path/to/offline/data/
# stored in user-dir/.env
# ----------------------------
# DATA CATALOG
# ----------------------------
# GENERAL DATA
admin:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/general/<<municipality>>_admindata.gdb
fc:
- analyseomrade
- analyseomrade_buffer200
- bydeler
- grunnkretser
- kommune
neighbourhood:
type: featureclass
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/general/<<municipality>>_admindata.gdb/bydeler
key: "bydelnummer"
lookup_fields:
type: excel
filepath: ${DATA_PATH_LOCAL}/data/lookup_tables/lookup_attribute_fields.xlsx
sheet_names:
- complete_fields
- crowns_table
- itree_resultater_fields
- itree_trekroner_fields
- oslo_fields
- stems_table
- traer_fields
- trekroner_fields
lookup_species:
type: excel
filepath: ${DATA_PATH_LOCAL}/data/lookup_tables/lookup_tree_species.xlsx
sheet_names:
- itree_species_lookup
- naturtype_lookup
# RAW DATA (input to integration pipeline)
raw_in_situ_trees:
type: featureclass
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/raw/<<municipality>>_insitu_bytraer.gdb/itree_traer
fields:
bodo:
- GlobalID
- OBJECTID
- Shape
- bydelnummer
- stem_id
- Treslag
- Kommentar_Treslag
- Omkrets
- Høyde
- Sted
- Registreringsdato
- Creator_1
- Kommentar
baerum:
- OBJECTID
- Shape
- naturtype
- stammeomkrets
- omradenavn
- kartleggingsdato
- kartlegger
kristiansand:
- GlobalID
- OBJECTID
- Shape
- bydelnummer
- stem_id
- id
- botanisk_n
- art
- stammeomkr
- DBH
- hoyde
- kronebredd
- datafangst
- registrert
- kommentar
raw_laser_trekroner:
type: featureclass
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/raw/<<municipality>>_laser_bytraer.gdb/trekroner
# INTERIM DATA (integration pipeline)
interim_input_stems:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/input_stems.gdb
fc:
- stems_in_situ
interim_input_crowns:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/input_crowns.gdb
geo_relation_round_1:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/geo_relation/merge_round_1.gdb
fc:
- crowns_round_1
geo_relation_round_2:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/geo_relation/merge_round_2.gdb
fc:
- crowns_in_situ
- crowns_all
- tops_all
geo_relation:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/geo_relation.gdb
fc:
- crowns_in_situ
- crowns_all
- stems_in_situ
- tops_all
- crowns_not_detected
# INTERIM DATA (input attribute pipeline)
attr_input:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/input_attribute_calculation.gdb
fc:
- crowns_in_situ
- crowns_all
- stems_in_situ
description: input to attribute computation
attr_overlay:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/attributes/attr_overlay.gdb
description: attributes computed in overlay pipeline
attr_tree:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/attributes/attr_tree.gdb
description: attributes computed in tree pipeline
attr_building_distance:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/attributes/attr_building_distance.gdb
description: attributes computed in building_distance.py module
attr_cle:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/itree-support-tools/interim/attributes/attr_cle.gdb
description: attributes computed in cle.py module
# INPUT DATA (input to extrapolation pipeline)
# output from i-Tree Eco, manually cleaned and processed
# output from urban-tree-detection, manually cleaned and processed
oslo_extrapolation:
raw_trees:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/oslo/general/CSV/oslo_itree_traer_2018.csv
filepath_parquet: ${TREKRONER}/data/oslo/general/PARQUET/oslo_itree_traer_2018.parquet
raw_crowns:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/oslo/general/CSV/oslo_itree_trekroner_2021.csv
filepath_parquet: ${TREKRONER}/data/oslo/general/CSV/extrapolation/oslo_trekroner_2021.parquet
filepath_geojson: ${TREKRONER}/data/oslo/general/GEOJSON/oslo_trekroner_2021.geojson
lookup:
type: csv
filepath: ${TREKRONER}/data/lookup_tables/lookup_oslo_fields.csv
filepath_csv: ${TREKRONER}/data/lookup_tables/lookup_oslo_fields.csv
sheet_name: oslo_fields
species_summary:
type: csv, img
filepath: ${TREKRONER}/data/oslo/general/CSV/extrapolation/oslo_reference_species_summary.csv
img_path: ${TREKRONER}/data/oslo/general/CSV/extrapolation/img/oslo_species_summary_plot.png
reference:
type: csv
filepath_csv: ${TREKRONER}/data/oslo/general/CSV/extrapolation/oslo_reference_trees.csv
target:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/oslo/general/CSV/extrapolation/oslo_target_tree_crowns.csv
filepath_parquet: ${TREKRONER}/data/oslo/general/CSV/extrapolation/oslo_target_tree_crowns.parquet
model:
type: csv, img, pickle
filepath_json: ${TREKRONER}/data/oslo/general/CSV/extrapolation/model
filepath_pickle: ${TREKRONER}/data/oslo/general/CSV/extrapolation/model
filepath_img: ${TREKRONER}/data/oslo/general/CSV/extrapolation/img
output:
filepath_csv: ${TREKRONER}/data/oslo/general/CSV/extrapolation/output
filepath_geojson: ${TREKRONER}/data/oslo/general/CSV/extrapolation/output
baerum_extrapolation:
# USES OSLO REF DATA
raw_trees:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/oslo/general/CSV/oslo_registered_trees.csv
filepath_parquet: ${TREKRONER}/data/oslo/general/PARQUET/oslo_registered_trees.parquet
raw_crowns:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/baerum/general/CSV/baerum_tree_crowns.csv
filepath_parquet: ${TREKRONER}/data/baerum/general/CSV/extrapolation/baerum_target_tree_crowns.parquet
filepath_geojson: ${TREKRONER}/data/baerum/general/GEOJSON/baerum_tree_crowns.geojson
# USES OSLO SPECIES SUMMARY
species_summary:
type: csv, img
filepath: ${TREKRONER}/data/oslo/general/CSV/extrapolation/oslo_reference_species_summary.csv
img_path: ${TREKRONER}/data/oslo/general/CSV/extrapolation/img/oslo_species_summary_plot.png
reference:
type: csv
filepath_csv: ${TREKRONER}/data/oslo/general/CSV/extrapolation/oslo_reference_trees.csv
target:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/baerum/general/CSV/extrapolation/baerum_target_tree_crowns.csv
filepath_parquet: ${TREKRONER}/data/baerum/general/CSV/extrapolation/baerum_target_tree_crowns.parquet
# USES OSLO MODEL
model:
type: csv, img, pickle
filepath_json: ${TREKRONER}/data/oslo/general/CSV/extrapolation/model
filepath_pickle: ${TREKRONER}/data/oslo/general/CSV/extrapolation/model
filepath_img: ${TREKRONER}/data/oslo/general/CSV/extrapolation/img
output:
filepath_csv: ${TREKRONER}/data/baerum/general/CSV/extrapolation/output
filepath_geojson: ${TREKRONER}/data/baerum/general/CSV/extrapolation/output
bodo_extrapolation:
raw_trees:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/bodo/general/CSV/bodo_registered_trees.csv
filepath_parquet: ${TREKRONER}/data/bodo/general/PARQUET/bodo_registered_trees.parquet
raw_crowns:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/bodo/general/CSV/bodo_tree_crowns.csv
filepath_parquet: ${TREKRONER}/data/bodo/general/CSV/extrapolation/bodo_target_tree_crowns.parquet
filepath_geojson: ${TREKRONER}/data/bodo/general/GEOJSON/bodo_tree_crowns.geojson
species_summary:
type: csv, img
filepath: ${TREKRONER}/data/bodo/general/CSV/extrapolation/bodo_reference_species_summary.csv
img_path: ${TREKRONER}/data/bodo/general/CSV/extrapolation/img/bodo_species_summary_plot.png
reference:
type: csv
filepath_csv: ${TREKRONER}/data/bodo/general/CSV/extrapolation/bodo_reference_trees.csv
target:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/bodo/general/CSV/extrapolation/bodo_target_tree_crowns.csv
filepath_parquet: ${TREKRONER}/data/bodo/general/CSV/extrapolation/bodo_target_tree_crowns.parquet
model:
type: csv, img, pickle
filepath_json: ${TREKRONER}/data/bodo/general/CSV/extrapolation/model
filepath_pickle: ${TREKRONER}/data/bodo/general/CSV/extrapolation/model
filepath_img: ${TREKRONER}/data/bodo/general/CSV/extrapolation/img
output:
filepath_csv: ${TREKRONER}/data/bodo/general/CSV/extrapolation/output
filepath_geojson: ${TREKRONER}/data/bodo/general/CSV/extrapolation/output
kristiansand_extrapolation:
raw_trees:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/kristiansand/general/CSV/kristiansand_registered_trees.csv
filepath_parquet: ${TREKRONER}/data/kristiansand/general/PARQUET/kristiansand_registered_trees.parquet
raw_crowns:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/kristiansand/general/CSV/kristiansand_tree_crowns.csv
filepath_parquet: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/kristiansand_target_tree_crowns.parquet
filepath_geojson: ${TREKRONER}/data/kristiansand/general/GEOJSON/kristiansand_tree_crowns.geojson
species_summary:
type: csv, img
filepath: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/kristiansand_reference_species_summary.csv
img_path: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/img/kristiansand_species_summary_plot.png
reference:
type: csv
filepath_csv: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/kristiansand_reference_trees.csv
target:
type: csv, parquet
filepath_csv: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/kristiansand_target_tree_crowns.csv
filepath_parquet: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/kristiansand_target_tree_crowns.parquet
model:
type: csv, img, pickle
filepath_json: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/model
filepath_pickle: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/model
filepath_img: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/img
output:
filepath_csv: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/output
filepath_geojson: ${TREKRONER}/data/kristiansand/general/CSV/extrapolation/output
tree_db:
type: filegdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/general/<<municipality>>_traer/<<municipality>>_bytraer.gdb
fc:
- itree_resultater
- registrerte_traer
- registrerte_trekroner
- trekroner
- trekroner_xy
parquet_dir:
type: parquet and duckdb
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/general/PARQUET
geojson_dir:
type: geojson
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/general/GEOJSON
rule_3_30_300_dir:
type: csv
filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/general/CSV/rule_3_30_300
old_filepath: ${DATA_PATH_LOCAL}/data/<<municipality>>/urban-tree-visibility/rule_3_30_300_old
# ----------------------------
# METADATA
# ----------------------------
metadata:
filepath: path/to/metadata
identification:
title:
en: english title
no: norwegian title (bokmål)
description:
en: english title
no: norwegian title (bokmål)
keywords:
en:
- spatial data
no:
- romlige data
keywords_type: theme
terms_of_service: https://opensource.org/license/mit/
url: http://example.org
license:
name: The MIT License (MIT)
url: https://opensource.org/license/mit/
provider:
name: Organization Name
url: http://example.org
contact:
name: Lastname, Firstname
position: Position Title
address: Mailing Address
city: City
stateorprovince: Administrative Area
postalcode: Zip or Postal Code
country: Country
phone: +xx-xxx-xxx-xxxx
email: you@example.org
url: Contact URL
hours: Hours of Service
instructions: During hours of service. Off on weekends.
role: pointOfContact