Skip to content

Commit 23048f1

Browse files
authored
Updated lacuna_labels.py to include column names in existing geoparquet (plus image_date column added) and url to pull data from, citation (#156)
1 parent 634a541 commit 23048f1

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

fiboa_cli/datasets/lacuna_labels.py

+19-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
class LacunaLabelsConverter(BaseConverter):
5-
sources = "https://zenodo.org/records/11060871/files/mapped_fields_final.parquet?download=1"
5+
sources = "https://africa-field-boundary-labels.s3.us-west-2.amazonaws.com/mapped_fields_final.parquet"
66
id = "lacuna"
77
short_name = "Lacuna Labels"
88
title = "A region-wide, multi-year set of crop field boundary labels for Africa"
@@ -22,7 +22,14 @@ class LacunaLabelsConverter(BaseConverter):
2222
2323
Please refer to the [technical report](docs/report/technical-report.pdf)
2424
for more details on the methods used to develop the dataset, an analysis
25-
of label quality, and usage guidelines.
25+
of label quality, and usage guidelines, and the publication:
26+
27+
Estes, L. D., Wussah, A., Asipunu, M., Gathigi, M., Kovačič, P., Muhando, J.,
28+
Yeboah, B. V., Addai, F. K., Akakpo, E. S., Allotey, M. K., Amkoya, P., Amponsem, E.,
29+
Donkoh, K. D., Ha, N., Heltzel, E., Juma, C., Mdawida, R., Miroyo, A., Mucha, J.,
30+
Mugami, J., Mwawaza, F., Nyarko, D. A., Oduor, P., Ohemeng, K. N., Segbefia, S. I. D.,
31+
Tumbula, T., Wambua, F., Xeflide, G. H., Ye, S., Yeboah, F.(2024). A region-wide,
32+
multi-year set of crop field boundary labels for Africa. arXiv:2412.18483.
2633
2734
Data is published at https://zenodo.org/records/11060871 and can be used in accordance with
2835
[Planet’s participant license agreement for the NICFI contract](https://go.planet.com/nicfi-pla-2024).
@@ -45,13 +52,22 @@ class LacunaLabelsConverter(BaseConverter):
4552
}
4653

4754
columns = {
48-
"geometry": "geometry",
4955
"id": "id",
56+
"name": "name",
57+
"assignment_id": "assignment_id",
58+
"image_date": "image_date",
59+
"completion_time": "completion_time",
5060
"category": "category",
61+
"geometry": "geometry",
62+
5163
}
5264

5365
missing_schemas = {
5466
"properties": {
67+
"name": {"type": "string"},
5568
"category": {"type": "string"},
69+
"assignment_id": {"type": "string"},
70+
"image_date": {"type": "string"},
71+
"completion_time": {"type": "date-time"},
5672
}
5773
}

0 commit comments

Comments
 (0)